im useing the code:
protected override void Initialize()
{
Add("$AUDUSD", PeriodType.Minute, 1); //1
Add("$CADUSD", PeriodType.Minute, 1); //2
}
protected override void OnBarUpdate()
{
if (BarsInProgress == 0){Print("0");
if (BarsInProgress == 1{Print("1");
if (BarsInProgress == 2){Print("2");
}
nothing happen...
tnx for help
Comment