This one relates to a couple of questions, one is that i keep getting this message in the log file for my strategy:
2009-05-31 16:07:11:668 ERROR: The strategy 'SampleMultiInstrument' has called the Add() method with an invalid instrument. Either 'ES 12-08' does not exist in the Instrument Manager or the specified exchange has not been configured.
I have no idea where this is coming from or what is generating it? Are you able to point me in the correct direction?
The only adds I'm doing in my strat are below:
Add(PeriodType.Tick, 1);
Add(Bollinger(bstandev, bperiod));
It has been around since my strat creation and before i added the tick bar series so i can only assume it's related to the bollinger bands addition somehow.
My other question is that i'm having a problem running my strategy in the optimizer even though it runs no problem in backtest and also runs without a problem in live.
The error that is coming out in the log is the following:
31/05/2009 16:00 Strategy Error on calling 'OnBarUpdate' method for strategy 'RNB30MultiTimeFrame': Object reference not set to an instance of an object.
Any ideas on that one? Sorta stuck at the minute.
Thanks for any help.
Ross
Comment