I can pull up index charts, and I can add other instruments to my strategy, but when I try to Add() an index the strategy initializes but OnBarUpdate never executes. I've tried both IB and IQFeed as datasources (both with correct mapping), but neither works. What should I be doing?
protected override void Initialize()
{
Add("DJIA", PeriodType.Minute, 1); // 1
Add("YM 06-08", PeriodType.Minute, 1); // 2
CalculateOnBarClose = false;
Print("Initialized");
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
Print("Bar Update");
}
Thanks...
Comment