MACD explained simply and what it doesn't replace in a ranking
The MACD is the difference between two exponential averages of a price, usually over 12 and 26 days. In addition there is a signal line, the 9-day average of the MACD. The MACD shows how the pace of a single price changes. It does not replace a ranking of many stocks by relative strength.
In short
- MACD stands for Moving Average Convergence Divergence.
- Formula: MACD = 12-day average minus 26-day average.
- The signal line is the 9-day average of the MACD, the histogram is the difference.
- The MACD is measured in price units and is hardly comparable between stocks.
- The RSL is a ratio and can therefore be sorted across a whole market.
As of 11/25/2026
See how the stocks of a market are sorted by their RSL.
Go to the scannerWhat the MACD is
The MACD was developed by Gerald Appel in the late 1970s. The name stands for Moving Average Convergence Divergence, i.e. the coming together and drifting apart of moving averages. That is exactly what it measures.
It is based on two moving averages of the same price, a fast one and a slow one. Both are exponentially weighted, abbreviated EMA. This means: recent prices count more than older ones. If the price moves up, the fast average rises first and the distance to the slow one grows. If the price moves down, the distance shrinks or becomes negative.
The MACD is one of the best-known tools of technical analysis and is preset in almost every charting program.
The three parts: line, signal line, histogram
The usual settings are 12, 26 and 9, mostly in days.
The MACD line is the 12-day average minus the 26-day average. If it is above zero, the fast average is above the slow one.
The signal line is the 9-day average of the MACD line. It smooths the MACD line and lags slightly behind it.
The histogram is the difference between the MACD line and the signal line, usually shown as bars. If the bars get bigger, the MACD line is moving away from its signal line. If they get smaller, the two are converging.
Worked example
Sample figures, not a real stock:
- The 12-day average is 104, the 26-day average is 100. MACD = 104 minus 100 = 4.
- The signal line, i.e. the 9-day average of the MACD, is 3.
- Histogram = 4 minus 3 = 1.
The MACD line is above zero and above its signal line. The fast average is therefore above the slow one, and the distance has recently grown.
How the MACD is usually read
Many read the MACD through crossovers. If the MACD line crosses its signal line, this points to a change in the pace of the price. If it crosses the zero line, the fast average has crossed the slow one. Some also watch whether price and MACD diverge, for example when the price reaches a new high but the MACD does not.
Such crossovers are descriptions of what the averages are currently doing. They do not say how the price will continue. In sideways markets the lines often cross back and forth without any clear move following. Because the MACD is based on averages, it also always reacts with a delay.
Why the MACD doesn't replace a ranking
An important point is often overlooked: the MACD is measured in price units, i.e. in euros or dollars. This makes it hardly comparable between stocks.
Sample figures: stock A has averages of 104 and 100, its MACD is 4. Stock B has averages of 20.80 and 20, its MACD is 0.80. For both prices, the fast average is 4 percent above the slow one. A's MACD is still five times as large, just because the stock is more expensive.
The relative strength by Levy, by contrast, is a ratio: price divided by average. An RSL of 1.10 means the same for a stock at 20 as for a stock at 2,000. That is why all stocks of a market can be sorted by the RSL. There is a percentage variant of the MACD, the Percentage Price Oscillator, which reduces this problem. The classic MACD remains a tool for looking at a single price.
Then there is the period. The MACD with 12 and 26 days looks at a few weeks. The RSL in RSL-scan calculates with 26 weeks or 26 days. If you are looking for stocks that were strong over half a year, the MACD gives you a different answer than the ranking by relative strength.
The RSL is a ratio and can be compared across a whole market. The scanner shows it for every stock.
View RSL valuesMACD, RSI and RSL compared
Three abbreviations, three questions. The MACD asks: how does the distance between a fast and a slow average change? The RSI indicator asks: how one-sided were the up and down moves of the last, usually 14, days, on a scale from 0 to 100? The RSL asks: how far is the price above or below its own average, and where does that put it compared with all other stocks of the market?
The first two look at one price on its own. The RSL only becomes a comparison through the ranking. How the RSL is used in fixed rules with rank and the threshold of 1 is described in the rules of the RSL strategy.
You can try the full ranking with both time frames for 7 days with Scan Pro. No payment details, the trial ends automatically.
Try for 7 daysLimits of the MACD
The MACD is based on prices only. It knows no balance sheet, no valuation and no news. It reacts with a delay because it is formed from averages. And in choppy, sideways phases it produces many crossovers that quickly reverse again.
The settings 12, 26 and 9 are a habit, not a law of nature. Other values produce other crossovers. And like every metric based on prices, the MACD describes the past. It does not say what happens next.
Method and author
RSL-scan editorial team. RSL-scan ranks securities by relative strength (Levy RSL) within one market. The MACD is only explained on this page. The rankings are re-sorted once a day. No forecast. MACD according to Gerald Appel with the usual settings 12, 26 and 9. All figures on this page are sample values. As of 11/25/2026.
Frequently asked questions
What is the MACD?
An indicator from technical analysis. It shows the difference between a fast and a slow exponential average of a price, usually over 12 and 26 days.
How do you calculate the MACD?
MACD line = 12-day average minus 26-day average. The signal line is the 9-day average of the MACD line. The histogram is the difference between the two.
What does it mean when the MACD is above zero?
Then the fast average is above the slow one. Over the last few weeks, the price has therefore risen more on average than over the longer period. It says nothing about future prices.
Can you compare the MACD of different stocks?
Hardly, because the MACD is measured in price units. With the same percentage move, an expensive stock has a larger MACD than a cheap one.
What is the difference between MACD and RSL?
The MACD measures the distance between two averages in price units. The RSL divides the price by its average and is a ratio around 1. That is why stocks can be sorted by the RSL.
Who developed the MACD?
Gerald Appel, in the late 1970s. The settings 12, 26 and 9 are common today but can be changed.
Sources
- StockCharts ChartSchool: MACD (Moving Average Convergence/Divergence Oscillator). Developed by Gerald Appel in the late 1970s, calculation with 12, 26 and 9. https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/macd-moving-average-convergence-divergence-oscillator (accessed 11/25/2026).
- StockCharts ChartSchool: MACD-Histogram. https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/macd-histogram (accessed 11/25/2026).
- Appel, Gerald (1985): The Moving Average Convergence-Divergence Trading Method. Toronto: Scientific Information Systems.
- Wilder, J. Welles (1978): New Concepts in Technical Trading Systems. Greensboro (North Carolina): Trend Research. RSI with usually 14 periods and a scale from 0 to 100.
- RSL-scan, strategy page: formula RSL = price ÷ average price, time frames 26 weeks and 26 days. https://rsl-scan.com/strategy (accessed 11/25/2026).
- All figures in the text are sample values.
The ranking is re-sorted once a day. Choose your market.
Go to the scannerNot a buy recommendation / not investment advice. Past performance is not a reliable indicator of future results.