GALE.IN

Home Guides

RSI Indicator: Formula, Signals and How Traders Use It

· 13 min read · Guides · Technical Analysis

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

ItemStandard conventionWhat it actually tells you
Range0 to 100Normalised recent momentum, not expected return
Default length14 barsUses 14 periods of changes; “bar” depends on chart timeframe
Common upper level70Strong recent upward momentum, traditionally called overbought
Common lower level30Strong recent downward momentum, traditionally called oversold
Centre line50Average gains and losses are in balance around this point
Default inputClosing priceIntraday high/low is not directly used in standard close-based RSI
CreatorJ. 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.

BarClose (₹)ChangeGain usedLoss used
0100
1102+220
2101−101
3104+330
4105+110
5103−202

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:

  1. Length: RSI(14) on a daily chart uses 14 daily changes; RSI(14) on a 15-minute chart uses 14 fifteen-minute changes.
  2. 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 zoneConventional labelSensible interpretationCommon mistake
70–100OverboughtUpward momentum has been unusually strongShorting merely because RSI crossed 70
50–70Bullish sideAverage gains exceed average lossesAssuming every reading above 50 predicts a rally
Around 50Momentum balanceNeither side dominates the chosen lookbackTreating 50 as a precise support price
30–50Bearish sideAverage losses exceed average gainsBuying because RSI is “nearly oversold”
0–30OversoldDownward momentum has been unusually strongCatching 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.

SignalMinimum observationStronger confirmationMain failure mode
Oversold exitRSI reclaims 30Support holds and price forms a higher highDowntrend resumes
Overbought exitRSI falls below 70Price loses support on expanding volumeNormal pause in a strong uptrend
50 crossoverRSI closes across centreTrend/moving average agreesSideways whipsaw
Bullish divergenceLower price low, higher RSI lowBreak above intervening swing highRepeated lower lows
Bearish divergenceHigher price high, lower RSI highBreak below intervening swing lowTrend continues despite divergence
Failure swingFour-stage RSI patternPrice structure confirmsSubjective 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.

SettingBehaviourPossible useCost
RSI(5) or RSI(7)Very responsiveShort tactical charts and mean-reversion testsMany false extremes and crossovers
RSI(14)Standard balanceGeneral daily-chart analysisStill regime-dependent
RSI(21)SmootherSwing/position analysis with fewer signalsLater entries and exits
Weekly RSI(14)Measures weekly momentumLong-horizon regime contextToo 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 questionAcceptable evidenceWarning sign
What is the higher-timeframe trend?Clear price structure and chosen trend measureRule changes after seeing RSI
Is the stock liquid enough?Reasonable spread, depth and traded valueLast price jumps on tiny trades
What exact RSI event occurred?Close-based, timestamped ruleIntrabar reading that vanished by close
Is there independent confirmation?Support break/reclaim, volume or relative strengthSeveral 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 capAveraging 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.

ChartRSI(14) represents roughlySuitable question
5-minute70 minutes of barsIs very short-term momentum stretched?
15-minute3.5 trading hoursHow is the current session evolving?
Daily14 trading daysHas swing momentum reached an extreme?
Weekly14 weeksIs 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

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

ToolWhat it emphasisesBounded?Useful distinction from RSI
RSIRatio of smoothed gains to lossesYes, 0–100Clear momentum zones and divergences
Stochastic oscillatorClose relative to recent high-low rangeYes, 0–100Focuses on location inside range
MACDDifference between exponential moving averagesNoMore explicitly trend-following
Rate of ChangePercentage move over a lookbackNoDirect magnitude of price change
Money Flow IndexPrice momentum with volume inputYes, 0–100Adds 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.

Sources

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.

RSI IndicatorTechnical AnalysisMomentumTrading SignalsStock Charts