OPEN-SOURCE SCRIPT
Sector ETF Performance

Description:
This indicator tracks the percentage performance of all 11 S&P 500 sector ETFs from the first visible bar on your chart, allowing you to quickly compare sector rotation and relative strength over any time period.
Sectors included:
XLK · Technology
XLF · Financials
XLV · Health Care
XLE · Energy
XLI · Industrials
XLP · Consumer Staples
XLY · Consumer Discretionary
XLU · Utilities
XLRE · Real Estate
XLB · Materials
XLC · Communication Services
The S&P 500 (SPY) is plotted in white as a benchmark reference line. Each line is labeled at the right edge with the ticker, sector name, and current percentage gain/loss.
How to use: Simply adjust the visible date range by dragging the left edge of the chart — all lines will automatically recalculate from that starting point.
This indicator tracks the percentage performance of all 11 S&P 500 sector ETFs from the first visible bar on your chart, allowing you to quickly compare sector rotation and relative strength over any time period.
Sectors included:
XLK · Technology
XLF · Financials
XLV · Health Care
XLE · Energy
XLI · Industrials
XLP · Consumer Staples
XLY · Consumer Discretionary
XLU · Utilities
XLRE · Real Estate
XLB · Materials
XLC · Communication Services
The S&P 500 (SPY) is plotted in white as a benchmark reference line. Each line is labeled at the right edge with the ticker, sector name, and current percentage gain/loss.
How to use: Simply adjust the visible date range by dragging the left edge of the chart — all lines will automatically recalculate from that starting point.
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.