I am trying to get the barsAgo using syntax below, but when my Panel 1 chart is BarsPeriodType.Tick, it is not getting the correct BarsAgo. How do I get the BarsAgo for BarsPeriodType.Tick? I have multiple DataSeries in the Chart.
convertedBarsAgo = CurrentBar - Bars.GetBar(convertedTime);
Thanks.

Comment