and i have attached error in screenshot please guide me
if cpoc and ppoc should return with some numeric value that what i was looking for like price of POC
// Access Volumetric bars
VolumetricBarsType volumetricBars = BarsArray[1] as VolumetricBarsType;
if (volumetricBars == null)
return;
double Cpoc = volumetricBars.GetPointOfControl(CurrentBar);
double Ppoc = volumetricBars.GetPointOfControl(CurrentBar[1]);

Comment