Storing the days High:
ESHigh = CurrentDayOHL(BarsArray[1]).CurrentHigh[0];
ESTick = Closes[1][0];
Comparing it to the Current BarsArray Close- OnClose=False
if (ESTick > ESHigh)
ESNewHigh = true;
if (ESTick < ESLow)
ESNewLow = true;
This does not work because the ESHigh value updates before the condition is tested even though the conditional statement is above the Storing of the High .
Any Suggestions greatly appreciated been killing my self trying to find a solution.

Comment