
Topics
19 May 2024, 14:27
0
253
0
Replies
arnyfesto1
21 Feb 2025, 09:12
( Updated at: 28 Feb 2025, 09:12 )
Note: Order's stoploss and takeprofit are only in Pips.
if you want Bars.ClosePrices.Last(3) as StopLoss you need to enter a trade without SL and TP, Then calculate (Position.EntryPrice - Bars.ClosePrices.Last(3)) / Symbol.PipSize and ModifyPosition(position.Buy, SL, TP, ProtectionType.Relative)
@arnyfesto1
arnyfesto1
21 Feb 2025, 09:12 ( Updated at: 28 Feb 2025, 09:12 )
Note: Order's stoploss and takeprofit are only in Pips.
if you want Bars.ClosePrices.Last(3) as StopLoss you need to enter a trade without SL and TP, Then calculate (Position.EntryPrice - Bars.ClosePrices.Last(3)) / Symbol.PipSize and ModifyPosition(position.Buy, SL, TP, ProtectionType.Relative)
@arnyfesto1