Stop-Loss based on take-profit value
1件の返信
hello ,
i want the stop-loss to be 3 times less than the take-profit , but the take profit is not a number eg.15 , its a value of indicator , so it differs from time to time , how i can make it relative to the take profit ,
stoploss = take profit / 3
0
こんにちは、,
you simply need to calculate price distance from your indicator BEFORE the order is sent.
Indi +/- entry (close/open) price
Then use “ConvertPriceToPips(priceDiff)” and save into a distancePips variable. Then use a variable = round ( distancePips / 3) to get pips for SL
0
1件の返信を表示中 - 1 - 1件目 (全1件中)