AddRenko(this.Instrument.FullName, 3, MarketDataType.Last);
When running optimizer in the Strategy Analyzer the follow error occurs:
"Error on calling 'OnStateChange' method: Object reference not set to an instance of an object."
It appears that "this.Instrument.FullName" only works during the first iteration in optimizer but is null after. When hard coding the contract in place it works. Is this a bug or expected?
Comment