Hi my name is Michael and I am trying to backtest a new Forex Strategy.
I am currently stuck with my Strat on the hour chart on the GBP/JPY pair.
I have a fixed Stop loss at 1.5 Atr after entry.
When my first Take profit target at 1.5 Atr is hit, it should set my Stop loss to breakeven and activate my trailing Stop loss.
For my Trailing Stop loss it looks back 7 candles and stops when the highest/lowest (long/short) close is 2 atr apart from the current price.
My take profit target is detected by comparing my strategy.position_size with my entry position size.
I can show you my full script if needed.
I would aprreciate your help and if you want to contact me directly, you can send me an email to: tonkich.michael@gmail.com
Greetings Germany