RFE: Please make the historical bar behavior be the same in both RT and historical case.
Now for the bug: please see the attached picture, where I draw a black horizontal line at the High[0] and Low[0] of the daily bars using
DrawLine(CurrentBar.ToString() + "High", 0, High[0], 13, High[0], Color.Black)
for example. Do you notice that the High[0] and Low[0] are actually drawn on the *previous* day, starting at the closing 30 minutes of the *previous* day? It would seem that when testing with historical data, the day bar is decided at the close of previous day when 30 minute bar is the primary bar. Aside from violating causality (causing my strategy to be fantastically successful against historical data), this behavior is different than your documentation.
Can you please point out my misunderstanding?
-Henry

Comment