I've been reading up on the different fill options and I'm still having some problems getting my Backtest to match what I'm seeing in Market Replay. My strategy uses Calculate.OnEachtick and also IsFirstTickOfBar to set the triggers for entry. I believe I'm having issues with intrabar granularity fills as the backtest is often 1 bar off.
If you look at my attached results, entries 1 and 3 are one bar off while entry 2 is correct.
For the market replay, all 3 entries are correct.
According to the help, if I set the Fill Resolution to High, 1 Tick, I would have intrabar fill logic but it looks like that's not working.
What's my next step to get the backtest working properly?
Comment