I have an indicator that throws a NullReferenceException from Populate() when trying to access the "Bars" property. This occurs when trying to Load Data in the NeuroLab extension. The indicator plots when dropped on a chart.
So, my question is when is the "Bars" property of IndicatorBase set and by whom?
So, my question is when is the "Bars" property of IndicatorBase set and by whom?
Rename
Bars is an undocumented property for IndicatorBase, it's assigned by the charting system and used internally to keep track of the original BarHistory for purposes of generating Companion Indicators.
If you make the first parameter of your Indicator a BarHistory then you can access that BarHistory "source" from within NeuroLab.
If you make the first parameter of your Indicator a BarHistory then you can access that BarHistory "source" from within NeuroLab.
Your Response
Post
Edit Post
Login is required