RSI Strategy: Buy Oversold, Sell Overbought

July 13, 2026 · 7 min read · Investment Strategies

The Relative Strength Index (RSI) measures the speed and magnitude of recent price changes to identify when an asset is statistically overbought or oversold — giving contrarian investors a rules-based entry and exit signal.

What Is the RSI Strategy?

The Relative Strength Index (RSI) is a momentum oscillator developed by J. Welles Wilder Jr. and published in his 1978 book New Concepts in Technical Trading Systems. It measures the magnitude of recent price gains versus recent price losses and expresses the result as a number between 0 and 100.

The investment strategy built on RSI is simple and mechanical:

  • RSI falls below 30 → the asset is considered "oversold" → BUY (go fully invested)
  • RSI rises above 70 → the asset is considered "overbought" → SELL (move to cash)
  • Between 30 and 70 → hold current position

The underlying assumption is mean reversion: prices that have fallen rapidly are statistically likely to bounce back, and prices that have risen rapidly are likely to pull back. RSI quantifies the extremity of recent moves to identify these reversal zones.

How the 14-Period RSI Is Calculated

The standard RSI uses a 14-period lookback (14 trading days for daily charts). The formula:

Average Gain = sum of gains over 14 periods / 14
Average Loss = sum of losses over 14 periods / 14
RS = Average Gain / Average Loss
RSI = 100 − (100 / (1 + RS))

After the first calculation, Wilder used a smoothing method (exponential moving average-style) to update averages with each new period. This means RSI is path-dependent — two assets with the same final price may have different RSI values depending on how they got there.

Key RSI interpretation levels:

RSI < 30
Oversold
Strong buy signal in mean-reverting strategy
RSI 30–50
Weak / recovering
Neutral — hold cash if came from oversold signal
RSI 50–70
Bullish momentum
Neutral — hold position if came from buy signal
RSI > 70
Overbought
Sell signal — exit to cash in RSI strategy

Historical Evidence and Academic Research

