Add(PeriodType.Day, 1);
during Initialize(). Only problem is, I no longer get any calls to OnBarUpdate! When I remove this call, OnBarUpdate() is invoked many times. I'm guessing that Ninja is looking to accumulate some number of daily bars before it will send any OnBarUpdate events. When running a backtest, I set the number of bars required to 1 and even 0, but this isn't helping. I'm connected to IQFeed so if it needs more data, Ninja can get it, but it doesn't even seem to try. I ran the backtest starting an extra day early so that the daily series could build up the extra data, but even this didn't help.
What am I doing wrong? How do I work around this?
thanks

Comment