![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, can someone advise me how to take the values of the leading Kumo in Ichimoku?
I can take the current values but I don't know how to take the values that are shifted 22 periods in the future.
Look at this:
double SSA=iIchimoku(NULL, 0, 7, 22, 44, MODE_SENKOUSPANA, 0);
double SSB=iIchimoku(NULL, 0, 7, 22, 44, MODE_SENKOUSPANB, 0);
The last "0" controls the shift. I can take values of the 22 period back in the past from the current period if I put "22" but nothing happens when I try to put "-22" to indicate that I want a reading from the opposite direction. It seems that despite that the Ichimoku draws on the chart the Senkou Span A and Senkou Span B shifted 22 periods ahead from the current price action, the "shift" value doesn't reflect this shift. Any help?