Does I need to do some special connection first ???
Below is the code i Used, but it alwasy fail and give me error :
NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsTy pe barsType = Bars.BarsSeries.BarsType as
NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsTy pe;
Print(" barsType.Volumes[CurrentBar].BarDelta = " + barsType.Volumes[CurrentBar].BarDelta);
| 24/3/2021 11:40:01 AM | Default | Indicator 'tempo': Error on calling 'OnBarUpdate' method on bar 10: Object reference not set to an instance of an object. |

Comment