
Topics
20 Mar 2025, 17:33
1
42
0
20 Mar 2025, 17:33
0
35
0
20 Mar 2025, 17:33
0
34
0
19 May 2024, 14:27
0
271
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