Above screenshot to the left is a strategy applied to historical data. Data Series to the right.( Symbol is BTC USD )
The Strategy's Order Fill Resolution is set to high (ticks). Calculate: On bar close
Market replay however does close later (as intended), 30 secs prior to the session's end.
The way Exit on session close happens during backtests using Line Break Bars, will often cause positions to be closed at convenient points in time, as seen in the first screenshot.
Results were significantly better with various different session templates compared to having Exit on session close disabled.
Comment