It show OHL values from 16:30 (GMT +2) till now. But GLOBEX is working ~24h.
I need OHL prices from start till now. It start working at 01:00AM(GMT+2)!
How can I get real OHL values from 01:00AM (GMT+2) till Now?
protected override void OnBarUpdate()
{
if(!Historical)
{
double high = CurrentDayOHL().CurrentHigh[0];
double low = CurrentDayOHL().CurrentLow[0];
double open = CurrentDayOHL().CurrentOpen[0];
Print(String.Format("low {0} high {1} open {2} BID {3} ASK {4} ", low, high, open, GetCurrentBid(), GetCurrentAsk()));
}
}

Comment