OPEN-SOURCE SCRIPT

Sector ETF Performance

342
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.