protectedoverridevoid Initialize()
{
CalculateOnBarClose = false;
Add(PeriodType.Minute, 1);
Add(PeriodType.Minute, 5);
Add(PeriodType.Minute, 30);
}
now i want to check the CCI value at the 30 minute timeframe.
switch (BarsInProgress) {
case1: // 1 MINUTE BAR
break;
case2: // 5 MINUTE BAR
break;
case3: // 30 MINUTE BAR
// if the prev bar is HH7 then start looking for trades
if((Position.MarketPosition == MarketPosition.Flat) && ( CCI(14)[1]>-200))
{
// we got a situation here. lets test it out.
}
how do i know that the CCI 14 value is calculated on 30 minute timeframe?

Comment