I am modifying the CurrentOHL indicator to show additional information. However, the indicator does not recognize the 2 session day. I need the calculations to start from scratch when the new session begins.
I assume that this is the line that needs to be changed:
if (currentDate != Bars.GetTradingDayFromLocal(Time[0]) || currentOpen == double.MinValue)
I need it to look for a session change, not a date change.
Thanks
Comment