MarketInOut Stock Screener Log In | Sign Up

Relative Strength (Comparative) and Performance

By MarketInOut · Updated November 16, 2026

Comparative relative strength measures how a stock is doing against a benchmark: an index, a sector ETF or another stock. The classic version is a ratio line, the stock’s price divided by the benchmark’s price. When the line rises, the stock is beating the benchmark; when it falls, the stock is lagging. Its close cousin is the performance chart, which shows each price as a percentage change from a starting date so that several symbols can be compared on one scale. Despite the name, it has nothing to do with the Relative Strength Index (RSI), which compares a stock only with its own past gains and losses.

How it is calculated

RS line     = close of the stock / close of the benchmark
Performance = 100 × (close − close at the start date) / close at the start date
RS rank     = percentile of the stock’s N-bar return among all stocks on its exchange (0 to 100)

The ratio line is often multiplied by 100 or rebased to 1 at the start of the chart; that changes the scale, not the shape. Only the direction and slope of the line matter: a ratio of 0.45 says nothing on its own, but a ratio that has risen from 0.40 to 0.45 says the stock has beaten the benchmark by about 12% over that span. Performance charts answer the same question visually: put two symbols on a percentage scale from the same date and the higher line has done better. The RS rank turns the idea into a single number by ranking each stock’s return against every other stock instead of one benchmark.

How to read it

  • Rising line. The stock is outperforming: rising faster in an up market or falling less in a down market. Leading stocks in an uptrend usually show a rising RS line.
  • Falling line. The stock is underperforming, even if its price is still going up. A stock that rises 5% while the market rises 15% has a falling RS line.
  • Flat line. The stock is moving in step with the benchmark, gaining and losing about the same percentages.
  • RS line at a new high before price. When the ratio line breaks to a new high while the price is still below its own high, the stock is already leading. Many growth traders watch for this before a breakout.
  • Divergence. Price makes a new high but the RS line does not: the stock is going up with the market, not ahead of it. The reverse at lows can mark a stock that is holding up better than its peers.
  • Ranking and rotation. Comparing sectors or industries with the index shows where money is moving. A group whose RS line turns up after a long decline is gaining leadership.

Settings and common mistakes

  • Choosing the benchmark. Compare a stock with the market it trades in and with its own sector. Beating the S&P 500 is less impressive if the whole sector is beating it by more.
  • Reading the level. The ratio value depends on the two prices and has no meaning by itself. Read the trend of the line, its highs and lows, as you would a price chart.
  • Mistaking outperformance for gains. In a falling market a stock can have a rising RS line and still lose money. Relative strength says which stock is stronger, not whether either is going up.
  • Using too short a window. Over a few days, relative strength mostly reflects noise and news. Rankings over three months to a year are more stable; short windows are better for spotting a fresh change.
  • Confusing it with RSI. RSI is an overbought/oversold oscillator built from one stock’s own price changes. Comparative relative strength always needs a second symbol or a universe to compare with.

AAPL (Apple) compared with SPY (S&P 500 ETF), daily, with Apple’s 1-year RS rank in the lower panel

Live chart: AAPL (Apple), daily, compared with SPY (S&P 500 ETF), drawn as a light line rescaled to start at the same point on the left. When Apple’s bars pull away above SPY’s line, Apple is outperforming; when they sink below it, Apple is lagging. The lower panel is Apple’s RS rank: its 1-year return ranked from 0 to 100 against other stocks on its exchange. The chart updates every trading day.

Screen for it on MarketInOut

Our formula language can build the ratio line directly with the @ operator, which reads a value from another ticker’s chart. Stocks above their 50-day average whose RS line against SPY just reached a new 52-week high:

exch(nyse,nasdaq) and type(stock) and price > 1 and advol(21) > 1
and price > sma(50) and c / c@spy > max(c / c@spy, 252)@1

Stocks that have beaten SPY by more than 20 percentage points over the past six months (126 bars) and are above their 50-day average:

exch(nyse,nasdaq) and type(stock) and price > 1 and advol(21) > 1
and price > sma(50) and change(126) > change(126)@spy + 20

For a ranking against the whole exchange instead of one benchmark, use rs(N). Stocks whose 1-year return is in the top 10% of their exchange, above their 50-day average:

exch(nyse,nasdaq) and type(stock) and price > 1 and advol(21) > 1
and price > sma(50) and rs(252) > 90

Related: Price Rate of Change, CAN SLIM, Relative Strength Index (RSI).




Disclaimer - Privacy Policy - Terms of Service - Cookies - FAQ - Affiliates - Blog