I have the code below, but the prints for the prints for the second series (5 min) are not showing in the output window and I don't understand why?
else if (State == State.Configure)
{
AddDataSeries(Data.BarsPeriodType.Tick, 1);
AddDataSeries(Data.BarsPeriodType.Minute, 5);
}
...
protected override void OnBarUpdate()
{
// Make sure this strategy does not execute against historical data
if (State == State.Historical)
return;
if (!strategyStart)
{
if(PrintOutput)
{
if (BarsInProgress == 0)
Print ("Strategy start 1 min bar: " + CurrentBar + " - " + Time[0]);
if (BarsInProgress == 2)
Print ("Strategy start 5 min bar: " + CurrentBar + " - " + Time[0]);
}
strategyStart = true;
}

Comment