A momentum oscillator that measures the speed and magnitude of recent price changes to evaluate overbought or oversold conditions.
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.
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 oscillates between 0 and 100. Readings above 70 suggest overbought conditions, below 30 suggest oversold. The 50-level acts as a bullish/bearish divider.
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.
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.
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.
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.
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.
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 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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.
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.
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 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 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.
Momentum oscillator (leading indicator). Bounded between 0 and 100.
14 periods. Use 7-9 for short-term/intraday, 21-25 for longer-term analysis.
70 = overbought threshold. 30 = oversold threshold. 50 = bullish/bearish divider.
Range-bound markets, identifying potential reversals, spotting divergences, and confirming trend strength.
Gives false signals in strong trends. Can remain overbought/oversold for extended periods. Lags in volatile conditions.
MACD, Moving Averages, Bollinger Bands, Volume, and Support/Resistance levels.
Open your Demat account today and take the first step towards mastering the stock market.
Click Here to Get Started