You would use the appropriate BarsInProgress index for each data series that is Volumetric. The primary could be used as BarsArray[0].BarsType or Bars.BarsSeries.BarsType, and each additional volumetric data series would be BarsArray[X] where X is the BarsInProgress index of that data series.
When using the data access methods, you will need to use bar indexes that are associated with that particular data series. For example:
NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsType barsType2 = BarsArray[2].BarsType as NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsType; Print(barsType2.Volumes[CurrentBars[2]].GetDeltaForPrice(Closes[2][0]));
Please let us know if you have any additional questions.
Comment