I was fine for a while when testing 1 day in market replay, but when I change the test to multiple days to see how things play out.. === FAILURE at some point.
latest NT7.xxxxxx.3, windows vista x32 laptop..
Basically, I'm chugging along, editing, retesting, hammering away at market replay, testing and retesting code, and then BAM..multi series strategy on ES 03-11 chart.
I get slammed with OnBarUpdate failure error.. you are accessing invalid bars error.. which is total bull. it's 9:55am and Closes[TRIN][1] is not an error on a 3 minute chart.
restart ninja trader..and the code works, since the timeline is working again.
I'm working under basic assumptions that this stuff should work when :
1) If I restart my replay timeline, the strategy resets. I see that confirmation in the output window.
2) If I 'continue the timeline', I uncheck and recheck the strategy in the command center. That shows the reset in the output window, and my new print statements are engaged.
if (Historical) return; if (BarsInProgress != 0 ) return; if ( ToTime(Time[0]) >= ToTime( 9, 30, 00) && ToTime(Time[0]) <= ToTime( 15, 57, 00))
been hacking away at this for 6 hours.. time for bed..
Comment