Im using a dailyCheck bool to set the opening price when i receive the first bar of the day, but when looking through backtests i found that on the morning of july 28th, 2023, instead of it setting to the current candles opening price, it sets it to the closing price of july 27th. I have checked that this works on roughly 60 other days and it seems to be completely fine. The only difference that ive noticed is that there was a gap up from 452.79 (which its returning) to 455.85. What is causing this?