I am backtesting a strategy running on a historical daily chart.
In OnBarUpdate(), I want to perform calculations using the open of the next day.
Is this possible and what would be a good way to achieve this?
Do I need to prepare a new Series<double> in State.DataLoaded that copies the current data series, but shifts the index by one?
It would be great if someone could give me a hint.
Thanks a lot!
Comment