I developed a strategy that is using an indicator that is also developed by myself.
Now trying to Backtest the strategy on StrategyAnalyzer is giving me some strange behaviour. I wanted precise execution and I enabled "TickReplay".
My TakeProfit should be executed on 134.75 - but it is not. Actually it is executed on the close of the next bar after the TakeProfit price level is exceeded.
I also added some logs to the Output to observe the exact calculation results and values of Open, Close and my Indicator values:
My Indicator is working on Calculate.OnBarClose but I think that this is no argument for the strange behaviour.
I also tried to change different calculation modes on my strategy - Calculate.OnBarClose and Calculate.OnEachTick but this was not making a difference.
Any ideas to help?
Thank you in advance

Comment