RSI and related momentum oscillators have been studied extensively:

  • Wilder's original 1978 work demonstrated RSI's ability to identify reversal points in commodity futures, where mean reversion is strong.
  • Connors & Alvarez (2009) in "Short Term Trading Strategies That Work" showed that a 2-period RSI (much shorter than Wilder's 14) generated significant alpha on S&P 500 stocks when used as a short-term mean-reversion signal.
  • Academic studies on technical indicators (Brock, Lakonishok & LeBaron, 1992; Sullivan, Timmermann & White, 1999) found statistically significant predictive value in oscillator-based signals on US equities over historical periods, though the signals tend to weaken post-publication (data snooping concerns).
  • The RSI strategy's performance varies dramatically by market regime: it works well in range-bound markets (2000–2002, 2007–2009 bear markets with bounces) and fails in sustained trends (2009–2021 bull market where RSI stayed above 50 for years).

When RSI Works — and When It Fails

RSI excels when:
  • Markets are range-bound or mean-reverting — sideways consolidation phases
  • Volatility is high but without strong directional trend
  • Individual stocks with catalysts that cause temporary overshoots in both directions
  • Short-term trading on liquid assets where the oscillator signals are clean
  • Combined with other trend filters to avoid false signals in trending markets
RSI struggles when:
  • Strong bull markets — RSI stays above 50 indefinitely; sell signals fire too early and miss large gains
  • Sustained downtrends — RSI can stay below 30 for months, causing repeated buying into falling knives
  • "RSI divergence" (price makes new highs but RSI doesn't) often works but requires subjective interpretation
  • Cash drag — periods in cash during strong uptrends create significant opportunity cost
  • Transaction costs — frequent signals in volatile markets erode returns

Pros and Cons

Advantages
  • Fully mechanical — no subjectivity in signal generation once thresholds are set
  • Can outperform buy-and-hold in highly volatile or range-bound markets
  • Provides a natural risk management mechanism — moves to cash at overbought readings
  • Based on price action alone — works on any liquid asset without fundamental data
  • Long academic and practitioner history dating to 1978
Disadvantages
  • Significant cash drag during strong bull markets — opportunity cost can be severe
  • "Whipsaw" signals in volatile trending markets generate losses from rapid buy-sell cycles
  • RSI < 30 can remain below 30 for extended periods in a genuine bear market
  • The 30/70 thresholds are arbitrary — different assets may need different levels
  • Backward-looking by nature — signal fires after the move, not at its start

Key Parameters to Tune

Lookback Period
Default is 14 days (Wilder). Shorter periods (2–7) are more sensitive and generate more signals — better for short-term trading. Longer periods (21–30) are smoother and generate fewer, higher-conviction signals.
Oversold Threshold
Default is 30. Can be adjusted to 20 (more extreme oversold) for higher conviction or 40 for more frequent signals. Higher thresholds generate more buys but also more false signals.
Overbought Threshold
Default is 70. Raising to 80 reduces premature selling in strong bull markets. Lowering to 60 captures more downside protection at the cost of exiting profitable positions earlier.
Trend Filter
Many traders add a 200-day moving average filter: only take RSI buy signals when price is above its 200-day MA (to avoid buying in sustained downtrends).

Who Should Use the RSI Strategy?

The RSI strategy is best suited for:

  • Active investors comfortable monitoring positions and acting on signals when they fire
  • Investors in range-bound or mean-reverting markets who want a systematic buy-low/sell-high mechanism
  • Traders using RSI on individual stocks with high volatility and clear mean-reversion tendencies
  • Investors who combine RSI with other indicators (e.g., moving averages, volume) for confirmation

RSI is less suited for passive investors with long-horizon goals who want to stay fully invested in diversified index funds. For those investors, simple DCA into a broad index fund will typically outperform an RSI-based approach over a 20+ year horizon due to reduced cash drag and transaction costs.

Real Example: RSI on the S&P 500 During 2022

2022 was a strong bear market for US equities — the S&P 500 fell approximately 27% from peak to trough. An RSI-14 strategy on SPY would have generated multiple buy signals as RSI repeatedly dipped below 30 (late January, mid-May, late September 2022).

However, each RSI < 30 buy signal was followed by further declines before a meaningful recovery, illustrating the classic RSI failure mode in sustained downtrends: the indicator signals "oversold" during an early phase of what becomes a much larger decline. Investors who bought every RSI < 30 signal in 2022 would have averaged down effectively, but suffered significant mark-to-market losses before the 2023 recovery.

Contrast this with 2015–2016 (a range-bound S&P 500 period): RSI signals in August 2015 (below 30) and February 2016 (below 30) were both excellent contrarian buy signals that preceded rapid recoveries — the strategy's ideal operating environment.

RSI Divergence: The Advanced RSI Signal

Beyond the simple 30/70 threshold signals, RSI divergence is the most sophisticated — and often the most powerful — way to use the indicator. Divergence occurs when price and RSI move in opposite directions, signaling that the current trend is weakening.

Bearish divergence: price makes a higher high while RSI makes a lower high. Selling pressure is quietly increasing even as price climbs. This often precedes a reversal to the downside. Classic example: the S&P 500's RSI divergence in November–December 2021 — price hit new highs but RSI peaked lower in each successive high. By early 2022, the correction had begun.

Bullish divergence: price makes a lower low while RSI makes a higher low. Buying pressure is quietly building even as price falls. This often precedes a reversal to the upside. Classic example: Apple in December 2022 — price hit new lows but RSI bottomed higher than the October low. The subsequent January 2023 rally confirmed the divergence.

Divergence signals require more subjective interpretation than the simple 30/70 threshold — they need a clear visual pattern across multiple price swings. But when they appear alongside the threshold signals (e.g., RSI below 30 AND showing bullish divergence), the combined signal is considerably stronger than either alone.

Alternative RSI Approaches: Beyond the Standard 14-Period

The 14-period RSI Wilder developed in 1978 was designed for commodity futures. Since then, traders have found that different lookback periods serve different purposes:

  • 2-Period RSI (Connors RSI): Larry Connors and Cesar Alvarez popularized the 2-period RSI for short-term mean reversion on individual stocks. A 2-period RSI below 10 on a stock above its 200-day MA has historically been an extremely high-probability short-term buy signal — but requires fast execution and frequent trading.
  • 7-Period RSI: a middle ground between the ultra-sensitive 2-period and the standard 14-period. Generates more signals than the 14-period but avoids the whipsaw of the 2-period. Popular among active swing traders.
  • 21-Period RSI: smoother and slower, reducing false signals in volatile markets. Better for investors who check positions weekly rather than daily.
  • Weekly RSI: applying RSI to weekly price bars rather than daily significantly reduces noise. A weekly RSI below 30 is a rarer and higher-conviction signal than a daily RSI below 30 — it represents a larger and more sustained price decline.

The key principle: shorter periods are more sensitive and generate more signals; longer periods generate fewer but higher-conviction signals. Match the period to your trading frequency and tolerance for false signals.

RSI vs. MACD: Choosing the Right Momentum Indicator

RSI and MACD are often discussed together because both are momentum indicators, but they serve different analytical functions:

  • RSI measures the speed and magnitude of price changes relative to a fixed scale (0–100) — absolute momentum with natural overbought/oversold interpretations
  • MACD measures the difference between two moving averages — relative momentum showing trend acceleration and deceleration
  • RSI works better in range-bound markets where prices oscillate within a band — the 30/70 thresholds have natural meaning
  • MACD works better in trending markets where momentum shifts are more important than absolute levels
  • Combined use: use the 200-day MA to identify the trend (above = uptrend), MACD to confirm trend direction, and RSI to time entry within that trend

In practice, the most robust signals occur when RSI and MACD agree. A stock where RSI has dropped below 30 (oversold) AND MACD has generated a bullish crossover presents a stronger buy case than either signal alone. Requiring both to align reduces trade frequency but significantly improves signal quality.

Frequently Asked Questions About RSI Strategy

What is the best RSI setting for stocks?+
The 14-period RSI on daily bars is the standard starting point and remains the most widely watched, which itself gives the levels some self-fulfilling validity. For long-term position traders (holding weeks to months), the weekly 14-period RSI filters noise and generates fewer, higher-conviction signals. For active swing traders (holding days to a week), a 7-period RSI on daily bars offers a useful middle ground. There is no universally 'best' setting — test different periods on the specific assets you trade and choose based on historical signal quality, not theoretical preference.
Does RSI work on crypto or other volatile assets?+
RSI works on any asset with price history, but its calibration may differ. Cryptocurrency is so volatile that RSI can stay below 30 or above 70 for weeks without a meaningful reversal. Many crypto traders use RSI 30/70 thresholds on weekly bars (rather than daily), or shift the thresholds to 20/80 to avoid constant false signals. The indicator mechanics are the same; the interpretation needs adjustment for the asset's typical volatility profile.
Can RSI be used as a standalone strategy?+
RSI as a pure standalone strategy — buy below 30, sell above 70, no other filters — has shown mixed results in backtests. In most historical analyses of US equity indices over the past 30 years, a filtered RSI strategy (combined with a 200-day MA trend filter) outperforms an unfiltered one. The 200-day filter is the single most impactful addition: it prevents buying RSI < 30 during genuine bear markets where the indicator signals oversold repeatedly as prices continue falling.
Why does RSI sometimes stay below 30 for a long time?+
RSI measures the ratio of recent gains to recent losses. In a sustained downtrend, there are almost no gaining days relative to losing days — RSI stays near or below 30 because the mathematical calculation is dominated by repeated losses. This is the RSI's biggest weakness in bear markets: it signals 'oversold' accurately in the sense that prices have fallen a lot, but 'oversold' does not mean 'will recover soon.' A strong downtrend can keep RSI depressed for months. The 200-day MA filter addresses this by only acting on RSI buy signals when the broad trend is still up.

RSI vs Buy-and-Hold: Historical Backtest Results on SPY

Academic and practitioner backtests of the standard RSI-14 strategy on the S&P 500 (using SPY as the benchmark) show a clear pattern: RSI outperforms in volatile, range-bound decades and underperforms in strong bull markets. The numbers explain why no strategy is universally superior:

PeriodMarket TypeRSI-14 ReturnBuy-and-Hold (SPY)RSI AdvantageKey Driver
2000–2002Bear market+4% (annualized)–25% (annualized)+29%/yrMoved to cash before major drops; multiple re-entry signals
2003–2007Steady bull+9%+13%–4%/yrCash drag during uptrend; sell signals fired too early
2008–2009Bear + Recovery–8%–22%+14%/yrPartial protection on way down; re-entry on recovery
2010–2021Long bull market+8%+15%–7%/yrSevere cash drag; sell signals fired in 2013, 2017, 2019 — all wrong
2022Bear market–14%–18%+4%Partial protection but bought every 'oversold' signal during decline
2023–2025Strong bull+17%+26%–9%/yrCash drag again; AI rally generated no oversold signals

The conclusion from 25 years of data: RSI meaningfully outperforms in the two genuine bear markets (2000–2002, 2008–2009) and trails significantly in every sustained bull phase. Whether the strategy is worth using depends on your forecast for market regimes — a reasonable view given market uncertainty, but one that requires active monitoring.

RSI Across Asset Classes: Stocks, Bonds, Commodities, and Crypto

RSI works on any price series, but its effectiveness varies significantly by asset class because different markets have different mean-reversion properties. Here is how to calibrate your expectations:

US Equities (SPY/QQQ)
Effectiveness: Medium
Best period: 7–14 day · Thresholds: 30/70 standard
Works well in bear markets and corrections. Underperforms in sustained bull markets. Adding 200-day MA filter improves results significantly.
Bonds (TLT/AGG)
Effectiveness: Low–Medium
Best period: 14–21 day · Thresholds: 40/60 adjusted
Bonds are more mean-reverting than equities over long periods, but RSI signals are noisy due to Fed policy influence. Better used as a confirmation tool than a standalone signal.
Gold / Commodities
Effectiveness: High
Best period: 14 day · Thresholds: 30/70 standard
Commodities are strongly mean-reverting due to supply/demand fundamentals. RSI signals on gold (GLD) have historically been among the most reliable of any asset class. Short-term energy commodities are noisier.
Crypto (BTC/ETH)
Effectiveness: Low–Medium
Best period: 7–21 day (weekly) · Thresholds: 20/80 adjusted
Crypto is far more volatile than equities — RSI can stay below 30 for weeks in bear markets. Weekly RSI with 20/80 thresholds filters noise better than daily 30/70. Extreme readings (RSI < 20 weekly) have historically been strong buy signals.

RSI Strategy: The Honest Bottom Line

The RSI trading strategy is not a reliable market-beating system when applied mechanically to the S&P 500 index. In 25 years of backtesting, it outperforms only during genuine bear markets while significantly lagging in bull phases — and the market spends far more time in bull phases than bear phases. For a passive long-term investor in index funds, DCA almost certainly outperforms RSI timing on a risk-adjusted, after-tax basis over any 20-year period.

Where RSI genuinely adds value: (1) as a confirmation tool for trade timing within a position you've already decided to take based on fundamental analysis; (2) on individual commodities and highly mean-reverting assets where the signal's historical accuracy is higher than on equities; (3) as a risk-reduction filter during identified bear market periods — if you're already underweight equities in a bear market, an RSI oversold signal gives you a systematic re-entry point rather than trying to time the bottom emotionally. Used as a filter rather than a standalone system, RSI becomes a useful tool rather than a trading strategy that competes against the simplest possible alternative.

Try It Yourself — Strategy Backtester

See how the RSI strategy would have performed on any US stock or ETF over the past 1–20 years with our interactive Strategy Backtester. Compare RSI against DCA, momentum, and 5 other strategies side by side.

Open Strategy Backtester →
Disclaimer: This article is for educational purposes only and does not constitute financial advice. Past performance is not indicative of future results.
Free Financial Calculators
Put the numbers to work — try our free tools.
View all tools →
CAGR CalculatorCompound InterestDCA CalculatorDividend & DRIPInflation CalculatorInvestment ReturnPosition SizeRetirement Calculator

Ads help cover server and development costs

ShareXLinkedInRedditFacebookWhatsApp

Read Next

Market TheoryMACD Signals GuideRead article →
Market TheoryMoving Average Crossover StrategyRead article →
Market TheoryWhat is the VIX Index?Read article →
FundamentalsWhen to Sell a StockRead article →

Ads help cover server and development costs

Unlock Full AI-Powered Analysis

Get AI prediction signals, unlimited stock comparisons, portfolio analytics, and personalized watchlists — free for 14 days, no credit card required.

Start Free TrialSign In

14-day free trial · No credit card required · Cancel anytime