I am implementing AddDataSeries as follows in the State==State.Configure of the OnChangeStateEvent:
BarsPeriodType bt = this.Bars.BarsPeriod.BarsPeriodType;
AddDataSeries(bt, _DoubleBarPeriod);
When I use the indicator with my custom bar type, I receive the following error -
Comment