My strategy is using CalculateOnBarClose = true. Two timeframes are used: 1 Minute and 30 Minute. I refer to 1 minute timeframe as Closes[Min1][0] and to 30 minute timeframe as Closes[Min30][0].
In NT6, when the time is on the half hour (9:30, 10:00, 10:30, etc) and BarInProgress = 1Min, Closes[Min30][0] refers to the close 30 minutes ago. For example, if it's 10:00 AM and I am in the 1Min timeframe, then Closes[Min30][0] refers to the close price at 9:30 AM.
In NT7, when the time is on the half hour and BarInProgress = 1Min, Closes[Min30][0] refers to the most recent close price. For example, if it's 10:00 AM and I am in the 1min timeframe, then Closes[Min30][0] refers to the close price at 10:00 AM.
When the time is NOT on the half hour, then Closes[Min30][0] matches between NT7 and NT6.5.
Is this by design or is it a bug? Which way is correct?
Thanks.
Evgueni

Comment