I have the following in my strategy:
BarsInProgress = 0 --- Index (do not submit orders against)
BarsInProgress = 1 --- Instrument 1 Ticks (submit orders here)
BarsInProgress = 2 --- Instrument 1 Minutes
BarsInProgress = 3 --- Instrument 2 Ticks (submit orders here)
BarsInProgress = 4 --- Instrument 2 Minutes
BarsInProgress = 5 --- Instrument 3 Ticks (submit orders here)
BarsInProgress = 6 --- Instrument 3 Minutes
How would I reference the Positions Array for Instruments 1, 2, and 3?
Is it:
Positions[0] -> BarsInProgress = 0
Positions[1] -> BarsInProgress = 1
Positions[2] -> BarsInProgress = 3
Positions[3] -> BarsInProgress = 5
Or is it:
Positions[0] -> BarsInProgress = 0
Positions[1] -> BarsInProgress = 1
Positions[3] -> BarsInProgress = 3
Positions[5] -> BarsInProgress = 5
Thanks,
kc

Comment