I am trying to use ask/bid volume in my indicator.
By adding secondary data series like;
(Primary series is Last)
AddDataSeries(null, BarsPeriodType.Tick, 1, MarketDataType.Ask); AddDataSeries(null, BarsPeriodType.Tick, 1, MarketDataType.Bid);
Plot0[0] = Volumes[1][0] Plot1[0] = Volumes[2][0]
So i tried;
Plot0[0] = GetCurrentAskVolume() Plot1[0] = GetCurrentBidVolume()
Can anyone help me access both volumes? Preferably without changing the primary input series from Last.
Thankyou
Edit: Volumes[1][0] not Volume[1][0]...
Comment