More importantly I'm noticing different entry behavior on historic data than on live data. On the live side it's doing what it's supposed to be doing, which is enter immediately at the open of my setup candle (the one that's providing the entry trigger). It does not wait for the close of that candle.
On historic data however it waits out the setup candle and then enters at the open of the next candle - as if I had it set 'calculate on bar close' to true. I can understand how that could be in certain scenarios if there are complex entry rules. However, the setup candle (0) in my case checks some rules involving the two prior candles (1 and 2) and then is supposed to enter immediately. And that's what it does on the live side. But not with the historic data - there it waits until the current candle has expired.
I have been working with NT for years but never encountered that as my strategies were normally running on closed candles. I guess I could simulate the right behavior by having the entry be done one candle earlier at its very end. But that then would change the live behavior.

I'm in a bit in a pinch here - what's the best way to approach this? I would love to backtest this strategy but right now the historic entries are all wrong. As a sidenote - once the live data took a proper entry it stays in NinjaTrader as a correct entry. That's the upside but it doesn't help me with symbols I have not run live against this strategy
Hope all this makes sense. Any input would be much appreciated.

Comment