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).
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。