PROTECTED SOURCE SCRIPT
Relative Strength (RS) By @Byte2Bull

📈 Relative Strength (RS) By Byte2Bull
📌 Overview
This indicator plots a Relative Strength (RS) line that compares the performance of the chart symbol to any benchmark symbol (index, ETF, or stock). By comparing the stock’s price movement to that of the benchmark, this tool highlights whether a stock is outperforming or underperforming the market.
It highlights hidden leaders and emerging strength through dynamic line plots, customizable moving average, and powerful new high detection features, enabling more informed trading decisions.
🛠 Key Features
⦿ Custom Benchmark Selection
⦿ Relative Strength Line with Dynamic Coloring
⦿ Configurable Moving Average
⦿ New High Detection
⦿ MA Crossover
⦿ Visual Enhancements
⦿ Built-in Alerts
Set alerts for:
🎯 How to Use
⦿ Identify Market Leaders:
⦿ Spot Early Strength:
⦿ Filter Weakness:
⦿ Combine with Price Action & Volume:
📌 Overview
This indicator plots a Relative Strength (RS) line that compares the performance of the chart symbol to any benchmark symbol (index, ETF, or stock). By comparing the stock’s price movement to that of the benchmark, this tool highlights whether a stock is outperforming or underperforming the market.
RS value = (Price of symbol / Price of benchmark) × 100
It highlights hidden leaders and emerging strength through dynamic line plots, customizable moving average, and powerful new high detection features, enabling more informed trading decisions.
🛠 Key Features
⦿ Custom Benchmark Selection
- Compare any stock with your chosen benchmark (default: NSE:NIFTYMIDSML400), such as NIFTY50, BANKNIFTY, or sector indices.
⦿ Relative Strength Line with Dynamic Coloring
- Green when RS is above its moving average (strength/outperformance).
- Red when RS is below its moving average (weakness/underperformance).
⦿ Configurable Moving Average
- Apply either EMA or SMA over RS with customizable length. This helps smooth out volatility and provides a clear reference trend.
⦿ New High Detection
- Marks when RS makes a new high.
- Highlights when RS makes a new high before price does → a powerful early signal of hidden strength.
⦿ MA Crossover
- Optional marker for when RS crosses above its moving average, signaling potential start of leadership.
⦿ Visual Enhancements
- Adjustable line thickness.
- Fill area between RS and its MA with green/red shading for quick interpretation.
- Customizable colors for all key signals.
⦿ Built-in Alerts
Set alerts for:
- RS New High
- RS New High Before Price
- Bullish MA Crossover
🎯 How to Use
⦿ Identify Market Leaders:
- A stock with RS consistently above its MA is likely leading the market.
⦿ Spot Early Strength:
- If RS makes a new high before the stock price, it may signal strong relative demand — often preceding breakouts.
⦿ Filter Weakness:
- Stocks with RS below the MA are lagging and may be best avoided during bullish phases.
⦿ Combine with Price Action & Volume:
- RS works best alongside price breakouts, trend analysis, and volume confirmations.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
Naved Iqbal
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
Naved Iqbal
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.