MQL4 Reference Technical Indicators iIchimoku
iIchimokuCalculates the Ichimoku Kinko Hyo indicator and returns its value.
Parameters symbol [in] Symbol name on the data of which the indicator will be calculated. NULL means the current symbol. timeframe [in] Timeframe. It can be any of ENUM_TIMEFRAMES enumeration values. 0 means the current chart timeframe. tenkan_sen [in] Tenkan Sen averaging period. kijun_sen [in] Kijun Sen averaging period. senkou_span_b [in] Senkou SpanB averaging period. mode [in] Source of data. It can be one of the Ichimoku Kinko Hyo mode enumeration (1 - MODE_TENKANSEN, 2 - MODE_KIJUNSEN, 3 - MODE_SENKOUSPANA, 4 - MODE_SENKOUSPANB, 5 - MODE_CHIKOUSPAN). shift [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago). Returned value Numerical value of the Ichimoku Kinko Hyo indicator. Example:
|