OPEN-SOURCE SCRIPT
Relative Strength Sector Ranking

Relative Strength Sector Ranking
This indicator provides a real-time relative strength analysis of your stock against the top 10 constituents of its sector. By automatically detecting the sector (Technology, Financials, etc.) and comparing performance over your chosen timeframe (1D, 1W, 1M, etc.), it assigns a clear Percentile Rank (e.g., 9/10) to help you identify sector leaders and laggards.
Key Features:
Auto-Sector Detection: Automatically selects the top peers based on the stock's GICS sector.
Dynamic Ranking: Sorts and ranks the stock against industry giants like NVDA, JPM, or XOM.
Visual Dashboard: A clean, transparent table displays the full leaderboard and your stock's specific standing.
Customizable: Choose your timeframe and adjust the visual style to match your chart's aesthetic.
How to Use:
Add the indicator to your chart.
The script will auto-detect the sector and display the top 10 peers in the top-right corner.
Check your stock's Rank and Score to gauge its relative strength.
Use the settings to change the timeframe (e.g., verify if a stock is a leader on the 1M chart but lagging on the 1W).
This indicator provides a real-time relative strength analysis of your stock against the top 10 constituents of its sector. By automatically detecting the sector (Technology, Financials, etc.) and comparing performance over your chosen timeframe (1D, 1W, 1M, etc.), it assigns a clear Percentile Rank (e.g., 9/10) to help you identify sector leaders and laggards.
Key Features:
Auto-Sector Detection: Automatically selects the top peers based on the stock's GICS sector.
Dynamic Ranking: Sorts and ranks the stock against industry giants like NVDA, JPM, or XOM.
Visual Dashboard: A clean, transparent table displays the full leaderboard and your stock's specific standing.
Customizable: Choose your timeframe and adjust the visual style to match your chart's aesthetic.
How to Use:
Add the indicator to your chart.
The script will auto-detect the sector and display the top 10 peers in the top-right corner.
Check your stock's Rank and Score to gauge its relative strength.
Use the settings to change the timeframe (e.g., verify if a stock is a leader on the 1M chart but lagging on the 1W).
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.