The MACD indicator combines trend direction and momentum into a single tool. This lesson covers how it is calculated, how to read its signals, and how to use it alongside the Relative Strength Index (RSI) and Bollinger Bands.
MACD Indicator
What Is the MACD Indicator (Moving Average Convergence Divergence)?
MACD is a trend-following momentum indicator that shows the strength and direction of a trend. Developed by Gerald Appel in the late 1970s, it consists of three components:
| Component | Description |
|---|---|
| MACD Line | Difference between the 26-day and 12-day Exponential Moving Averages (EMAs) |
| Signal Line | A 9-day EMA of the MACD line, used to generate trading signals |
| Histogram | Distance between the MACD line and signal line; visualises momentum shifts |
How to Calculate MACD
Knowing how MACD is calculated improves how you read its signals. The calculation has three components:
- Subtract the 26-day EMA from the 12-day EMA to get the MACD line.
- Plot a 9-day EMA of the MACD line as the signal line.
- Subtract the signal line from the MACD line to get the histogram.
When the MACD line crosses above the signal line, it indicates bullish momentum. When it crosses below, it suggests bearish momentum.
How to Use MACD in Trading
Traders use the MACD indicator to understand how strong a trend is, where the price might be headed, and when a reversal could be coming. It works well in different market conditions and on all timeframes, whether you are trading for a few minutes, a few days, or holding for longer. Among the many uses of MACD, three techniques are most widely applied:
1. MACD Crossover
A crossover occurs when the MACD line crosses the signal line, generating buy or sell signals.
Bullish crossover (MACD buy signal): Occurs when the MACD line crosses the signal line from below.
Bearish crossover (MACD sell signal): Occurs when the MACD line crosses the signal line from above.
MACD crossovers produce the most reliable signals in trending markets. In ranging conditions, they generate frequent false signals; confirm with a trend filter before acting on a crossover.
2. MACD Divergence
Divergence is based on discrepancies between MACD movement and price movement. For example, if the price is rising and MACD is falling, or the other way around.
Bullish divergence (buy signal): Occurs when the price chart creates local lows and the MACD creates new highs.
Bearish divergence (sell signal): Occurs when the MACD is falling and making new lows while the price chart is rising and making new highs, signalling a potential downward reversal.
For a deeper look at how divergence signals work across multiple indicators, see Divergence Trading.
3. MACD Line Deviation
A strong deviation of the MACD line from the signal line may indicate overbought or oversold conditions. The RSI indicator can help confirm these signals.
MACD is a lagging indicator: it reacts to price rather than predicting where price will go. Patterns that appear clear in hindsight are often ambiguous in real time. Treat signals as probabilities, not certainties.
Using MACD with Other Indicators
While MACD produces reliable signals on its own, combining it with other technical indicators can improve accuracy and reduce false signals. Two of the most common combinations are with RSI and Bollinger Bands.
MACD with RSI
The most common approach combines RSI overbought and oversold levels with MACD crossover signals. This combination improves precision on potential trend changes and reduces false signals compared to using either indicator alone.
Long signal: If the RSI is in the oversold zone (below 30), wait for the MACD line to cross above the signal line.
Short signal: If the RSI is above 70 (overbought), wait for the MACD line to cross below the signal line.
For an in-depth look at RSI levels and how to read them, see the RSI Indicator lesson.
MACD with Bollinger Bands
In this strategy, traders wait for a MACD crossover while the price is at one of the Bollinger Band extremes. The upper and lower bands act as dynamic support and resistance levels.
Long signal: If the price is on the lower Bollinger Band and the MACD line crosses above the signal line, enter long.
Short signal: If the price is on the upper Bollinger Band and the MACD line crosses below the signal line, enter short.
For more on how Bollinger Bands define market extremes, see Bollinger Bands.
Confirmation Stack
All information provided on this site is intended solely for educational purposes related to trading on financial markets and does not serve in any way as a specific investment recommendation, business recommendation, investment opportunity analysis or similar general recommendation regarding the trading of investment instruments. FTMO only provides services of simulated trading and educational tools for traders. The information on this site is not directed at residents in any country or jurisdiction where such distribution or use would be contrary to local laws or regulations. FTMO companies do not act as a broker and do not accept any deposits. The offered technical solution for the FTMO platforms and data feed is powered by liquidity providers.

