Forex MACD
MACD (Moving Average Convergence Divergence) is a momentum indicator built from two moving averages. It shows the direction of a trend, how strong it is, and when that strength starts to fade.
What is MACD?
MACD was created by Gerald Appel in the late 1970s. It measures the gap between a fast and a slow exponential moving average (EMA). If you are new to EMAs, read Moving Averages first.
When the fast EMA pulls away from the slow EMA, momentum is growing. When the two come back together, momentum is fading.
- Convergence — the two averages move closer together.
- Divergence (in the name) — the two averages move apart.
- MACD is shown in a separate panel under the price chart.
Note: "Divergence" in the MACD name means the averages spreading apart. It is not the same as price/indicator divergence, which you will meet later in this lesson.
The Three Parts of MACD
The standard settings are 12, 26, 9. They create three parts:
| Part | What it is | What it tells you |
|---|---|---|
| MACD line | Fast EMA minus slow EMA | Direction and strength of momentum |
| Signal line | A 9-period EMA of the MACD line | A smoother version, used as a trigger |
| Histogram | Bars showing MACD minus signal | Whether momentum is speeding up or slowing down |
| Zero line | The level where both EMAs are equal | Above = bullish bias, below = bearish bias |
Example
On an EUR/USD 4-hour chart the 12 EMA is 1.0872 and the 26 EMA is 1.0860.
MACD line = 1.0872 − 1.0860 = 0.0012 (12 pips) Signal = 0.0009 (9 pips) Histogram = 0.0012 − 0.0009 = 0.0003 (3 pips, positive)
The MACD line is above zero and above its signal line. Momentum is bullish and still growing.
Tip: MACD values are in price units, so they are not comparable between pairs. A reading of 0.0012 on EUR/USD and 0.25 on USD/JPY cannot be compared directly.
Zero Line Crossovers
The zero line is where the 12 EMA and the 26 EMA are equal. A cross of the zero line is the same thing as the two EMAs crossing on the price chart.
- Bullish zero cross — MACD moves from below zero to above zero. The fast EMA is now above the slow EMA.
- Bearish zero cross — MACD moves from above zero to below zero.
Zero line crosses are slow. They confirm a trend that has already started. Many traders use them as a filter: only look for buys when MACD is above zero, only sells when it is below.
Example
GBP/USD has been falling. The MACD line has been below zero for two weeks. Today it closes at +0.0004.
This is a bullish zero line cross. A trend-following trader stops looking for sells and starts looking for buy setups on pullbacks.
Signal Line Crossovers
The most common MACD signal is the signal line crossover. It happens more often than a zero cross, so it is faster but gives more false signals.
- Bullish crossover — the MACD line crosses above the signal line. The histogram turns from negative to positive.
- Bearish crossover — the MACD line crosses below the signal line. The histogram turns from positive to negative.
Crossovers are stronger when they agree with the zero line. A bullish crossover above zero is in line with the trend. A bullish crossover far below zero is a counter-trend signal and is riskier.
| Signal | Location | Quality |
|---|---|---|
| Bullish crossover | Above zero | With the trend — stronger |
| Bullish crossover | Below zero | Early reversal — weaker, needs confirmation |
| Bearish crossover | Below zero | With the trend — stronger |
| Bearish crossover | Above zero | Early reversal — weaker, needs confirmation |
Warning: In a sideways market the MACD line and signal line cross back and forth many times. Each cross looks like a signal, but most of them lose money. Check the trend first (see Trends & Trendlines).
Reading the Histogram
The histogram is the distance between the MACD line and the signal line. It moves first, so it gives the earliest hint that momentum is changing.
- Growing bars — momentum is speeding up in that direction.
- Shrinking bars — momentum is slowing. The trend may pause or reverse.
- Bars flip sides — a signal line crossover just happened.
Example
USD/JPY is rising. The last five histogram bars read 0.18, 0.24, 0.27, 0.21, 0.12.
The bars peaked at 0.27 and are now shrinking. Price is still going up, but momentum is slowing. A buyer might tighten the stop or take partial profit. It is not a sell signal on its own.
MACD Divergence
Divergence is when price and MACD disagree.
- Bearish divergence — price makes a higher high, but MACD makes a lower high. Buyers are losing strength.
- Bullish divergence — price makes a lower low, but MACD makes a higher low. Sellers are losing strength.
Tip: Divergence can last a long time before price turns. Wait for confirmation, such as a signal line crossover or a break of a trendline. The Divergence Trading lesson covers this in depth.
Strengths and Weaknesses
Strengths
- Shows trend and momentum in one panel.
- Clear, rule-based signals.
- Works on every timeframe and pair.
- Histogram gives early warning of slowing momentum.
Weaknesses
- Lagging — built from moving averages, so signals come late.
- Many false crossovers in ranges.
- No fixed overbought/oversold levels (unlike RSI).
- Values cannot be compared across pairs.
A Simple MACD Checklist
- Check the zero line: above = look for buys, below = look for sells.
- Wait for a signal line crossover in that same direction.
- Confirm with price: a support or resistance level, or a candlestick pattern.
- Place a stop beyond the recent swing and size the trade with position sizing.
Remember: No indicator predicts the future. MACD describes what price has already done. Always use a stop loss and risk only a small part of your account per trade.
Test Yourself With Exercises
What are the standard MACD settings?
- 9, 14, 20
- 12, 26, 9
- 14, 3, 3
The 12 EMA is 1.2735 and the 26 EMA is 1.2720. The signal line is 0.0018. What is the histogram value?
- +0.0015
- +0.0003
- −0.0003
- −0.0015
Price makes a higher high, but MACD makes a lower high. What is this called?
- Bearish divergence
- Bullish divergence
- A zero line cross
What does it mean when the MACD line crosses above zero?
- The pair is overbought
- The histogram has turned negative
- The signal line has crossed the MACD line
- The 12 EMA is now above the 26 EMA
In which market condition does MACD give the most false signals?
- A strong uptrend
- A sideways range
- A strong downtrend