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.

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.

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