Timeframe and iIchimoku

 

Hi everybody!


I've got a problem , when I try to see the difference between Buy1_current and Buy2_5mn, I've got the same value while the second indicator has a PERIOD_M5 !

Is it normal?

   double Buy1_current    = iIchimoku(NULL, 0, 9, 26, 52, MODE_CHIKOUSPAN, 26);
   double Buy2_5mn       = iIchimoku(NULL, PERIOD_M5 , 9, 26, 52, MODE_CHIKOUSPAN, 26);

  


Alert(Buy1_current  + "      " + Buy2_5mn);


Best regards

 
What is the current time-frame?
 

Hi!


PERIOD_M1

 

Oh hang on,

chicouspan is just the current price shifted back 26, so any timeframe will give the same value for index 26 as the current price is the same in all time-frames

 

ok


Thank you for the quick reply!!
Reason: