I use this code to get X for line drawing inside current bar. Also I added 1 tick Bars object for tick by tick processing. So I use indicator.BarsArray[0] to get x coord.
x_a = indicator.ChartControl.GetXByBarIdx(indicator.BarsArray[0], p.BarIdx) - indicator.ChartControl.BarWidth;
Comment