if (Times[0][0].TimeOfDay >= new TimeSpan(08, 30, 00) && Times[0][0].TimeOfDay <= new TimeSpan(17,00, 00))
{
RthOpen[0] = CurrentDayOHL1.CurrentOpen[0];
RthHigh[0] = CurrentDayOHL1.CurrentHigh[0];
RthLow[0] = CurrentDayOHL1.CurrentLow[0];
}
It should give me Open plot value of 0830, but it does not. It gives me the correct High and Low plot values. I did prints to better understand the behavior:
Print(String.Format("Time[0]: {0} CurrentDayOHL1.CurrentOpen[0]: {1} CurrentDayOHL1.CurrentHigh[0]: {2}, CurrentDayOHL1.CurrentLow[0]: {3}",
Time[0], CurrentDayOHL1.CurrentOpen[0], CurrentDayOHL1.CurrentHigh[0], CurrentDayOHL1.CurrentLow[0] ));
But I didn't see anything out of the ordinary. Is there another check I must do in order to plot the correct open?
Thanks.

Comment