Loading live prices...
RSI

Relative Strength Index

A momentum oscillator that measures the speed and magnitude of recent price changes to evaluate overbought or oversold conditions.

What Is RSI?

The Relative Strength Index (RSI) is one of the most widely used momentum oscillators in technical analysis, developed by J. Welles Wilder Jr. in 1978. It measures the speed and magnitude of recent price changes on a scale from 0 to 100, helping traders identify whether a stock or index like Nifty 50 is overbought or oversold.

RSI does not measure the strength of a stock relative to another stock or to the market. Rather, it measures the internal strength of a single security by comparing the magnitude of its recent gains to the magnitude of its recent losses. Think of it as a thermometer for momentum: readings above 70 suggest the market may be overheated (overbought), while readings below 30 suggest it may be oversold and due for a bounce.

The standard RSI uses a 14-period lookback window, which means it considers the last 14 candles (whether daily, hourly, or any timeframe). Shorter periods like 7 or 9 make RSI more sensitive and produce more signals, while longer periods like 21 or 25 smooth out the oscillator and reduce noise. For Nifty and Bank Nifty intraday trading, many Indian traders use a 14-period RSI on the 15-minute chart.

Unlike trend-following indicators such as moving averages, RSI is a leading indicator that often signals potential reversals before they appear on the price chart. However, this also means RSI can give premature signals in strong trending markets, which is why understanding its limitations is just as important as knowing how to use it.

The Formula

RSI = 100 - 100 / (1 + RS)
RS = Average Gain / Average Loss

RS = Relative Strength = ratio of average gain to average loss over the lookback period

Average Gain = Sum of gains over the last N periods / N (using smoothed average after the first calculation)

Average Loss = Sum of losses over the last N periods / N (using smoothed average after the first calculation)

N = Lookback period (default = 14)

Smoothed Average = (Previous Avg x 13 + Current Gain or Loss) / 14

The first RSI value uses a simple average of gains and losses. After that, a smoothed (exponential-style) average is used, which gives more weight to recent data and makes the indicator responsive to current market conditions.

RSI Zones

RSI Zones & Interpretation 0 20 30 50 70 80 100 Overbought Zone (>70) Neutral Zone (30-70) Oversold Zone (<30) RSI Value Time

RSI oscillates between 0 and 100. Readings above 70 suggest overbought conditions, below 30 suggest oversold. The 50-level acts as a bullish/bearish divider.

Overbought & Oversold Levels

Overbought (RSI > 70)

  • Indicates strong buying pressure has pushed prices up rapidly
  • Does NOT automatically mean "sell" -- in strong uptrends, RSI can stay above 70 for extended periods
  • More reliable as a sell signal in range-bound markets
  • Some traders use 80 as the threshold in strong bull markets
  • Look for RSI turning down from overbought as the actual signal, not just the level itself

Oversold (RSI < 30)

  • Indicates heavy selling pressure has driven prices down sharply
  • Does NOT automatically mean "buy" -- in bear markets, RSI can remain below 30 for weeks
  • More reliable as a buy signal when the broader trend is up
  • Some traders use 20 as the threshold in severe bear phases
  • Wait for RSI to turn up from oversold before entering long positions

Nifty 50 Example: Oversold Bounce

During a sharp market correction, Nifty drops from 24,800 to 23,600 in just 5 trading sessions. The daily RSI(14) plunges to 22. Over the next 3 sessions, RSI turns up and crosses above 30.

This RSI reversal from oversold territory signals a potential bounce. Nifty recovers 400 points over the next week.

Key point: The signal was not when RSI hit 22 (it could have gone lower), but when it turned back up and crossed above 30.

RSI Divergence

Divergence occurs when the price and RSI move in opposite directions. This is one of the most powerful signals RSI can generate, often foreshadowing trend reversals before they appear on the price chart.

Bullish Divergence

  • Price makes a lower low, but RSI makes a higher low
  • Indicates selling momentum is weakening even as price drops
  • Stronger when it occurs in oversold territory (RSI below 30)
  • Often precedes a rally or at minimum a significant bounce
  • Example: Nifty drops from 24,000 to 23,700 (lower low), but RSI rises from 25 to 32 (higher low) -- bullish setup

Bearish Divergence

  • Price makes a higher high, but RSI makes a lower high
  • Indicates buying momentum is fading even as price rises
  • Stronger when it occurs in overbought territory (RSI above 70)
  • Often precedes a correction or trend reversal
  • Example: Bank Nifty rallies from 52,000 to 53,200 (higher high), but RSI drops from 78 to 68 (lower high) -- bearish warning

Important: Divergence is a warning signal, not a timing tool. A divergence can persist for several candles before the reversal actually happens. Always wait for a confirming price action signal (like a candlestick pattern or trendline break) before acting on a divergence.

RSI Failure Swings

Wilder considered the failure swing to be a stronger reversal signal than divergence. A failure swing is entirely an RSI pattern and does not depend on price action.

Bullish Failure Swing

RSI drops below 30 (oversold), bounces above 30, pulls back but stays above 30, then breaks above its prior swing high. This confirms the reversal. The key is that RSI does not re-enter oversold territory on the pullback.

Bearish Failure Swing

