Moving Average Convergence Divergence โ MACD โ has one of the most intimidating names and one of the most understandable ideas: it measures the distance between two moving averages and watches how that distance changes. Everything the indicator shows comes from that single relationship.
What MACD is made of
Traditional MACD uses three ingredients:
- The MACD line โ the 12-period average minus the 26-period average. It moves above zero when the shorter average is above the longer one (an upward bias) and below zero when the reverse is true.
- The signal line โ a 9-period average of the MACD line. It lags slightly, and the crossing of the two lines is what many traders watch.
- The histogram โ the gap between the MACD line and the signal line, drawn as bars. Positive bars sit above zero, negative bars below.
Because it is built from moving averages, MACD is a trend-and-momentum hybrid: it tells you about the direction and strength of the recent move, and it is a lagging tool โ it confirms changes after they begin, it does not predict them.
The MACD line and signal line (figure)
The MACD line is the faster of the two, the signal line the slower. When the MACD line is above the signal line, momentum has recently favoured the upside; when it drops below, the reverse.
The histogram
The histogram is the part of MACD that most people skip, and it is often the most informative. Each bar is the gap between the MACD line and the signal line. When the bars are growing, that gap is widening โ momentum is accelerating. When they are shrinking, the gap is closing โ momentum is fading, even if price has not yet turned.
This is why the histogram can warn you before a cross happens: the bars get smaller and smaller, then flip to the other side. Watching the slope of the bars is a way to feel momentum change before a formal crossover confirms it.
Crosses and the zero line (figure)
A cross is the MACD line passing through the signal line. A cross above the zero line suggests upward momentum is building; a cross below the zero line points to the downside. Crossovers against the prevailing trend are common and often unreliable, which is why the zero line context matters.
The zero line is the second reference. When the MACD line is above zero, the 12-period average is above the 26, an upward bias; below zero, the reverse. A cross and the zero line together give a far cleaner picture than either alone.
The 12 / 26 / 9 settings
The numbers are not arbitrary, and they are worth keeping unless you have a specific reason:
- 12 (fast length). The shorter exponential average. Reacts to recent price.
- 26 (slow length). The longer average. Provides the baseline the fast one is compared against. (26 comes from roughly a trading month of hourly bars.)
- 9 (signal length). The average applied to the MACD line to produce the signal line.
| Setting | Value | Effect of changing it |
|---|---|---|
| Fast EMA | 12 | Lower = twitchier, more crosses; higher = smoother, slower |
| Slow EMA | 26 | Widens or narrows the baseline the fast line is measured against |
| Signal EMA | 9 | Lower = signal tracks MACD closely; higher = fewer, later crosses |
Changing the periods changes the character of every line. Stick to 12/26/9 if you want your reads to be comparable with everyone else's chart. For how MACD and RSI are read side by side, see RSI and MACD confluence.
Common mistakes
- Trading every cross. MACD crosses constantly, and many against the trend fail โ filter with the zero line and structure.
- Ignoring the histogram. The bars often warn before the cross does; skipping them loses the earliest cue.
- Treating MACD as leading. It is built from moving averages, so it lags โ it confirms after price has moved.
- Using it on a dead range. In sideways markets MACD mostly produces noise.
- Stacking timeframes blindly. A conflicting MACD on another timeframe needs context, not a bigger bet.
How CPE Trade Pro uses MACD
In the app, the MACD histogram is read as part of the Momentum part of the 0-10 quality score, alongside RSI, stochastic crosses and divergence. That part is worth up to 2 points. The histogram is useful here because its slope changes as momentum accelerates or fades, which is precisely the kind of shift the momentum reading is trying to capture.
The whole score is built from five measurable parts โ Clarity, Trend, Momentum, Volume and Levels โ each capped at 2 points. MACD feeds Momentum; moving averages and ichimoku-type trend studies feed Trend, and Bollinger edges and Fibonacci feed Levels. It is worth stating the limits exactly: the 0-10 score is not a win rate, not a probability of profit and not an audited performance record. It reports how many independent checks agreed, and MACD is one of the momentum checks within it.
To see how all the pieces combine, read how CPE Trade Pro analyses a chart and the companion piece on RSI.
Want momentum read as a whole? Download CPE Trade Pro free and watch MACD, RSI and the stochastic combine into a graded signal.
Educational content only. Nothing here is financial advice. CPE Trade Pro is analysis software, not a broker, exchange or fund manager โ it never holds your funds and never asks for a fee to withdraw. The 0-10 quality score is not a win rate, a probability of profit or an audited performance record. Trading involves risk, and past results do not guarantee future performance.