Let's say I wanted to to this right now (10pm on Friday 25th Nov 2022), and include the data from today (11/25/22) so I'm lined up ready for Monday morning. Using OnBarClose, I understand that todays bar (even though I can see data on my chart for today 11/25/22) isn't available to the backtest until it is closed by the next days bar opening on Monday.
If I do OnPriceChange, then presumably my bars might get messed up if the OHLC is the same in consecutive days (maybe trivial), but am I correct in thinking that even if the price changed today vs yesterday (11/25 vs 11/23, skipping thanksgiving) I still won't get Friday's Daily bar formed until Monday morning?
If so, is there any way of achieving the desired goal outlined above of being able to do evening prep that includes todays data within it? (I can't add an additional minute data series because running over 180 days would take too long).
Many thanks in advance
ChainsawDR
Comment