I call ChartControl.GetXByTime() in an indicator. When the indicator is running on a chart with live data, the function call returns a negative value. I have the indicator calculated to update tick by tick (CalculateOnBarClose = false) and I use an index value of 1 to look one bar back.
Has anyone seen this behavior and does anyone know of a fix?
Thanks,
Gordon
Comment