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).
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.