Relative Strength Comparison (RS Line) for Indian Markets
How to calculate and read the Relative Strength (RS) Line for NSE stocks vs Nifty, with a real Reliance worked example, costs, tax and lot sizes.
Key Takeaways
- 1.The Relative Strength (RS) Line is a ratio chart. You divide a stock's closing price by the closing value of a benchmark index such as Nifty 50, then track that ratio over time.
- 2.A rising RS Line means the stock is beating the index even if both are falling. A flat line means the stock simply matches the market. A falling line means it lags.
- 3.The RS Line is NOT the RSI. RSI measures a single stock against its own past prices. RS Line measures one instrument against another.
- 4.Mark Minervini and William O'Neil style traders use the RS Line making a new high before price does as an early leadership clue, especially during base breakouts.
- 5.All numbers below are illustrative, drawn from realistic NSE levels. The RS Line never promises returns. Always confirm live prices, lot sizes and SEBI rules before trading.
What the Relative Strength Comparison (RS Line) Actually Measures
The Relative Strength Comparison, usually drawn as the RS Line, answers one blunt question. Is this stock pulling its weight versus the broad market, or is it dead money you could have parked in an index fund? You build it by dividing the stock close by the index close on the same day and plotting that ratio. The absolute number on the y axis is meaningless. Only the direction matters. If the line slopes up, the stock is gaining ground on the index. If it slopes down, the index is winning.
This is why the RS Line is so useful in a market like India where the headline index can mask huge dispersion underneath. In a single calendar quarter Nifty might rise 4 percent while a leader like an IT or capital goods name rises 18 percent and a laggard public sector bank slips 6 percent. Looking only at the stock chart you would call all three uptrends if the tape is green. The RS Line strips that illusion away. It shows you, in one slope, who is the horse and who is the cart.
Critically, the RS Line works in down markets too. During a correction a stock can fall and still have a rising RS Line, because it is falling slower than Nifty. Those relative leaders are very often the first names to print fresh highs when the market turns, which is exactly why institutional desks track relative strength as a leadership screen rather than a buy button.
RS Line Versus RSI: A Common and Costly Confusion
New traders constantly mix up two very different tools that share the words relative strength. The Relative Strength Index (RSI) is a momentum oscillator bounded between 0 and 100 that compares a stock to its own recent gains and losses. It tells you if the stock is overbought or oversold relative to its history. The RS Line compares a stock to a different instrument, usually an index, and has no fixed bounds at all.
Put simply, RSI asks is this stock stretched against itself, while the RS Line asks is this stock winning against the market. A stock can have an RSI of 75, looking overbought, while its RS Line keeps climbing, telling you the leadership is real and you should respect the trend rather than fade it. Confusing the two leads people to short genuine leaders just because one momentum reading looks hot.
| Feature | RS Line (Relative Strength Comparison) | RSI (Relative Strength Index) |
|---|---|---|
| Compares against | A benchmark like Nifty 50 or a sector index | The stock's own past prices |
| Scale | An open ratio, only the slope matters | Bounded 0 to 100 |
| Main use | Spotting market leaders and laggards | Spotting overbought and oversold momentum |
| Typical signal | Rising line equals outperformance | Above 70 overbought, below 30 oversold |
| Works in a falling market | Yes, can rise while price falls | Reflects the stock's own decline |
How to Calculate the RS Line, Step by Step
The maths is deliberately simple so you can reproduce it in any spreadsheet. For each trading day take the stock close and divide by the index close on the same day. That single value is your RS reading. Repeat it across the period and join the dots. Many charting platforms, including TradingView, do this automatically when you load a comparative symbol, but doing it by hand once makes the logic stick.
- Pick your benchmark. For a large cap use Nifty 50. For a banking name use Bank Nifty. For an IT stock use Nifty IT so the comparison is fair.
- On day one, divide the stock close by the index close. Note the ratio.
- Repeat for every following day using the matching index close for that same day.
- Plot the ratios as a line. Ignore the raw value and read only the slope.
- Optional, divide every reading by the first reading and multiply by 100 to rebase the line to a clean starting value of 100, which makes percentage outperformance easy to see.
Always compare close to close on the same trading session. Mixing a stock close with the previous day's index close, or comparing a stock to an index it has nothing to do with, produces a noisy line that signals nothing. Match the dates and match the universe.
A Real Worked Example: Reliance Industries Versus Nifty 50
Let us replace any made up company with a real, liquid NSE name. We will track Reliance Industries (RELIANCE) against Nifty 50 over five trading sessions. All levels below are illustrative but sit in a realistic range for both. We rebase the RS Line to 100 on day one so outperformance is easy to read in percentage terms.
| Day | Reliance Close (Rs) | Nifty 50 Close | Raw Ratio (Stock / Index) | Rebased RS Line |
|---|---|---|---|---|
| 1 | 2,950 | 24,500 | 0.12041 | 100.0 |
| 2 | 2,985 | 24,560 | 0.12154 | 100.9 |
| 3 | 3,020 | 24,600 | 0.12276 | 101.9 |
| 4 | 3,065 | 24,520 | 0.12500 | 103.8 |
| 5 | 3,110 | 24,640 | 0.12622 | 104.8 |
Read the slope, not the tiny raw ratios. Over these five sessions Reliance rose from 2,950 to 3,110, a gain of about 5.4 percent. Nifty rose from 24,500 to 24,640, a gain of only about 0.6 percent. The rebased RS Line climbed from 100.0 to 104.8, which means Reliance outperformed Nifty by roughly 4.8 percent across the window. Notice day four. Nifty actually slipped from 24,600 to 24,520, yet Reliance climbed and the RS Line jumped to 103.8. That is the signature of a genuine leader. It advanced on a day the market fell. A momentum trader watching the RS Line make new highs ahead of broad strength would flag Reliance as a leadership candidate worth a closer look on the price chart.
The honest caveat. Five sessions is far too short to act on. Relative strength is a multi week signal. Use this as the mechanics, not a trade trigger. A real screen would track the RS Line over several weeks and only act when a rising line lines up with a clean price base and rising volume.
Turning Relative Strength Into a Real Trade and Its Cost
Suppose the multi week RS Line on Reliance keeps rising and you decide to act. Say you buy 250 shares of Reliance for delivery at Rs 3,000, a position worth Rs 7,50,000. Six weeks later, with Nifty up modestly but Reliance leading, you sell at Rs 3,200. Your gross gain is 200 rupees per share times 250 shares, which is Rs 50,000. But the rupee in your pocket is smaller than that, because Indian charges and tax apply. The figures below are illustrative and rates can change, so confirm current numbers with your broker.
- Securities Transaction Tax (STT) on delivery equity is 0.1 percent on both buy and sell. Buy side roughly Rs 750 on 7,50,000 and sell side roughly Rs 800 on 8,00,000, about Rs 1,550 total.
- Brokerage on delivery is zero at several discount brokers, so we take it as nil here. Exchange transaction charges, SEBI fee, stamp duty and GST together add only a few hundred rupees on this size.
- Because you held more than 12 months would qualify as long term, but a six week hold is short term. Short Term Capital Gains (STCG) on listed equity is taxed at 20 percent.
- STCG of 20 percent on a net gain of roughly Rs 48,000 after costs is about Rs 9,600, plus 4 percent health and education cess on the tax, which is a further Rs 384.
So a Rs 50,000 gross gain becomes roughly Rs 48,000 net of transaction costs, and after STCG tax of about Rs 9,984 you keep close to Rs 38,000. The RS Line helped you pick the leader, but the leadership signal does not change your tax treatment. STCG on equity is 20 percent and Long Term Capital Gains (LTCG) above Rs 1.25 lakh is 12.5 percent. If you had instead expressed the same view in Reliance futures or options, the profit would be taxed as business income at your slab rate, not as capital gains, because F&O is treated as a non speculative business under Indian tax rules.
Cash equity held short term is STCG at 20 percent. The exact same directional bet taken in Reliance F&O is business income taxed at your slab. The RS Line is silent on this. Decide your instrument with the tax and lot size in mind, not just the chart.
If You Trade the Leader Through Options Instead
Some traders prefer to express a relative strength idea on an index rather than a single stock, using options for defined risk. Take Nifty itself. The Nifty lot size is 65. Suppose your RS work across sectors suggests broad strength and you buy one weekly Nifty 24,600 call at a premium of Rs 120. Your cost is 120 times 75, which is Rs 9,000 plus charges. This is the most you can lose. If Nifty expires at 24,800, the call is worth 200 points, so 200 times 75 equals Rs 15,000, a gross profit of Rs 6,000 before STT and other charges. If Nifty stays below 24,600 at expiry, the option expires worthless and you lose the full Rs 9,000 premium.
Remember the contract specifics. Nifty weekly options expire on the schedule set by NSE and SEBI, and weekly expiries exist on the main index while many stock options remain monthly. The lot sizes you must respect are Nifty 75, Bank Nifty 15, FinNifty 25 and Sensex 10. STT on the sell side of options is charged on the premium, and any profit on F&O is taxed as business income at slab, never as capital gains. The RS Line points you to where strength is, but the lot size, the expiry calendar and the tax bucket decide how you size and book the trade.
Best Practice Settings for Indian Markets
There is no single magic lookback because the RS Line is a ratio, not a smoothed indicator, but the timeframe you read it on changes the meaning. For positional and swing traders the most useful view is a daily RS Line read over roughly the last 6 to 12 weeks. That window is long enough to filter out single session noise yet short enough to catch a genuine change in leadership early. Intraday RS lines exist but they whip around violently and are best left to scalpers who already understand the instrument.
Choosing the right benchmark matters more than any setting. Comparing an IT name to Nifty 50 can mislead you when the whole IT pack is weak, because the stock might look like a laggard versus the broad index while actually leading its own sector. The fix is to run two RS Lines, one against Nifty 50 for absolute market leadership and one against the relevant sector index such as Nifty Bank, Nifty IT or Nifty Pharma for in sector leadership. A stock that leads both is the strongest possible read.
- Use daily close to close data for swing trading, weekly closes for longer term investing.
- Always run the RS Line against the correct benchmark, broad index for market leadership and sector index for relative sector strength.
- Rebase the line to 100 at the start of your window so you can read outperformance as a clean percentage.
- Treat a rising RS Line as a filter that shortlists candidates, never as a standalone buy or sell button.
Combining the RS Line With Price, Volume and Other Tools
The RS Line is at its best as a confirmation layer, not a lone signal. The classic high probability setup is a stock building a tight price base while its RS Line quietly makes a new high before price breaks out. That early RS new high tells you institutions are accumulating relative to the market even before the obvious breakout. Pair that with a volume expansion on the breakout day and you have three independent things agreeing, price structure, relative strength and participation.
Volume is the truth serum for any RS signal. A rising RS Line on thin volume can be a thin float drifting, not real demand. The same rising line on heavy, above average volume is far more trustworthy. Many traders also overlay a moving average or MACD on the RS Line itself, buying only when the RS Line is above its own moving average. That simple filter removes a lot of noise and stops you chasing a stock whose leadership has already rolled over.
| What you see | What it suggests | Sensible action |
|---|---|---|
| RS Line rising, price basing, volume rising | Genuine accumulation, leadership building | Strong shortlist candidate, watch for breakout |
| RS Line rising, price falling | Stock falling slower than the market | Potential leader on the next market turn, monitor |
| RS Line flat | Stock simply matches the index | No edge here, look elsewhere |
| RS Line falling while price rises | Stock lagging a strong market | Weak relative play, the index may be the better buy |
Limitations, False Signals and How to Avoid Them
The RS Line is powerful but it is a relative tool, and relative can be misleading on its own. A stock can have a beautifully rising RS Line purely because the benchmark is collapsing faster than the stock. In a brutal bear market the relative leader can still be losing you money in absolute terms. Always check the actual price trend alongside the RS Line so you never confuse losing slowly with winning.
Two more traps catch traders often. First, illiquid small caps produce jumpy RS Lines that signal noise rather than information, so stick to liquid names with real institutional participation. Second, the RS Line is blind to news and events. A pending regulatory order, a block deal, a results surprise or an RBI policy shift can reverse a clean RS trend overnight. The line reflects what happened, not what is about to be announced. Treat it as one input among several, alongside the fundamentals and the news flow, never as a crystal ball.
- Always read the absolute price trend next to the RS Line so you do not buy a relative leader that is still losing money.
- Avoid thin small caps where the RS Line is dominated by noise rather than real demand.
- Remember the line is backward looking and cannot price in upcoming news or events.
- Confirm with volume and price structure before acting, and respect position sizing and stop losses regardless of how strong the RS Line looks.
Sources and Further Reading
For authoritative data and contract specifications refer to NSE Indices (Nifty Indices), NSE India, Zerodha Varsity and Investopedia. Always confirm current lot sizes, STT rates, tax rules and expiry schedules on the official source before you trade, because these change over time.
Sources and Further Reading
For authoritative data and further reading on this topic, refer to NSE Indices (Nifty Indices), Zerodha Varsity, Investopedia and NSE India. Always confirm current rules, rates and contract specifications on the official source before you trade.
Related Topics
Related Articles
Understanding the Flag Pattern in Indian Markets
How to trade bullish and bearish flag patterns on Nifty, Bank Nifty and NSE stocks, with a worked example, costs, taxes and honest reliability data.
Understanding the Vertical Horizontal Filter in Indian Markets
How the VHF spots trending vs ranging Nifty, with real NSE regimes, a worked calculation, option tactics, and Indian F&O tax rules.
RSI 2 Period Strategy for Indian Markets
The RSI(2) mean reversion strategy for Indian markets: 200 DMA filter, exact entry and exit rules, and worked Reliance and Bank Nifty rupee examples.
Understanding Trading Psychology in Indian Markets
Learn trading psychology for Indian markets with a worked Nifty options example showing how fear and greed turned a Rs 3,600 loss into Rs 16,500.
Understanding Short Selling in Indian Markets
How short selling works in India: the intraday-only retail rule, SEBI SLB overnight borrowing with a real Reliance borrow-cost example, F&O shorts and tax.
How to Rebalance Your Portfolio in Indian Markets
How to rebalance your Indian portfolio with the correct post-2024 tax: 20% STCG, 12.5% LTCG above Rs 1.25 lakh, plus a worked Nifty example.
The trading journal built for Indian F&O traders. Track your trades, spot patterns, build discipline.
- Log one trade a day by hand, on purpose
- AI mentor finds your repeat mistakes
- Behavioural analytics catch tilt early
- Trading calendar with P&L heatmap
- Pre-trade checklist flags risks
Yearly ₹2,499 · No broker credentials