MACD explained: line, signal line, histogram, and 12-26-9
MACD, short for Moving Average Convergence Divergence, is an indicator that subtracts a longer exponential moving average of a price from a shorter one. The gap widens when recent prices pull away from older prices, and it narrows when they come back together.
Here’s what MACD stands for, its three parts, what the numbers in 12-26-9 mean, how it is commonly read, and where its limits are. This is an educational explanation, not a trading guide.
What MACD stands for
MACD stands for Moving Average Convergence Divergence. It was developed by Gerald Appel in the late 1970s, according to the American Association of Individual Investors. The name describes the two averages moving toward each other (convergence) and away from each other (divergence).
The three parts
MACD has three components, calculated from closing prices:
- MACD line = 12-period EMA − 26-period EMA
- Signal line = 9-period EMA of the MACD line
- Histogram = MACD line − signal line
An exponential moving average, or EMA, is like a simple average but gives more weight to the latest prices. The histogram is positive when the MACD line is above the signal line and negative when it is below.
What 12-26-9 means
The three numbers are the lengths of the fast average, the slow average, and the signal average, counted in periods, and they are Appel’s usual defaults. A period is one candle of the chart’s timeframe, so on a 1-hour chart the 12 means 12 hours.
As an illustration, if the 12-period EMA is 205 and the 26-period EMA is 200, the MACD line is 5. If the signal line is 3.5, the histogram is 1.5. Because MACD is a difference between two prices, it’s in price units, so values aren’t comparable between assets with very different prices.
How it is commonly read
AAII describes crossovers and divergences as the interactions traders look for. A common reading is that the MACD line above zero means the short average is above the long one. Others watch the MACD line crossing its signal line, which is when the histogram changes sign, or differences between MACD and price.
These are conventions for interpreting a calculation, not predictions. Since MACD is built from moving averages, it lags price, and in choppy markets the lines can cross often without any lasting move following.
Settings, differences and limits
Changing the numbers changes how quickly MACD reacts. Faster settings respond sooner and cross more often, and slower settings are smoother but later. Some platforms calculate the signal line with a simple average instead of an exponential one, so check how your chart defines it. Timeframe and data source also change the values. Research on technical indicators, including Park and Irwin’s review, finds the evidence mixed once costs and testing problems are considered.
WEEX Reminder: a crossover is a calculation, not a promise
WEEX reminds users that MACD crossovers and histogram changes describe past price data, and they don’t predict what comes next. Settings, timeframe, and the type of average used for the signal line all change what MACD shows, so compare charts that are set up the same way. Nothing here is financial advice.
Conclusion
MACD subtracts a 26-period EMA from a 12-period EMA, smooths the result with a 9-period EMA to get the signal line, and plots the gap between them as a histogram. The settings are conventions, the readings are interpretations, and the indicator lags by construction. It describes how two averages relate and doesn’t predict price.
FAQ
1. What does MACD stand for?
Moving Average Convergence Divergence.
2. How is MACD calculated?
The MACD line is the 12-period EMA minus the 26-period EMA, the signal line is a 9-period EMA of the MACD line, and the histogram is the MACD line minus the signal line.
3. What do the 12, 26, and 9 mean?
They’re the lengths, in periods, of the fast EMA, the slow EMA, and the signal line’s EMA. They are Appel’s usual defaults.
4. What does the MACD histogram show?
The difference between the MACD line and the signal line. It’s positive when the MACD line is above the signal line and negative when it is below.
5. Does a MACD crossover predict price direction?
No. A crossover describes how two averages of past prices relate, and it lags price by construction.