Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input double trail_pips = 200;
- // トレーリングストップ設定
- double profit = MyOrderProfitPips(0) - trail_pips;
- double sl = MyOrderStopLoss(0);
- if(sl == 0 || profit > MyOrderShiftPips(sl, 0)) MyOrderModify(0, MyOrderShiftPrice(profit, 0), 0);
Add Comment
Please, Sign In to add comment