I made a simple strategy consisting of one Print() statement. That's it.
When I run the strategy on the primary series, it works fine.
When I try to Add() a secondary series, I get nothing. OnBarUpdate() doesn't appear to execute at all. Here is the code:
protected override void Initialize() {
Add(PeriodType.Second, 20);
CalculateOnBarClose = true;
}
protected override void OnBarUpdate() {
Print(CurrentBar.ToString()+" "+BarsInProgress.ToString());
}
-Alex

Comment