OPEN-SOURCE SCRIPT
Real Relative Strength

Real Relative Strength (RRS)
Real Relative Strength (RRS) measures a stock's performance relative to a benchmark (default: SPY) while adjusting for volatility using ATR.
Unlike traditional Relative Strength, which compares price performance directly, RRS compares ATR-normalized moves, showing whether a stock is outperforming or underperforming the market on a risk-adjusted basis.
Interpretation
Features
Bullish Candidates
Bearish Candidates
Key Insight:
RRS answers the question: "How many ATRs stronger or weaker is this stock compared to the benchmark over the selected lookback period?" This volatility-adjusted approach helps identify true market leaders and laggards more effectively than traditional relative strength measures.
Real Relative Strength (RRS) measures a stock's performance relative to a benchmark (default: SPY) while adjusting for volatility using ATR.
Unlike traditional Relative Strength, which compares price performance directly, RRS compares ATR-normalized moves, showing whether a stock is outperforming or underperforming the market on a risk-adjusted basis.
Interpretation
- RRS > 0 → Stock is outperforming the benchmark.
- RRS < 0 → Stock is underperforming the benchmark.
- RRS = 0 → Stock is performing in line with the benchmark.
Features
- Uses a rolling lookback period (default: 12 bars).
- Normalizes price movement by ATR to account for volatility differences.
- Includes a correlation indicator to show how closely the stock tracks the benchmark.
- Green fill indicates positive relative strength; red fill indicates negative relative strength.
- Trading Applications
Bullish Candidates
- RRS above zero and rising.
- Price above key moving averages.
- Volume expanding.
- Indicates institutional leadership and market outperformance.
Bearish Candidates
- RRS below zero and falling.
- Price below key moving averages.
- Weak participation during market rallies.
- Indicates relative weakness versus the broader market.
Key Insight:
RRS answers the question: "How many ATRs stronger or weaker is this stock compared to the benchmark over the selected lookback period?" This volatility-adjusted approach helps identify true market leaders and laggards more effectively than traditional relative strength measures.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.