There are several ways of representing the **MACD**. Due to its popularity, I will dedicate the article to the representation of MACD on Metatrader platform.

**Moving Average Convergence Divergence**or MACD, is one of the most widely known and used indicators in technical analysis. It is used both to indicate the market trend and the momentum of a movement. In summary, the MACD is an oscillator-type indicator that shows the distance between a fast exponential moving average (EMA) and a slow exponential moving average. Or what is the same, it shows the convergence / divergence of two exponential moving averages.

**MACD = EMA(fast) – EMA(slow)**

It is represented as a histogram that is distributed over a central line at 0 and a line called the Signal Line. In the most used configuration, which comes by default on all trading platforms, the fast EMA is of 12 periods, the slow EMA is of 26 periods and 9 periods for the calculation of the Signal Line.

**MACD above 0:**In this case the histogram has positive values, indicating that the fast EMA is greater than the slow EMA, if we remember the lessons of moving averages, this indicates an uptrend. Let´s suppose a value of 0.0030 for the MACD: this would mean that between fast and slow EMA there is a difference of 30 points, for example, if we have the GBP/USD with a fast EMA of 1.6030 and a slow EMA of 1.6000.

**MACD below 0:**If the fast EMA is below the slow EMA, the difference between both EMA will be negative and as a result the MACD will produce values under 0. As you recall from the lessons about moving averages, a fast EMA under a slow EMA indicates a downtrend.

**MACD Crossing Level 0:**If the MACD crosses the Level 0 from bottom up, this is an indication that the fast EMA has changed from being less than the slow EMA to be greater, that is, it is a sign of the crossing of moving averages and the change from downtrend to uptrend. Similarly, if the MACD crosses the 0 level from top to bottom indicates the crossing of the fast EMA EMA slowly from top to bottom, this is the reversal of upward to downward.

With what has been said you may think: Why do I want the MACD if the intersection of two EMAs and the distance between them can be seen without a new indicator?

For the answer I present the other component of the MACD, the **signal line**. This line is a simple moving average calculated on the difference of the two EMA, in other words, it is a moving average of the histogram value. As any moving average, it shows the movement of the histogram in a more smoothed way and together with the histogram this is one of the common ways of taking MACD signals: the crossing of the histogram and the signal line. Other signals generated by the MACD and commonly used by the traders is the MACD/Price divergence. Then we will study both types of signals in more detail.

### Crossing of the MACD with the signal line

- The intersection is generated in the direction in which the histogram is greater than the signal line. This crossing is an indication of a rising market. To catch a more extended market movement is ideal to take this signal when it occurs under the Level 0 .
- The intersection is generated in the direction in which the histogram is smaller than the signal line. This cross gives a possible sell signal. Just as the previous case, to catch a more extended market movement the trader should ideally take this signal when it occurs above of the Level 0.

The following image shows an ideal scenario with the signals of crosses of the MACD with the signal line:

### MACD/Price divergence

The divergence between the MACD and the price on the chart is a fairly reliable signal and very commonly used by a lot of traders.

**MACD Bullish Divergence:** This divergence will give us a buy signal and is produced when there are two minimum in the price, the second lower than the first, while the two corresponding minimum in the MACD are in ascending order, in other words, the second minimum in the MACD is greater than the first. Although the instrument´s price continues declining, which is visible with minimums that are decreasing, the fact that the minimum for the MACD are increasing indicates that the momentum is approaching to an upward trend.

And since a picture is worth a thousand words, here’s an image with a bullish divergence:

The momentum is changing and we can see how the price make two consecutive minimum, the second lower than the first. The minimum for the MACD are rising. This divergence indicates a change from bearish to bullish trend.

**MACD bearish divergence:** Analogous to the bullish divergence, MACD / Price divergence will give a sell signal. This signal appears when in the price of the analyzed instrument there are two peaks (highs), the second higher than the first, while the correspondent peaks in the MACD are decreasing (the second peak is lower than the first).

You can access a modified indicator of divergences between the price and the MACD for Metatrader 4 at the following link: MACD Divergence Indicator for MT4