CloseDiff.Set( Closes[0][0]*2-Closes[1][0]*1); (time frames are the same)
the problem is, strategy is triggered by instrument #0 by end of bar but seems like end of bar of instrument #1 has not been triggered, ie, the calculation was completely off in real-time
when I load the strategy again (using Print statement so i can know what is going on step by step), there wont be any problem as all the bars were built properly
how to prevent the data/bar discrepancy in real time? Thanks
Comment