RSI and MACD are two of the most widely used technical indicators, and they are often shown side by side on a chart. They look similar, since both are lines under the price, but they answer different questions. This guide compares them, shows where each is strongest, and explains how to combine them in an alert so you get fewer, better notifications.
The short answer
RSI measures how stretched a move is. MACD measures whether momentum is turning. RSI is bounded between 0 and 100 and is read against fixed levels such as 30 and 70. MACD has no fixed range and is read from crossovers and the zero line.
| RSI | MACD | |
|---|---|---|
| Full name | Relative Strength Index | Moving Average Convergence Divergence |
| Built from | Average gains vs average losses | Two exponential moving averages (12 and 26 periods) |
| Scale | 0 to 100 | Unbounded, centred on zero |
| Typical signals | Above 70 overbought, below 30 oversold | MACD line crossing its signal line or the zero line |
| Best at | Spotting stretched moves and pullbacks | Spotting changes in momentum and trend direction |
| Weak at | Strong trends, where it can stay extreme | Sideways markets, where it crosses often |
How RSI works
The Relative Strength Index compares the size of recent gains with recent losses over a lookback period, usually 14 bars, and scales the result between 0 and 100. By convention, a reading above 70 is overbought and below 30 is oversold. Because the scale is fixed, you can compare RSI readings across different stocks.
For detail on using it well, see the RSI oversold alert strategy and the guide to RSI overbought alerts.
How MACD works
MACD takes the difference between a 12-period and a 26-period exponential moving average. That difference is the MACD line. A 9-period average of the MACD line is the signal line. When the MACD line crosses above the signal line, momentum is turning up, which is called a bullish crossover. A cross below is a bearish crossover. Crossing the zero line means the faster average has moved to the other side of the slower one.
MACD is built from moving averages, so it lags price in the same way they do. Our guide to SMA and EMA explains why.
Where they differ in practice
- In a steady uptrend, RSI can sit above 70 for weeks and look overbought, while MACD stays above its signal line and confirms the trend is intact.
- In a sideways market, RSI swings between its extremes in a useful way, but MACD crosses back and forth and gives many weak signals.
- At a turning point, RSI tends to show that a move was stretched first, and MACD tends to confirm that momentum has changed later.
Neither is better. They measure different things, so the question is which one fits the decision you want a prompt for.
Combining RSI and MACD in an alert
Both indicators produce false signals alone. Requiring them to agree filters out some of that. With a compound alert you can use AND logic so the alert only fires when both conditions are true. Two examples:
- Possible bottom: RSI (14) below 35 AND MACD crossing above its signal line. The first says the stock was oversold, and the second says momentum has started to turn.
- Possible fade: RSI (14) above 70 AND MACD crossing below its signal line. The first says the move was stretched, and the second says momentum is rolling over.
Add a cooldown of a day or two so that a condition that stays true does not repeat. You can set each one directly with RSI alerts and MACD alerts, and see the other indicators in all stock alert types.
Frequently asked questions
What is the difference between RSI and MACD?
RSI is a bounded oscillator from 0 to 100 that shows how stretched a recent move is. MACD is built from two moving averages and shows when momentum changes direction, mainly through crossovers.
Which is better, RSI or MACD?
Neither is better in general. RSI is more useful for spotting overbought and oversold conditions, and MACD for spotting shifts in momentum. Many investors use both together.
What are the default MACD settings?
The standard settings are a 12-period and 26-period exponential moving average for the MACD line and a 9-period average for the signal line.
What RSI period should I use?
14 periods is the standard. A shorter period such as 7 reacts faster and produces more signals. A longer one such as 21 is smoother and produces fewer.
Can I set one alert that uses both RSI and MACD?
Yes. A compound alert can require both conditions at once, for example RSI below 35 and a bullish MACD crossover, so it only fires when the two agree.
This article is educational and is not financial advice. Indicators describe past price behaviour and do not predict future results. FearAlert sends notifications and does not place trades.