StrategyLab

RSI oversold bounce

Buy when RSI(14) drops below 30. Book 8% profit or cut the loss at 5%.

Swing tradingDays to a few weeksBeginnerTested on 10 stocks & indices

₹1 lakh in HDFCBANK, Nov 2011 → Nov 2026

19 Nov 2011 → 19 Nov 2026
Buy & hold Best
₹8.42 L
XIRR 15.3% · Worst fall −41.1%
RSI oversold bounce
₹3.24 L
XIRR 8.2% · Worst fall −32.4% · 24 trades, 54% won
₹0₹2.5L₹5L₹7.5L₹10L20112013201520172019202120232025
Money investedRSI oversold bounceBuy & hold

The idea

RSI (Relative Strength Index) scores recent selling pressure from 0 to 100. Below 30 is called “oversold”. The bet is simple: panic selling overshoots, and a good stock snaps back a little. It is the first swing setup most Indian traders learn.

The rules

Buy
RSI(14) closes below 30
Sell
Trade is up 8% (target) or down 5% (stop-loss), checked on every close
Size
All capital in one trade, one trade at a time
Waiting
Idle cash earns 6% a year
Prompt to paste in the Lab

Start with ₹1 lakh in HDFCBANK. Buy when RSI(14) falls below 30, sell at +8% profit or -5% loss. Idle cash earns 6%, 0.2% cost per trade. Compare with buy and hold over the last 15 years.

Test it in the Lab

Verdict across 10 stocks and indices

One stock can flatter any rule. The same rules on more names show whether it is an edge or luck.

0/10higher XIRR than buy & hold
10/10smaller worst fall

RSI oversold bounce: on average 6.19 points a year worse than buy & hold on XIRR, with a worst fall 20.4 points smaller.

Stock / indexBuy & holdRSI oversold bounceTradesWonTime in market
XIRRWorst fallXIRRWorst fall
NIFTY5011.8%−38.4%7.7%−25.9%2162%25%
BANKNIFTY14.2%−47.9%7.9%−38.7%3456%20%
RELIANCE15.3%−45.1%8.3%−25.5%2857%20%
HDFCBANK15.3%−41.1%8.2%−32.4%2454%17%
ICICIBANK19.3%−51.5%7.9%−29.8%3148%13%
TCS12.9%−53.4%10.2%−25.4%2864%18%
INFY11.1%−48.2%7.2%−18.0%3148%22%
SBIN15.2%−59.5%7.1%−29.2%3944%17%
ITC9.2%−55.3%5.5%−27.4%2148%18%
LT16.2%−54.4%8.7%−38.0%3256%13%

Each row is a separate backtest, 19 Nov 2011 → 19 Nov 2026. Green marks the best value in the row. Worst fall is the maximum drawdown: the largest drop from a peak in portfolio value.

Real trades, real dates

From the HDFCBANK backtest above: the median winner and loser. Exits are checked on closing prices, so a gap can push a loss past the stop-loss.

A typical winning trade

Bought HDFCBANK10 Jan 2025at ₹804.03
74 days
Sold25 Mar 2025at ₹883.96

₹2,80,293 in → ₹3,06,926 out · +9.5% after costs

A typical losing trade

Bought HDFCBANK12 Sep 2018at ₹464.71
49 days
Sold31 Oct 2018at ₹441.59

₹2,67,335 in → ₹2,53,020 out · −5.4% after costs

Last 8 trades
BoughtPriceSoldPriceDaysResult
10 Sep 2026₹693.806 Nov 2026₹788.2557+13.2%
20 Mar 2026₹767.751 Apr 2026₹730.1712−5.3%
4 Mar 2026₹854.5216 Mar 2026₹826.9212−3.6%
3 Sep 2025₹938.9216 Feb 2026₹910.74166−3.4%
10 Jan 2025₹804.0325 Mar 2025₹883.9674+9.5%
14 Feb 2024₹662.645 Apr 2024₹741.8751+11.5%
19 Jan 2024₹704.1013 Feb 2024₹667.6225−5.6%
27 Oct 2023₹703.385 Dec 2023₹777.3739+10.1%

Tends to work

  • Quality large caps that dip and recover inside a range
  • Market-wide panics, when good stocks get sold with bad ones

Tends to fail

  • Stocks in a long downtrend: RSI stays low and the stop-loss keeps firing
  • Strong bull runs: RSI rarely reaches 30, so money sits idle

Make it yours

Click one to open it in the Lab, or write your own twist in plain English.

Assumptions and the exact spec the engine ran
  • ₹1,00,000 invested once; each trade uses all available cash
  • 0.2% cost on every buy and every sell (STT, brokerage, exchange charges, stamp duty)
  • Cash waiting between trades earns 6% a year, like a liquid fund
  • Prices are daily closes; indices are price indices (no dividends), stock prices include dividends
  • Taxes are not deducted
  • Signals are filled at the next day's close.
  • The stock list is today's, so stocks that were delisted or shrank are missing (survivorship bias).
{
  "title": "RSI oversold bounce: HDFCBANK",
  "years": 15,
  "cost_pct": 0.2,
  "assumptions": [
    "₹1,00,000 invested once; each trade uses all available cash",
    "0.2% cost on every buy and every sell (STT, brokerage, exchange charges, stamp duty)",
    "Cash waiting between trades earns 6% a year, like a liquid fund",
    "Prices are daily closes; indices are price indices (no dividends), stock prices include dividends",
    "Taxes are not deducted"
  ],
  "strategies": [
    {
      "name": "Buy & hold",
      "symbol": "HDFCBANK",
      "contribution": {
        "amount": 100000,
        "every": "once"
      },
      "buy": {
        "when": "on_contribution"
      }
    },
    {
      "name": "RSI oversold bounce",
      "symbol": "HDFCBANK",
      "contribution": {
        "amount": 100000,
        "every": "once"
      },
      "cash_interest_pct": 6,
      "buy": {
        "when": "signal",
        "check": "daily",
        "condition": {
          "type": "rsi",
          "days": 14,
          "op": "<",
          "value": 30
        },
        "amount": "all_cash"
      },
      "sell": {
        "check": "daily",
        "condition": {
          "type": "any",
          "conditions": [
            {
              "type": "position_return",
              "op": ">=",
              "value": 0.08
            },
            {
              "type": "position_return",
              "op": "<=",
              "value": -0.05
            }
          ]
        },
        "fraction": 1
      }
    }
  ]
}

Keep researching

All strategies