For the same instrumnet with different time frames, I assume Opens[i][GetBar(datetime)] is enough to specify Open price of data series i at datatime.
However, I found I need to specify both BarsInprogress == i and Opens[i][GetBar(datetime)] in order to pin down the value. Otherwise, the Open[i][GetBar(datetime)] changes over time if i is not primary dataseries 0.
I am not sure if that has to be the case. I think the very reason to have Opens vs Open is to specify dataseries. I might have missed something.
Any comments are welcome.
Comment