I want to go long the mini-Dow if the Dow Cash closes down today compared with the previous day. Easy - Closes[1][0] < Closes[1][1]. The mini-Dow is the main instrument in the strategy.
If I base the strategy on YM minute bars and wait for after 16:00 EST, the Dow is as of the previous day since Ninja assumes that is the data I want to look at. Obviously, I can't access Closes[1][-1] as the array will not hold that data.
Would this work if I based the strategy on daily DJIA and Add(ed) 1-minute YM bars or would it look to tomorrow ?
Alternatively, could I cheat and create 1-minute DJIA data which was actually the day close -
20080228 160000;12689.28;12713.99;12463.32;12582.18;3938580
20080229 160000;12579.58;12579.58;12210.3;12266.39;4426730
Thanks,
Eric

Comment