What Is RSI? The Basics Explained
The Relative Strength Index (RSI) is a momentum oscillator developed by J. Welles Wilder Jr. in 1978 and introduced in his book “New Concepts in Technical Trading Systems.” It is one of the most widely used indicators in the world — you will find it on every charting platform from Zerodha Kite to TradingView to MetaTrader.
RSI measures the speed and magnitude of recent price changes to evaluate whether a stock or index is overbought or oversold. It oscillates between 0 and 100, displayed as a line chart below the main price chart. The standard period setting is 14 (meaning it looks at the last 14 candles).
The traditional interpretation is simple:
- RSI above 70 = Overbought (adhik khareedaari) — the stock may be due for a pullback.
- RSI below 30 = Oversold (adhik bikawaali) — the stock may be due for a bounce.
- RSI near 50 = Neutral — no strong momentum in either direction.
However, as you will learn in this article, the traditional interpretation is dangerously oversimplified. Using RSI correctly requires a much deeper understanding, especially when trading liquid Indian instruments like Nifty 50, BankNifty, Reliance, TCS, and HDFC Bank.
RSI Formula: Understanding the Math
You do not need to calculate RSI manually — every charting platform does it for you. But understanding the formula helps you understand what RSI is actually measuring, which makes you a better trader.
The RSI formula has two steps:
Step 1: Calculate the average gain and average loss over the lookback period (default 14 periods).
- Average Gain = Sum of gains over 14 periods / 14
- Average Loss = Sum of losses over 14 periods / 14
Step 2: Calculate the Relative Strength (RS) and then RSI.
- RS = Average Gain / Average Loss
- RSI = 100 − (100 / (1 + RS))
What does this tell us? RSI is essentially measuring the ratio of upward price movement to total price movement over the lookback period. If every single candle in the last 14 periods was bullish, RSI would be 100. If every single candle was bearish, RSI would be 0. In reality, there is always a mix, so RSI fluctuates between these extremes.
The key insight: RSI is not measuring the absolute price level — it is measuring momentum (gati). A stock can be at its all-time high with RSI at 50 (slowing momentum) or at a multi-month low with RSI at 40 (still has downward momentum). This distinction is critical for avoiding the most common RSI mistakes.
The Overbought/Oversold Trap — Why Most Traders Misuse RSI
The single biggest mistake retail traders make with RSI is treating it as a direct buy/sell signal. They see RSI below 30 and immediately buy, or RSI above 70 and immediately sell. This approach will destroy your trading account in a trending market.
Why “Oversold” Does Not Mean “Buy”
Consider this scenario. Nifty is in a strong downtrend, falling from 23,000. It drops to 22,000 and RSI reaches 28 (oversold). A beginner buys, expecting a bounce. But the selling continues. Nifty drops to 21,500, then 21,000. RSI reaches 20, then 15. The “oversold buy” is now sitting at a massive loss.
This happens because in a strong downtrend, RSI can stay oversold for weeks. The oversold reading does not mean selling is over — it means selling has been aggressive. And aggressive selling can continue. During the March 2020 COVID crash, Nifty’s daily RSI dropped below 20 and stayed there for nearly two weeks as the index fell from 12,000 to 7,500. Traders who bought at “oversold” near 10,000 suffered enormous drawdowns before the eventual recovery.
Why “Overbought” Does Not Mean “Sell”
The same problem exists in reverse. During the 2023-2024 Nifty rally from 18,000 to 22,500, the daily RSI crossed above 70 multiple times. Traders who sold at RSI 70 expecting a reversal were stopped out again and again as Nifty continued climbing. In strong bull markets (tezi ka bazaar), RSI above 70 is not a sell signal — it is a sign of strength. The strongest trends often run with RSI between 70 and 90 for extended periods.
The Correct Way to Use Overbought/Oversold
Use overbought and oversold RSI as an alert, not a trigger. When RSI is below 30, it means: “Start watching for a reversal — the selling is intense.” Then look for confirmation from price action: a bullish candlestick pattern at a support level. Only then do you enter. RSI gives you the alert; price action gives you the entry.
RSI Divergence: The Most Powerful Signal
If there is one RSI concept that can genuinely transform your trading, it is divergence (virodhabhass). Divergence occurs when the price chart and the RSI indicator are telling different stories. This disagreement between price and momentum is one of the earliest and most reliable signals of a potential reversal.
Bearish Divergence (Mandee Virodhabhass)
Bearish divergence occurs when:
- Price makes a higher high (new peak)
- RSI makes a lower high (fails to reach its previous peak)
This means that even though the price is reaching new highs, the momentum behind the rally is weakening. The bulls are pushing the price up, but they are doing so with diminishing force. It is like a car going uphill — the speed is still positive, but the engine is struggling. Eventually, the car will stall and roll back.
Nifty Example: In late 2024, Nifty made a new all-time high above 23,200, but the daily RSI at that peak was only 62 — compared to 78 at the previous major high near 22,800. This bearish divergence warned that the rally was losing steam. Within the next two weeks, Nifty corrected over 500 points. Traders who spotted this divergence and combined it with the resistance zone at 23,200 avoided buying at the top or even took profitable short positions.
Bullish Divergence (Tezi Virodhabhass)
Bullish divergence occurs when:
- Price makes a lower low (new trough)
- RSI makes a higher low (higher trough than before)
This signals that selling pressure is weakening even as the price continues to make new lows. The bears are pushing the price down, but each push is weaker than the last. The selling is exhausting itself.
BankNifty Example: BankNifty fell from 48,000 to 46,500 in a sharp two-week decline. It then bounced to 47,200 before dropping again to a new low of 46,200. However, when you checked the RSI at 46,200, it was at 35 — higher than the 28 reading at the first low of 46,500. Price made a lower low, but RSI made a higher low: classic bullish divergence. BankNifty reversed sharply from 46,200 and rallied over 2,000 points in the following week.
How to Trade Divergence
- Identify the divergence: Compare the last two significant peaks (for bearish) or troughs (for bullish) on both the price chart and RSI.
- Check the location: Divergence at a key support or resistance level is far more reliable than divergence in the middle of nowhere.
- Wait for confirmation: After spotting divergence, wait for a candlestick pattern to confirm the reversal. A bullish engulfing after bullish divergence at support is a high-probability setup.
- Set your stop-loss: Place your stop below the recent low (for bullish divergence) or above the recent high (for bearish divergence).
Hidden Divergence: The Trend Continuation Secret
Most traders know about regular divergence, but very few understand hidden divergence (chhupa virodhabhass). While regular divergence signals a potential reversal, hidden divergence signals trend continuation. It tells you that the existing trend is about to resume after a temporary pullback.
Bullish Hidden Divergence
Occurs when:
- Price makes a higher low (normal pullback in an uptrend)
- RSI makes a lower low
This seems counterintuitive. The RSI is showing more weakness, but the price is holding higher lows. What is happening? The pullback has caused RSI to dip (natural), but the underlying trend structure remains bullish (price still making higher lows). The dip in RSI is actually resetting the momentum for the next leg up.
Reliance Example: Reliance was in a clear uptrend from ₹2,300 to ₹2,700. During a pullback, the stock dipped to ₹2,500 (a higher low compared to the previous ₹2,400 swing low). But RSI at ₹2,500 was 38, lower than the 42 reading at the previous swing low of ₹2,400. Bullish hidden divergence. Reliance resumed its uptrend and rallied to ₹2,800 within three weeks. This pattern is especially useful for adding to existing positions during pullbacks in a strong trend.
Bearish Hidden Divergence
Occurs when:
- Price makes a lower high (normal bounce in a downtrend)
- RSI makes a higher high
The bounce has pushed RSI higher, but the price failed to make a new high. The downtrend structure is intact, and the bounce was just a temporary relief rally. The downtrend is likely to continue.
Infosys Example: Infosys was falling from ₹1,800 to ₹1,550 in a clear downtrend. During a bounce, the stock rallied to ₹1,650 (lower high compared to the prior ₹1,700 high). But RSI at ₹1,650 was 55, higher than the 48 reading at the previous bounce peak of ₹1,700. Bearish hidden divergence signalled that the downtrend would resume. Infosys fell to ₹1,480 over the next two weeks.
RSI in Trending vs. Ranging Markets
One of the most important yet overlooked aspects of using RSI is adjusting your interpretation based on whether the market is trending or ranging (sideways).
Ranging (Sideways) Market
In a range-bound market (where Nifty is, say, oscillating between 22,000 and 23,000 for weeks), the traditional 70/30 overbought/oversold levels work reasonably well. RSI tends to oscillate between these levels in a predictable pattern, bouncing off 30 and reversing at 70. This is the textbook scenario where buying at RSI 30 and selling at RSI 70 can actually be profitable.
Strong Uptrend
In a strong bull market, the RSI baseline shifts upward. RSI tends to oscillate between 40 and 80 instead of 30 and 70. In this environment:
- Adjust your “oversold” level to 40 instead of 30. When RSI pulls back to 40 in an uptrend, it is often a good buying opportunity.
- Do not sell just because RSI hits 70. In strong uptrends, RSI can stay between 70 and 90 for extended periods.
- RSI dropping below 40 in an uptrend is a warning that the trend may be changing.
During the 2023 Nifty rally, RSI on the weekly chart rarely dropped below 45. Traders who bought every time daily RSI pulled back to 40-45 captured multiple profitable swing trades.
Strong Downtrend
In a bear market, the RSI baseline shifts downward. RSI oscillates between 20 and 60.
- Adjust your “overbought” level to 60 instead of 70. When RSI rallies to 60 in a downtrend, it is often a selling/shorting opportunity.
- Do not buy just because RSI hits 30 in a downtrend. It can go to 20 or even 10.
- RSI breaking above 60 in a downtrend may signal a trend change.
Combining RSI with Support/Resistance and Candlesticks
RSI is most powerful when used as part of a three-factor confirmation system. Here is the framework we teach at Market Credo:
The Three-Factor Setup
- Support/Resistance (Where): Identify a key price level. Use horizontal S&R, trendlines, moving averages, or Fibonacci levels. This tells you where to look for trades.
- RSI Signal (Why): Check if RSI is showing divergence, is in oversold/overbought territory, or is breaking a trendline of its own. This tells you why a reversal might happen — because momentum is shifting.
- Candlestick Pattern (When): Wait for a bullish or bearish candlestick pattern to form at the key level. A hammer, engulfing, or morning star at support with bullish RSI divergence is the gold standard. This tells you when to enter.
Example: The Triple Confirmation Trade
Nifty is at 22,000 — a well-established support level. RSI on the daily chart shows bullish divergence (price made a lower low, RSI made a higher low). Then a bullish engulfing candle forms right at 22,000. This is a triple confirmation: the right location, the right momentum signal, and the right price action trigger. Enter long with a stop-loss below 21,900 (below the support zone). This kind of setup has a success rate well above 65-70% based on extensive backtesting on Indian market data.
The beauty of this approach is that it filters out most noise. You are not trading every RSI signal or every candlestick pattern. You are only trading when all three factors align — and that alignment happens rarely enough that when it does, the probability is significantly in your favour.
Indian Market Examples: Nifty, BankNifty & Beyond
Nifty 50 Weekly RSI
The weekly RSI on Nifty is watched by every institutional trader in India. When the Nifty weekly RSI dips below 40 — which happens only during significant corrections — it has historically been an excellent buying zone. During the last five years, every time the Nifty weekly RSI touched 35-40, it marked a major swing low: March 2020 (COVID crash), June 2022 (rate hike correction), and March 2023 (Adani crisis selloff). Positional traders who bought Nifty or Nifty ETFs at these weekly RSI readings captured multi-thousand-point rallies.
BankNifty: RSI Divergence at Option Strikes
BankNifty options traders can combine RSI divergence with the highest put/call OI strikes for powerful setups. If BankNifty is falling toward the highest put OI strike (say, 47,000) and the 15-minute RSI shows bullish divergence, that is a strong signal to buy 47,000 call options or sell 47,000 put options. The option OI provides the support level, and RSI divergence provides the momentum confirmation. This strategy works particularly well on expiry days when option writers actively defend key strikes.
TCS: RSI Trend Following
TCS, as a large-cap IT stock with smooth price action, responds beautifully to RSI analysis. During TCS’s multi-month rally from ₹3,200 to ₹4,200, every pullback in the daily RSI to the 40-45 zone provided a buying opportunity. Swing traders who used the 40 RSI level as their “buy zone” (adjusted for uptrend) and combined it with the 50-day EMA support caught three profitable swing trades of ₹200+ each.
HDFC Bank: Classic Double Divergence
HDFC Bank showed a rare “double bullish divergence” at the ₹1,400 level. The stock made three lower lows (₹1,450, ₹1,420, ₹1,400) while RSI made three higher lows (25, 30, 35). This triple-push divergence — where each successive low in price is accompanied by a higher RSI reading — is an extremely powerful signal. HDFC Bank reversed from ₹1,400 and rallied to ₹1,600 in the following month, a move of ₹200 per share.
In 20 years of using indicators, I have learnt one fundamental truth: RSI does not tell you what to do — it tells you what the market is feeling. When RSI shows divergence at a key level, it is the market whispering to you: “The trend is tired, something is about to change.” Your job is not to act on that whisper immediately. Your job is to wait for the market to confirm the change with price action. At Market Credo, I teach my students a simple rule: “RSI ke liye sabr rakhna seekho” (learn to be patient with RSI). Never rush into a trade because RSI is oversold or because you spotted a divergence. Wait for the candle to confirm. That one habit — waiting for confirmation after an RSI signal — will save you more money than any indicator setting or formula ever could. The indicator shows the possibility; price action shows the reality.
— Atish Shakergaye, SEBI Reg. INH000006086, 20+ Years ExperienceCommon Mistakes to Avoid
After teaching RSI analysis to 500+ students at Market Credo, these are the mistakes I see most frequently:
- Buying solely because RSI is below 30: As discussed, oversold RSI in a downtrend can stay oversold for weeks. RSI below 30 is an alert, not a buy signal. Always wait for price-based confirmation before entering. The cost of patience is a few points of entry; the cost of impatience can be your entire position.
- Selling in a strong uptrend because RSI is “overbought”: In bull markets, the strongest stocks have RSI above 70 for extended periods. Selling Reliance at RSI 72 during a strong rally means you miss the next ₹200 of upside. Adjust your overbought threshold to 80 in strong uptrends.
- Over-optimizing the RSI period: Some traders endlessly test RSI with periods of 7, 9, 12, 21, etc. This is a trap. The standard 14-period RSI works well for most situations. The edge in trading comes from reading context, not from finding the perfect indicator setting. Do not waste time optimising what does not need fixing.
- Ignoring divergence in favour of overbought/oversold: Divergence is far more reliable than simple overbought/oversold readings. If you learn nothing else from this article, learn to spot divergence. It is the single most valuable RSI skill.
- Using RSI on very low timeframes: RSI on a 1-minute chart produces noise, not signals. On BankNifty, even a 5-minute RSI generates too many false signals. Use 15-minute RSI as the minimum for intraday, and daily RSI for swing trades.
- Using RSI in isolation: RSI should never be your sole reason for entering a trade. It is a confirmation tool, not a primary tool. Your primary analysis should be based on price action, support/resistance, and chart structure. RSI adds a layer of confirmation on top of that foundation.
- Not understanding the difference between regular and hidden divergence: Regular divergence signals reversal. Hidden divergence signals continuation. Using the wrong type leads to trading against the trend. Learn both types and apply them in the correct context.
Frequently Asked Questions
Conclusion
RSI is one of the most powerful tools in a trader’s arsenal — but only when used correctly. The difference between a beginner and a professional trader often comes down to how they use this single indicator. Beginners buy at oversold and sell at overbought. Professionals use divergence at key levels with candlestick confirmation.
Here are the key takeaways from this guide:
- RSI measures momentum, not price direction. A high RSI does not mean “sell” and a low RSI does not mean “buy.”
- Divergence is the most reliable RSI signal. Learn to spot both regular divergence (reversal) and hidden divergence (continuation).
- Adjust your RSI thresholds based on market conditions. Use 80/40 in uptrends and 60/20 in downtrends instead of the standard 70/30.
- Never use RSI in isolation. Combine it with support/resistance for location and candlestick patterns for timing.
- The three-factor system works: S&R (where) + RSI (why) + candlestick (when) = high-probability entry.
- Practice on live charts. Open Nifty or BankNifty daily chart, add RSI (14), and start marking divergences. The more you practice, the faster you will spot them in real-time.
RSI is not a crystal ball — no indicator is. But when you understand what it is truly measuring and combine it with solid price action analysis, it becomes an incredibly valuable confirmation tool. At Market Credo, we dedicate an entire module to indicator analysis, covering RSI, MACD, Bollinger Bands, and volume indicators, always in the context of real Indian market charts.
Master RSI & Technical Indicators with Live Practice
Join Market Credo's free 2-day demo class. Learn RSI divergence on real-time Nifty charts with Atish Shakergaye.
Book Free Demo Class <GO>