I backtest a strategy, based on previous day High / Low breakthrough. I close the position at the end of the day. So it is multi-time frame strategy with 15 min bars and 1 day bars, CalculateOnBarClose is true.
Actually I use ExitOnClose to close the position.
As I understand, ExitOnClose should be executed at the end of session. Sometimes session is from 17:00 to 17:00 on the next day, sometimes it is from 15:30 to 15:15 on the next day. But I noticed that ExitOnClose usually is executed on the first bar on the next day (00:00:00 ?). I use instrument session template settings, but it seems that session template with backtest is different from instrument's session template. Is it true?
Next, I noticed a trade with strange ExitOnClose, I attach screenshots. I tested another instrument with the same strategy, 473 trades. ExitOnClose was before Enter with 3,7% of trades. What could be the reason?

Comment