INSIGHTS · INDICATORS

Reproducing RS — Weighted Returns and Ranking Limits

2026-06-20 · Updated 2026-12-01 · Indicators · By JEON SIWON

The Relative Strength (RS) rating places a stock’s recent price performance inside Trend Screener’s eligible universe on a 1–99 integer scale. Before using it, distinguish three similarly named tools—the RS rating, the RSI oscillator, and the RS line—because each runs a different calculation and answers a different question.

Three Similarly Named Tools — RS Rating, RSI, and RS Line

A 10% one-month gain means little on its own: if the market gained 15%, the stock lagged; if the market fell 5%, it showed clear relative strength. The RS rating converts that peer comparison into a rank, whereas RSI ignores every other stock and compares only one ticker’s recent up-days against its own down-days.

MeasureComparison BaseCalculation and ScaleQuestion Answered
RS RatingEligible stocks in same marketCross-sectional percentile of 4-leg weighted return (1–99)Where does recent return rank vs. peers?
RSIThe stock’s own recent barsInternal avg-gain vs. avg-loss ratio, often 14d (0–100)How stretched are recent moves?
RS LineBenchmark (S&P 500 or KOSPI)Time-series ratio: stock close ÷ benchmark indexIs the stock pacing ahead of the index?

Keeping these roles distinct avoids common misreadings: high RSI does not establish leadership, high RS does not mean a stock is overbought, and an RS line shows benchmark-relative trajectory rather than peer rank across thousands of stocks.

The Exact Site Formula and a Worked Calculation

Trend Screener computes a weighted return across four trading-day windows: 10% on 1 week (5 sessions), 30% on 1 month (21 sessions), 40% on 3 months (63 sessions), and 20% on 6 months (126 sessions). Crucially, this formula does NOT simply place higher weight on more recent periods: the largest weight belongs to the 3-month quarter (40%), followed by 1 month (30%), 6 months (20%), and 1 week (10%).

Raw score = 0.10 × 5-session return + 0.30 × 21-session return + 0.40 × 63-session return + 0.20 × 126-session return

Centering on 3 months (40%) while limiting 1-week noise to 10% prevents brief spikes from hijacking the rankings and keeps stale 12-month runs from lingering indefinitely. These weights are Trend Screener’s own implementation—not a claim to match commercial RS ratings. Applying them to three hypothetical stocks illustrates the effect:

Hypothetical Stock1W (10%)1M (30%)3M (40%)6M (20%)Raw Score
Stock A (steady advance)+2%+5%+10%+20%+9.7%
Stock B (older gain + 1W spike)+10%−5%0%+30%+5.5%
Stock C (strong 1M–3M leg)+4%+14%+18%+8%+13.4%

Stock A scores 0.2 + 1.5 + 4.0 + 4.0 = 9.7%. Stock B beats Stock A on both 1W (+10%) and 6M (+30%), yet weak 1M (−5%) and flat 3M (0%) returns reduce it to 1.0 − 1.5 + 0.0 + 6.0 = 5.5%. Stock C carries the smallest 6M gain (+8%), yet strong 1M (+14%) and 3M (+18%) legs lift it to 13.4%. Neither a one-week jump nor an older surge guarantees top rank.

Percentile Conversion and Denominators — RS 99 vs. RS 1

Raw scores are ranked ascending inside the market’s eligible RS universe (ties receive average rank) and mapped to 1–99:

RS Rating = clip( round( (average_rank ÷ eligible_RS_count) × 99 ), 1, 99 )

Accordingly, never read RS 99 as “literally the exact top 1% of the entire stock market.” Rounding and ties slightly alter the count on 99, and the denominator is this site’s eligible RS universe—defined by three gates—rather than every listed security:

Beware RS 1 fallbacks: Screen inclusion requires 200 valid closes, whereas RS eligibility requires 250 valid closes and no >400% split-bar outlier. Excluded tickers still display in the table with fallback RS = 1 (failing RS ≥ 70), which is not a measured bottom-percentile return. Likewise, U.S. RS 95 and Korean RS 95 rank separate denominators rather than comparing absolute returns.

Reading the RS Line on a Chart — Structural Divergence

Separately from the 1–99 rating, charts can plot an RS line defined as stock close ÷ benchmark index (S&P 500 or KOSPI). If the benchmark declines while a stock holds sideways below resistance, the denominator shrinks faster than the numerator—pushing the RS line above its prior peak before price breaks out.

Price — consolidating below prior high prior high price clears high later RS line (stock close ÷ benchmark index) RS clears prior peak earlier ← Dashed line: relative ratio hits a new high during a base (descriptive only, not predictive)
Early RS-line high — describes relative resilience inside a base, without predicting future outperformance

Treat the RS line strictly as description: it does not predict future outperformance. If a stock breaks below support the next week, price and the RS line roll over together. Use early relative resilience as a reason to inspect the chart, never as a standalone forecast.

Why High RS Does Not Equal 8/8 Qualification — 2026-10-02

The frozen 2026-10-02 snapshot shows how often RS ≥ 90 disagrees with Trend Template qualification:

Frozen 2026-10-02 SnapshotU.S.Korea
Total analyzed stocks4,8092,436
Stocks rated RS ≥ 90448227
RS ≥ 90 failing 8/8 trend conditions218 (48.66%)171 (75.33%)
RS ≥ 90 passing all 8/8 conditions230 (51.34%)56 (24.67%)

In the U.S., 218 of 448 RS-90 stocks (48.66%) failed at least one trend condition; in Korea, 171 of 227 (75.33%) did. Sharp rebounds off deep lows, former leaders that recently lost SMA50 while retaining 3M/6M gains, and defensive names that fell less in weak markets all produce high RS without 8/8 alignment. See the 2026-10-02 signal-disagreement study for full reproduction files.

Four Limits of RS and What It Leaves Out

Cross-Checking RS with Structure, Extension, and Industry

  1. Combine RS with 8/8 status — On the U.S. Screener, compare high-RS lists with 8/8 on and off to separate aligned uptrends from bottom rebounds.
  2. Verify group strength — Cross-check Industry Rankings to see whether leadership spans the industry or sits in one outlier.
  3. Inspect liquidity, extension, and splits — Turn on the 50-day volume floor, then verify 20-day extension, ADR%, and adjustment history on the chart.
  4. Track 5-session shifts — Monitor Daily Changes for RS moves alongside 8/8 status while basing exits on predefined price risk rules.

Continue to The Eight Trend Conditions to see how RS ≥ 70 joins the seven trend checks, or consult the methodology and glossary for complete definitions.