Download MetaTrader 5
To add comments, please log in or register
Interested in social trading? Read the article!
natsirte
302
natsirte 2016.04.12 11: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

Keith Watford
Moderator
7955
Keith Watford 2016.04.12 11:46  
What is the current time-frame?
natsirte
302
natsirte 2016.04.12 11:53  

Hi!


PERIOD_M1

Keith Watford
Moderator
7955
Keith Watford 2016.04.12 11: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

natsirte
302
natsirte 2016.04.12 11:59  

ok


Thank you for the quick reply!!
/
To add comments, please log in or register