# MACD: The Moving Average Convergence Divergence Explained

This post contains affiliate links. If you use these links to register at one of the trusted brokers, I may earn a commission. This helps me to create more free content for you. Thanks!

The Moving Average Convergence Divergence (MACD) is a popular technical analysis indicator that was developed by Gerald Appel in the late 1970s. It is a versatile indicator that can be used to identify trend changes, momentum shifts, and potential buy/sell signals. In this post, we’ll discuss the basics of the MACD and how it can be used by forex traders for more effective trading.

## What is the MACD?

The MACD is a trend-following momentum indicator that is based on the relationship between two moving averages. The indicator is composed of three components:

1. The MACD line – This line is the difference between two exponential moving averages (EMAs) usually 12-period and 26-period moving averages.
2. The signal line – This line is a 9-period EMA of the MACD line and is used as a signal to buy or sell.
3. The histogram – The histogram is the difference between the MACD line and signal line.

The MACD is plotted on a chart as a single line and a histogram. The MACD line can be used to identify trend changes and potential buy/sell signals. The histogram can be used to identify momentum shifts.

## How to Calculate MACD

To calculate the MACD, follow these steps:

1. Calculate the 12-period exponential moving average (EMA) of the closing price.
2. Calculate the 26-period EMA of the closing price
3. Subtract the 26-period EMA from the 12-period EMA.
4. Calculate the 9-period EMA of the MACD line (signal line)
5. Plot the MACD line, signal line, and histogram on the chart.

## How to Use MACD in Forex Trading

The MACD indicator can be used in several ways to aid forex trading. Here are a few ways:

### Trend Identification

The MACD is great at identifying trends. When the MACD line crosses above the signal line, it is a potential bullish signal, while when the MACD line crosses below the signal line, it is a potential bearish signal. This can signal the beginning of a new trend or a trend reversal.

### Momentum

The histogram of the MACD can also be used to identify momentum. Large histograms indicate strong momentum, while small histograms indicate weak momentum. If the price is in an uptrend and the histogram starts to decrease in size, it can mean that the upward momentum is starting to wane, and a potential trend reversal may be imminent.

### Divergence

Divergence between price action and MACD can signal a potential trend reversal. If the price is in a downtrend but the MACD is making higher lows, it could be a bullish signal. If the price is in an uptrend but the MACD is making lower highs, it could be a bearish signal.

### Crossover

Crossover signals are one of the most popular ways to use the MACD in forex trading. When the MACD line crosses above the signal line, it is a potential buy signal. When the MACD line crosses below the signal line, it is a potential sell signal.

1. Easy to use
2. Can be used in several ways to aid forex trading.
3. Great at identifying trends and momentum.