15 minute cycle query about 5 minute cci value

 

My ea have the code about this

  double cci1=iCCI(Symbol(),5,cciperiod,0,1);
  double cci2=iCCI(Symbol(),5,cciperiod,0,2);

Now ,My ea run in 15minute period,The value I tracked is different from the value I saw when loading CCI indicators,Why

 
zdj229: ,The value I tracked is different from the value I saw when loading CCI indicators,Why

The code is reading the M5 chart, not the M15.

 
William Roeder #:

The code is reading the M5 chart, not the M15.

If i read the data in 15 minute ,What shall I do?