I have in my indicator, with the line :
AddDataSeries(Instrument.FullName, new BarsPeriod { BarsPeriodType = BarsPeriodType.Minute, Value = 1 }, 1800,"CME US Index Futures ETH BGW EOD 315 (1)", false);
Would this cause the error :
Indicator 'PD VA__Up': Error on calling 'OnStateChange' method: Object reference not set to an instance of an object. ?
I'm trying to avoid having to re code 20 or 30 indicators every Rollover.
Other than the error message, the indicator seems to load the 1 minute bars and function as expected, is there an alternative to rewriting at every Rollover ? What's the impact of leaving as is ?
Thanks,
Bruce
Comment