RSI vs MACD: Differences, Best Settings & How to Use Them Together
RSI and MACD are the two most popular momentum indicators on any charting platform, and they show up together in countless stock screener filters. They are related—both are calculated from price—but they measure different things and behave differently in trending and ranging markets. This comparison explains how each works, what their signals mean, and how to combine them without fooling yourself.
Educational only: indicator settings and screener examples on this page illustrate how the tools work. They are not trading signals or recommendations.
RSI vs MACD at a Glance
| Factor | RSI | MACD |
|---|---|---|
| Full name | Relative Strength Index | Moving Average Convergence Divergence |
| Created by | J. Welles Wilder Jr. (1978) | Gerald Appel (late 1970s); histogram added later by Thomas Aspray |
| What it measures | Size of recent gains vs recent losses | Gap between a fast and a slow EMA of price |
| Default settings | 14 periods | 12-period EMA, 26-period EMA, 9-period signal line |
| Scale | Bounded 0 to 100 | Unbounded; oscillates around zero in price units |
| Classic levels | 70 overbought, 30 oversold, 50 centerline | Zero line; MACD vs signal line |
| Main signals | Overbought/oversold, centerline, divergence, failure swings | Signal-line crossovers, zero-line crossovers, divergence, histogram |
| Best environment | Ranges and pullbacks within trends | Trending markets |
| Compare across stocks? | Yes (same 0–100 scale) | Not directly (values depend on share price) |
How RSI and MACD Differ
🧮 How Each Is Calculated
RSI
RSI compares average gains to average losses over a lookback period (14 by default) using Wilder’s smoothing, a form of exponential averaging:
RSI = 100 − 100 / (1 + RS)
RS = average gain ÷ average loss over the period
Because of the formula, RSI can never go above 100 or below 0. That bounded scale is what makes fixed thresholds like 70 and 30 possible.
MACD
MACD subtracts a slower exponential moving average from a faster one, then smooths the result to create a signal line:
MACD = EMA(12) − EMA(26)
Signal = EMA(9) of MACD · Histogram = MACD − Signal
MACD has no upper or lower limit. A $500 stock will produce much larger MACD values than a $20 stock, so absolute MACD readings are not comparable across symbols.
📡 Signals Traders Watch
RSI signals
- Overbought/oversold: above 70 or below 30 suggests momentum is stretched—not that price must reverse
- Centerline (50): readings holding above 50 are often read as bullish momentum, below 50 as bearish
- Divergence: price makes a new high or low that RSI fails to confirm
- Failure swings: Wilder’s pattern where RSI breaks its own prior swing point
- Trend ranges: in strong uptrends RSI often oscillates roughly between 40 and 80, in downtrends between 20 and 60—a rule of thumb, not a law
MACD signals
- Signal-line crossover: MACD crossing above its signal line is read as improving momentum; crossing below as fading momentum
- Zero-line crossover: MACD above zero means the 12 EMA is above the 26 EMA (an uptrend bias)
- Histogram: shrinking bars show the gap between MACD and signal narrowing, often before a crossover
- Divergence: price and MACD peaks or troughs disagree
📈 Trending vs Ranging Markets
RSI
RSI shines in sideways markets, where moves to 70 or 30 often mark the edges of the range. In a strong trend, RSI can stay "overbought" for weeks, so selling every reading above 70 means fighting the trend. Many traders instead use RSI to time pullbacks in the direction of the trend (for example, an RSI dip toward 40–50 during an uptrend).
MACD
MACD is built from moving averages, so it follows trends well but lags turning points. In choppy, range-bound markets it tends to produce repeated crossovers that reverse quickly (whipsaws). It is most useful when price is clearly trending and you want to judge whether momentum is building or fading.
Strengths and Weaknesses
RSI
✅ Strengths
- Bounded scale makes thresholds and cross-stock screening easy
- Reacts relatively quickly to changes in momentum
- Useful for spotting stretched moves and pullback entries
❌ Limitations
- Overbought/oversold readings fail often in strong trends
- Says little about trend direction on its own
- Results change noticeably with the lookback period
MACD
✅ Strengths
- Combines trend direction (zero line) and momentum (histogram)
- Crossovers are easy to define and test
- Works across timeframes from intraday to weekly
❌ Limitations
- Lags because it is built from moving averages
- Whipsaws in sideways markets
- Values are not comparable across differently priced stocks
Using RSI and MACD Together
A common approach is to give each indicator a different job: MACD (or a moving average) defines the trend, and RSI times entries within it. For example, a trader might only consider long setups when MACD is above zero, then wait for RSI to pull back toward 40–50 and turn up.
⚠️ The redundancy problem
Both indicators are calculated from the same closing prices, so they often agree simply because they measure similar things. Two momentum readings agreeing is weaker confirmation than it looks. Independent evidence—such as support and resistance, volume or the trend of the 200-day moving average—usually adds more information than a second oscillator.
Example screener filters (educational starting points)
- Pullback in an uptrend: price above the 200-day MA, MACD above zero, RSI(14) between 40 and 55
- Momentum continuation: MACD above its signal line, RSI(14) between 55 and 70, relative volume above 1
- Oversold within a long-term uptrend: price above the 200-day MA, RSI(14) below 35
Run ideas like these in the free stock screener, then review every chart—see stock screener criteria for how to build and test filters.
Which Indicator Fits Your Approach?
Lean on RSI If You:
- Trade ranges or buy pullbacks
- Want one threshold that works across many stocks in a screener
- Look for stretched moves and divergences
- Prefer a faster-reacting momentum gauge
Lean on MACD If You:
- Follow trends and want to judge momentum strength
- Like clearly defined crossover rules
- Want trend direction and momentum in one panel
- Trade daily or weekly charts where lag matters less
Learn each in depth in our RSI guide and MACD guide.
Key Takeaways
RSI is a bounded 0–100 oscillator (default 14); MACD is an unbounded trend-momentum indicator (12, 26, 9).
RSI tends to work best in ranges and pullbacks; MACD tends to work best in trending markets.
Both are derived from price, so agreement between them is partly redundant.
Pair one momentum tool with independent evidence such as trend, levels or volume.
No setting is "best" for every market—test settings on your own timeframe before relying on them.
RSI vs MACD: FAQ
Is RSI or MACD better?
Neither is better in general. RSI is easier to apply across many stocks because of its fixed 0–100 scale and tends to work well in ranges, while MACD captures trend direction and momentum and tends to work better in trending markets. Many traders use one for trend and one for timing.
What are the best settings for RSI and MACD?
The standard settings are RSI 14 with 70/30 levels and MACD 12, 26, 9. Shorter settings react faster but give more false signals; longer settings are smoother but lag more. Defaults are a reasonable starting point because they are widely used and well documented.
Can I use RSI and MACD together?
Yes. A common pattern is to use MACD above or below zero as a trend filter and RSI pullbacks for timing. Keep in mind both are calculated from price, so they often agree; adding volume or support and resistance gives more independent confirmation.
Is MACD a leading or lagging indicator?
MACD is generally considered lagging because it is built from moving averages. The histogram can change direction before a crossover, which gives some earlier warning, but it still reflects price action that has already happened.
Why does RSI stay overbought during a rally?
RSI measures the balance of recent gains and losses. In a strong uptrend gains dominate, so RSI can stay above 70 for a long time. Overbought describes momentum, not a guaranteed reversal.