CurrentDayOHL price is not reflecting the current price. Current price is 4641.75, but CurrentDayOHL open, close price is at 4605.
closeOrg[0] = ((CurrentDayOHL().CurrentOpen[0] + Close[0] + CurrentDayOHL().CurrentLow[0] + CurrentDayOHL().CurrentHigh[0])/4);
How do i get the real time dataSeries from chart and pass it to the indicator?
Thank you

Comment