MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Forget Outdated Indicators and Buy Latest Ones in MetaTrader Market
To post a new code, please log in or register

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2005.11.29 11:53
Ichimoku Kinko Hyo

Ichimoku Kinko Hyo - indicator for MetaTrader 4

| English Spanish Portuguese Russian Chinese

Views:
15215
Rating:
votes: 5
Ichimoku.mq4 (4.93 KB)view

Description:

Ichimoku Kinko Hyo Technical Indicator is predefined to characterize the market Trend, Support and Resistance Levels, and to generate signals of buying and selling. This indicator works best at weekly and daily charts.

When defining the dimension of parameters, four time intervals of different length are used. The values of individuallines composing this indicator are based on these intervals:

  • Tenkan-sen shows the average price value during the first time interval defined as the sum of maximum and minimum within this time, divided by two;

  • Kijun-sen shows the average price value during the second time interval;

  • Senkou Span A shows the middle of the distance between two previous lines shifted forwards by the value of the second time interval;

  • Senkou Span B shows the average price value during the third time interval shifted forwards by the value of the second time interval.

Chikou Span shows the closing price of the current candle shifted backwards by the value of the second time interval. The distance between the Senkou lines is hatched with another color and called "cloud". If the price is between these lines, the market should be considered as non-trend, and then the cloud margins form the support and resistance levels.

  • If the price is above the cloud, its upper line forms the first support level, and the second line forms the second support level;

  • If the price is below cloud, the lower line forms the first resistance level, and the upper one forms the second level;

  • If the Chikou Span line traverses the price chart in the bottom-up direction it is signal to buy. If the Chikou Span line traverses the price chart in the top-down direction it is signal to sell.

Kijun-sen is used as an indicator of the market movement. If the price is higher than this indicator, the prices will probably continue to increase. When the price traverses thisline the further trend changing is possible.

Another kind of using the Kijun-sen is giving signals. Signal to buy is generated when the Tenkan-sen line traverses the Kijun-sen in the bottom-up direction. Top-down direction is the signal to sell.

Tenkan-sen is used as an indicator of the market trend. If this line increases or decreases, the trend exists. When it goes horizontally, it means that the market has come intothe channel.

Image:

Technical Indicator Description

Full description of Ishimoku is available in the Technical analysis: Ichimoku Kinko Hyo

Translated from Russian by MetaQuotes Software Corp.
Original code: http://www.mql5.com/ru/code/7773