Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
87011
Rating:
(30)
Published:
2005.11.29 11:53
Updated:
2016.11.22 07:32
Ichimoku.mq4 (6.54 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

Technical Indicator Description

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

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7773

Heiken Ashi Heiken Ashi

Heiken Ashi - Custom Indicator as Candlesticks Example.

Commodity Channel Index, CCI Commodity Channel Index, CCI

Commodity Channel Index (CCI) indicator measures the deviation of the commodity price from its average statistical price.

Moving Average Convergence Divergence, MACD Moving Average Convergence Divergence, MACD

Moving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator.

Momentum Momentum

The Momentum indicator measures the amount that a security’s price has changed over a given time span.