I have two bar series on my chart, 1 minute(primary) and 3 minute.
I submit order using:
EnterLongLimit(1, false, ...).
However, the order is canceled one minute later. (I was expecting it would be canceled on close of a 3 minute bar since I use '1' for barsInProgress).
What is the best way to have my order canceled on close of the 3 minute bar?
Thanks.

Comment