RSI Indicator: Formula, Signals and How Traders Use It
The Relative Strength Index (RSI) is a momentum oscillator that compresses recent gains and losses into a number between 0 and 100. Traders use it to ask a narrow but useful question: how strong has the recent upward or downward price movement been?
RSI does not know whether a company is good, whether a share is undervalued or what tomorrow’s news will be. A reading above 70 is not an automatic sell order, and a reading below 30 is not an automatic buy order. In a strong trend, “overbought” can persist while price keeps rising; in a falling stock, “oversold” can become even more oversold.
This guide is the RSI chapter of Gale’s broader technical-analysis guide. Start with that parent page if trend, support, resistance, moving averages and volume are unfamiliar. Here we focus only on RSI: the exact calculation, what its signals mean, where they fail, and how to turn a colourful line into a testable process.
RSI indicator in one table
| Item | Standard convention | What it actually tells you |
|---|---|---|
| Range | 0 to 100 | Normalised recent momentum, not expected return |
| Default length | 14 bars | Uses 14 periods of changes; “bar” depends on chart timeframe |
| Common upper level | 70 | Strong recent upward momentum, traditionally called overbought |
| Common lower level | 30 | Strong recent downward momentum, traditionally called oversold |
| Centre line | 50 | Average gains and losses are in balance around this point |
| Default input | Closing price | Intraday high/low is not directly used in standard close-based RSI |
| Creator | J. Welles Wilder Jr. | Introduced in New Concepts in Technical Trading Systems (1978) |
TradingView’s official RSI documentation gives the formula, 14-period default and Wilder’s traditional 70/30 interpretation. Zerodha Varsity’s RSI lesson provides an Indian-market calculation walkthrough. Both make clear that the indicator measures the security’s own momentum; despite its name, RSI does not compare one stock’s strength with another stock or an index.
The RSI formula
The calculation has two layers:
RS = average gain over the lookback ÷ average loss over the lookback
RSI = 100 − [100 ÷ (1 + RS)]
Suppose the smoothed average gain is ₹1.50 per bar and the smoothed average loss is ₹0.50. RS is 3. The RSI is:
100 − [100 ÷ (1 + 3)] = 75
That does not mean the stock has risen 75%, has a 75% probability of going up, or is 75% “valuable.” It says average gains were three times average losses under the chosen lookback and smoothing method.
A simplified calculation example
This five-change example is deliberately shorter than the standard 14-period setting so the arithmetic can be seen. Actual charting software applies Wilder’s smoothing after the initial averages.
| Bar | Close (₹) | Change | Gain used | Loss used |
|---|---|---|---|---|
| 0 | 100 | — | — | — |
| 1 | 102 | +2 | 2 | 0 |
| 2 | 101 | −1 | 0 | 1 |
| 3 | 104 | +3 | 3 | 0 |
| 4 | 105 | +1 | 1 | 0 |
| 5 | 103 | −2 | 0 | 2 |
Average gain = (2 + 0 + 3 + 1 + 0) ÷ 5 = 1.2. Average loss = (0 + 1 + 0 + 0 + 2) ÷ 5 = 0.6. RS = 2, so RSI = 100 − 100/3 = 66.67.
Two implementation details matter when you compare platforms:
- Length: RSI(14) on a daily chart uses 14 daily changes; RSI(14) on a 15-minute chart uses 14 fifteen-minute changes.
- Smoothing: Wilder’s moving average is recursive. Recalculating a simple average for every rolling window can produce a different line.
TradingView publishes a code-equivalent calculation using its Wilder-style rma smoothing. If two platforms disagree slightly, compare price source, corporate-action adjustments, session data, bar close, length and smoothing before declaring one wrong.
What do RSI 30, 50 and 70 mean?
The familiar labels are shorthand, not laws.
| RSI zone | Conventional label | Sensible interpretation | Common mistake |
|---|---|---|---|
| 70–100 | Overbought | Upward momentum has been unusually strong | Shorting merely because RSI crossed 70 |
| 50–70 | Bullish side | Average gains exceed average losses | Assuming every reading above 50 predicts a rally |
| Around 50 | Momentum balance | Neither side dominates the chosen lookback | Treating 50 as a precise support price |
| 30–50 | Bearish side | Average losses exceed average gains | Buying because RSI is “nearly oversold” |
| 0–30 | Oversold | Downward momentum has been unusually strong | Catching a falling stock without reversal evidence |
In an established uptrend, RSI may repeatedly pull back toward 40–50 and then recover, while visits above 70 confirm strength. In a downtrend it may struggle near 50–60 and repeatedly revisit 30. This behaviour is why a rigid 30/70 rule performs differently across regimes.
The plain-language translation is more useful than the label:
- RSI above 70: price has risen strongly relative to its recent declines.
- RSI below 30: price has fallen strongly relative to its recent advances.
- RSI crossing 50: the recent gain/loss balance has shifted, but trend and volume still need checking.
Gale’s live oversold-stocks screen uses RSI as a shortlist condition, not a recommendation. The page keeps trend context visible because a low RSI can identify either a rebound candidate or a business in the middle of a genuine repricing.
Six RSI signals traders watch
1. Exit from the oversold zone
Some traders wait for RSI to fall below 30 and then close back above it. The second event matters: momentum has stopped deteriorating enough to leave the extreme zone. A possible process is to require price to hold support, RSI to reclaim 30, and volume to improve.
That remains a setup, not proof. A gap down on adverse results can generate an apparent rebound before selling resumes.
2. Exit from the overbought zone
The mirror signal occurs when RSI rises above 70 and later falls back below it. This says upward momentum has cooled. It does not say the underlying uptrend has ended. Long-term investors sometimes use the event to tighten review discipline rather than sell a sound business automatically.
3. Centre-line crossover
An RSI move above 50 means the smoothed average gain has overtaken the smoothed average loss. Below 50 means the reverse. Centre-line signals are less dramatic than 30/70 extremes but can fit trend-following methods better.
4. Bullish divergence
A regular bullish divergence appears when price makes a lower low while RSI makes a higher low. The new price low arrived with less downside momentum. Traders read that as evidence that sellers may be losing force.
The word “may” is essential. Divergence can persist across several lower price lows. Define which swing points count and wait for price confirmation; otherwise almost any noisy chart can be annotated after the fact.
5. Bearish divergence
A regular bearish divergence appears when price makes a higher high while RSI makes a lower high. Price advanced, but measured momentum failed to confirm the new high. It can warn of slowing demand, yet strong trends often survive one or more divergences.
6. Failure swings
Wilder described failure swings using RSI itself rather than price. A bullish failure swing involves RSI moving below 30, recovering above 30, pulling back without entering oversold again, and then breaking its prior RSI high. A bearish failure swing reverses that sequence above 70.
| Signal | Minimum observation | Stronger confirmation | Main failure mode |
|---|---|---|---|
| Oversold exit | RSI reclaims 30 | Support holds and price forms a higher high | Downtrend resumes |
| Overbought exit | RSI falls below 70 | Price loses support on expanding volume | Normal pause in a strong uptrend |
| 50 crossover | RSI closes across centre | Trend/moving average agrees | Sideways whipsaw |
| Bullish divergence | Lower price low, higher RSI low | Break above intervening swing high | Repeated lower lows |
| Bearish divergence | Higher price high, lower RSI high | Break below intervening swing low | Trend continues despite divergence |
| Failure swing | Four-stage RSI pattern | Price structure confirms | Subjective swing selection |
RSI settings: 14 is a starting point, not a commandment
Changing length changes sensitivity. Short settings react quickly and generate more signals; long settings move slowly and filter more noise.
| Setting | Behaviour | Possible use | Cost |
|---|---|---|---|
| RSI(5) or RSI(7) | Very responsive | Short tactical charts and mean-reversion tests | Many false extremes and crossovers |
| RSI(14) | Standard balance | General daily-chart analysis | Still regime-dependent |
| RSI(21) | Smoother | Swing/position analysis with fewer signals | Later entries and exits |
| Weekly RSI(14) | Measures weekly momentum | Long-horizon regime context | Too slow for a short trade |
Do not choose a setting because it made one historical chart look perfect. That is overfitting. Write down the rule, test it across different stocks, sectors and market phases, include transaction costs, and keep a period of data completely out of the design process.
Thresholds can also vary. Some traders use 80/20 in strong trends to reduce premature counter-trend signals, or 60/40 to study bullish and bearish ranges. A threshold change should solve a defined problem in tested data—not rescue a losing trade.
A practical RSI workflow for Indian stocks
RSI becomes more useful when it occupies one step in a sequence.
Step 1: establish the market and stock trend
Look at price structure first: higher highs and higher lows, lower highs and lower lows, or a range? Check whether price is above or below an appropriately chosen moving average. A bullish RSI signal against a falling index, weak sector and broken stock trend needs stronger evidence.
Step 2: check liquidity and event risk
RSI is calculated from recorded prices; it cannot repair a poor market. In thin microcaps, a handful of trades can move the close and therefore the indicator. Check traded value, spread and depth. Also check exchange filings for results, fund-raising, promoter transactions or regulatory events that can overwhelm chart patterns.
Step 3: state the setup precisely
“RSI looks good” cannot be tested. A rule such as “daily RSI(14) closed back above 30 while price held the prior swing low” can be recorded and reviewed.
Step 4: require price or volume confirmation
An oscillator is derived from price. Adding five other price-derived oscillators may create the illusion of independent evidence. Confirmation is more meaningful when it comes from a different dimension: price structure, volume participation, volatility, relative performance or a fundamental event.
Step 5: define invalidation and position size
Before entry, state what would disprove the setup. It may be a close below a swing low or a failed breakout. Then size the position so that the distance to invalidation does not create an unacceptable portfolio loss. A more “oversold” reading is not permission to increase risk indefinitely.
| Checklist question | Acceptable evidence | Warning sign |
|---|---|---|
| What is the higher-timeframe trend? | Clear price structure and chosen trend measure | Rule changes after seeing RSI |
| Is the stock liquid enough? | Reasonable spread, depth and traded value | Last price jumps on tiny trades |
| What exact RSI event occurred? | Close-based, timestamped rule | Intrabar reading that vanished by close |
| Is there independent confirmation? | Support break/reclaim, volume or relative strength | Several correlated oscillators |
| Where is the setup invalid? | Predefined price level | “I will wait and see” |
| How much can be lost? | Position-level and portfolio-level cap | Averaging down without a new thesis |
RSI across timeframes
The same stock can show daily RSI 28 and weekly RSI 52. That is not a contradiction. Each line answers a different lookback question.
| Chart | RSI(14) represents roughly | Suitable question |
|---|---|---|
| 5-minute | 70 minutes of bars | Is very short-term momentum stretched? |
| 15-minute | 3.5 trading hours | How is the current session evolving? |
| Daily | 14 trading days | Has swing momentum reached an extreme? |
| Weekly | 14 weeks | Is the broader momentum regime strengthening? |
A common top-down process uses the weekly chart for regime, the daily chart for setup and a shorter chart only for execution. The process should not keep changing timeframes until one produces the desired answer. If the thesis is daily, define the signal on completed daily bars.
Why RSI signals fail
Strong trends stay extreme
RSI can remain above 70 through a sustained advance or below 30 during a collapse. The indicator describes the strength that created the extreme; it does not contain a timer for when that strength must end.
Price gaps distort recent momentum
Results, court orders, acquisitions and regulation can cause a large gap. Because the latest change enters the rolling average, RSI may jump or collapse. The indicator cannot judge whether the information has been fully priced.
Illiquid closes are noisy
A closing trade in a thin stock can move the indicator without broad participation. Volume and traded value are not optional context.
Divergence is easy to draw retrospectively
Two analysts can choose different swing points. Reduce hindsight by defining a pivot rule before looking at results and recording signals in real time.
Costs consume small statistical edges
A backtest that ignores brokerage, statutory charges, spread, slippage and taxes overstates what a frequent strategy could have earned. The more sensitive the RSI setting, the more turnover matters.
Fundamental damage is not “oversold” in the useful sense
A falling RSI after an accounting issue, default or permanent loss of demand may simply reflect correct repricing. Read the latest exchange filing. Technical analysis organises behaviour; it does not replace due diligence.
RSI versus other momentum tools
| Tool | What it emphasises | Bounded? | Useful distinction from RSI |
|---|---|---|---|
| RSI | Ratio of smoothed gains to losses | Yes, 0–100 | Clear momentum zones and divergences |
| Stochastic oscillator | Close relative to recent high-low range | Yes, 0–100 | Focuses on location inside range |
| MACD | Difference between exponential moving averages | No | More explicitly trend-following |
| Rate of Change | Percentage move over a lookback | No | Direct magnitude of price change |
| Money Flow Index | Price momentum with volume input | Yes, 0–100 | Adds volume, though still derived and imperfect |
Combining RSI and stochastic does not necessarily provide two independent votes; both are bounded momentum oscillators. A simpler combination—trend structure, one momentum measure, volume and predefined risk—can be easier to audit.
FAQ
What is the best RSI setting for intraday trading?
There is no universal best setting. RSI(14) is the standard baseline. Shorter lengths react faster but create more noise. Test the exact timeframe, universe, execution rule and costs rather than selecting a setting from one successful chart.
Is RSI below 30 a buy signal?
Not by itself. It shows unusually strong recent downside momentum. Some methods wait for RSI to recover above 30, price to hold support and volume or structure to confirm. A stock can remain below 30 while continuing to fall.
Is RSI above 70 a sell signal?
Not automatically. It can identify strength in an uptrend. A move back below 70, bearish price confirmation or a broken trend may be more informative than the first touch of 70.
What does RSI 50 mean?
Around 50, smoothed average gains and losses are broadly balanced for the selected period. Crosses of 50 can be used as momentum-regime signals, but sideways markets generate repeated false crosses.
What is bullish RSI divergence?
Price forms a lower low while RSI forms a higher low. Downside momentum did not confirm the new price low. It is a warning of possible exhaustion, not a guaranteed reversal.
Does RSI work for Indian stocks?
The calculation works on any consistent price series, including NSE and BSE securities. Whether a rule is tradable depends on liquidity, timeframe, regime, costs and execution. Thin or event-driven stocks can produce unreliable signals.
Should RSI be calculated on adjusted prices?
Corporate actions such as splits and bonuses can create artificial jumps in unadjusted history. Use a consistent, properly adjusted series and understand how the data vendor handles dividends and corporate actions.
Related research
- Technical analysis: the parent price-and-volume framework
- Live oversold-stocks screen with trend context
- Position-size calculator and risk framework
- High-volume stocks and participation signals
Sources
- J. Welles Wilder Jr., New Concepts in Technical Trading Systems (1978), the original published source of RSI
- TradingView: Relative Strength Index, formula and standard interpretation
- Zerodha Varsity: Indicators Part 1, worked RSI explanation for Indian-market learners
- NSE technical-analysis programme material, exchange-hosted educational reference
Continue with Gale’s technical-analysis hub for the complete framework, or study the live near-breakout stocks screen to see why an RSI reading needs price and participation context.
This article is for research and education, not personalised investment advice. Gale is not a SEBI-registered investment adviser. RSI and other indicators can give false signals; verify data, test rules, consider your objectives and finances, and seek professional advice where appropriate before acting.