when using volumetric dataseries with "NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsT ype barsType = BarsArray[1].BarsType as NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsTy pe;" how is the correct logic then please
a.) barsType.Volumes[CurrentBar].GetBidVolumeForPrice(Low[0])...
or
b.) barsType.Volumes[CurrentBar].GetBidVolumeForPrice(Lows[0][0])
As we do assign in first line to barsType I assume it can be both(?). Because if we would have a 2nd volumetric dataseries then it would be
a.) barsType2.Volumes[CurrentBar].GetBidVolumeForPrice(Low[0])...
or
b.) barsType2.Volumes[CurrentBar].GetBidVolumeForPrice(Lows[0][0])
Yes/No?
I´m experiencing error messages concering onbarupdate. so I want to exclude this here
Thank you!
Tony
Comment