RSI rises above 70 (overbought), drops below 70, rallies but fails to cross 70 again, then breaks below its prior swing low. This confirms the reversal. RSI's inability to re-enter overbought territory shows momentum has shifted.

Bank Nifty: Bearish Failure Swing

Bank Nifty RSI(14) on the daily chart rises to 76 (overbought). It then drops to 65. Bank Nifty tries to rally again, pushing RSI back to 68, but it fails to cross 70.

When RSI breaks below 65 (the prior swing low), the bearish failure swing is confirmed. Bank Nifty proceeds to fall 1,200 points over the next week.

RSI Trendlines

Just as you can draw trendlines on price charts, you can draw trendlines on the RSI chart itself. RSI trendline breaks often precede price trendline breaks, giving you an early warning of trend changes.

Drawing RSI Trendlines

Connect two or more swing highs or swing lows on the RSI oscillator. When RSI breaks through this trendline, it signals a potential shift in momentum even before the price chart confirms it.

Why It Works

RSI strips away the noise of absolute price levels and focuses purely on momentum. A trendline break in RSI reflects a genuine shift in buying/selling pressure that price will eventually follow.

Best Timeframes

RSI trendlines work best on daily and 4-hour charts. On very short timeframes (1-min, 5-min), the RSI trendlines break too frequently to be reliable for Nifty intraday trading.

Combining RSI with MACD

RSI and MACD complement each other because RSI is an oscillator that measures overbought/oversold conditions, while MACD is a trend-following momentum indicator. Together, they provide both context and timing.

Bullish Setup: RSI + MACD Confirmation

Look for RSI to cross above 30 from oversold territory, then confirm with a MACD bullish crossover (MACD line crossing above the signal line). When both signals align, the probability of a successful long trade increases significantly. On Nifty, this dual confirmation can filter out many false buy signals that RSI alone would generate during prolonged downtrends.

Bearish Setup: RSI + MACD Confirmation

Look for RSI to cross below 70 from overbought territory, then confirm with a MACD bearish crossover (MACD line crossing below the signal line). This combination works especially well on Bank Nifty daily charts during distribution phases where the index has been rallying for multiple sessions.

Divergence Cross-Check

If you spot a bearish divergence on RSI (price making higher highs, RSI making lower highs), check if MACD histogram is also declining. When both indicators show divergence simultaneously, the reversal signal is much stronger. This is particularly useful on Nifty weekly charts for identifying major market tops.

Real-World Nifty Examples

Nifty Weekly Expiry Intraday Trade

On a Thursday expiry day, Nifty opens flat at 24,500. On the 15-minute chart, RSI(14) drops to 25 after a quick morning sell-off. At 10:30 AM, RSI crosses back above 30 while Nifty forms a bullish engulfing candle.

A trader buys Nifty 24,500 CE at ₹85. Nifty bounces 120 points. The CE option moves to ₹145, yielding a profit of ₹60 x 25 = ₹1,500 per lot.

Key: The entry was not when RSI hit 25, but when it crossed back above 30 with a confirming candlestick pattern.

Nifty Daily Chart: RSI Divergence Before Correction

Nifty makes a new all-time high at 25,200. However, the daily RSI(14) reads 65 compared to 78 at the previous high of 24,800. This classic bearish divergence suggests the rally is losing steam.

Over the next 10 trading sessions, Nifty corrects 700 points to 24,500. Traders who spotted the divergence were either out of long positions or hedged with puts.

Common Misconceptions

"RSI above 70 means I should sell immediately"

In strong uptrends, RSI can stay above 70 for weeks or even months. During the 2020-2021 Nifty bull run, daily RSI frequently remained above 70. Overbought is a condition, not a signal. Wait for RSI to actually turn down and break below 70.

"RSI below 30 means the stock is cheap and I should buy"

An oversold RSI in a downtrend is like a falling knife. Stocks can stay oversold for prolonged periods during bear markets. Use oversold RSI as an alert, then wait for a confirming reversal pattern or RSI to cross back above 30.

"The default 14-period RSI is always the best setting"

The optimal RSI period depends on your timeframe and trading style. Scalpers may prefer RSI(7) or RSI(9) for faster signals on Nifty 5-minute charts. Test different periods on your specific instrument and timeframe. There is no one-size-fits-all setting.

"RSI works well as a standalone indicator"

RSI alone generates many false signals, especially in trending markets. Using RSI without context from price action, volume, or other indicators leads to poor results. Always combine RSI with at least one other confirmation tool: MACD, moving averages, volume, or support/resistance levels.

Quick Reference Card

Type

Momentum oscillator (leading indicator). Bounded between 0 and 100.

Default Period

14 periods. Use 7-9 for short-term/intraday, 21-25 for longer-term analysis.

Key Levels

70 = overbought threshold. 30 = oversold threshold. 50 = bullish/bearish divider.

Best For

Range-bound markets, identifying potential reversals, spotting divergences, and confirming trend strength.

Weakness

Gives false signals in strong trends. Can remain overbought/oversold for extended periods. Lags in volatile conditions.

Works Well With

MACD, Moving Averages, Bollinger Bands, Volume, and Support/Resistance levels.

Ready to Start Your Trading Journey?

Open your Demat account today and take the first step towards mastering the stock market.

Click Here to Get Started