In the Initialize region I have
Add(PeriodType.Minute,720); // 720 MINUTES=12 HOURS
Add(PeriodType.Day,1);
Neither of the two following statements in the Onbarsupdate region, intended to prohibit entry to a block of code, has any effect.
if(BarsPeriods[0].Id == PeriodType.Day)
if(BarsPeriods[1].Id == PeriodType.Minute)
any thoughts or suggestions will be appreciated
Comment