Timeframe and iIchimoku

Back to topics list To post a new topic, please log in or register
avatar
39
natsirte 2016.04.12 13:41
 



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

avatar
Moderator
3406
GumRai 2016.04.12 13:46 #
 
What is the current time-frame?
avatar
39
natsirte 2016.04.12 13:53 #
 


Hi!


PERIOD_M1

avatar
Moderator
3406
GumRai 2016.04.12 13:58 #
 

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

avatar
39
natsirte 2016.04.12 13:59 #
 


ok


Thank you for the quick reply!!
Back to topics list  

To add comments, please log in or register