I would appreciate advice on how to accomplish the following in a strategy for backtesting....
1) EnterLongLimit @ entryPrice (lets say 100$)
2) SetStopLoss @ stopLossPrice (lets say -10% which is 90$)
3) define a trailStopPrice with trigger : trigger=20% (120$) and new stopLossPrice=15% (115$)
when the price hit (in real time - not in the end of the bar !!!) 120$ then the stopLossPrice will immediately update to 115$.
Thanks !
Comment