I've created a simple strategy which just retrieves and prints the prior close value for each day. This seems to be working fine, except for the first day of the date range selected in Strategy Analyzer, where the previous close is returned as 0.
I've tried adding in the same instrument as an additional data series, using a type of 'day' and a value of 5, thinking that this might load that previous session data, but this doesn't appear to have worked. Is there any way to obtain this, or do I just have to exclude any calculations on the first day of the test range?
Thanks

Comment