The attached strategy(TurtleSystem1OnPriceChange.zip) uses the 20 period Donchian channel indicator (a built-in indicator) to go long or short. It's always in the market, and flips long or short.
I'm having an issue with unrealistic simulated fills and want to understand why this is happening in my backtest.
Settings:
Notice that the fills are regularly happening at the open of each candle (at the red arrows) whereas the expected fill would be around the red circle, where the donchian channel has been touched.
other examples below:
These fills are clearly unrealistic.
Below is the same strategy when forward tested on live data.The fills look correct here.
What could be causing this? I've tried calcing on each tick and on price change, there is no difference.
thanks in advance.
Comment