OPEN-SOURCE SCRIPT
Updated

Sector Performance (2x12 Grid, labeled)

298
Sector Performance Dashboard that tracks short-term and multi-interval returns for 24 major U.S. market ETFs. It renders a clean, color-coded performance grid directly on the chart, making sector rotation and broad-market strength/weakness easy to read at a glance.

The dashboard covers two full rows of liquid U.S. sector and thematic ETFs, including:

Row 1 (Core Market + GICS sectors)
SPY, QQQ, IWM, XLF, XLE, XLRE, XLY, XLU, XLP, XLI, XLV, XLB

Row 2 (Extended industries / themes)
XLF, XBI, XHB, CLOU, XOP, IGV, XME, SOXX, DIA, KRE, XLK, VIX (VX1!)


Key features include:

  1. Time-interval selector (1–60 min, 1D, 1W, 1M, 3M, 12M)
  2. Automatic rate-of-return calculation with inside/outside-bar detection
  3. Two-row, twelve-column grid with dynamic layout anchoring (top/middle/bottom + left/center/right)
  4. Uniform white text for clarity, while inside/outside candles retain custom colors
  5. Adaptive transparency rules (heavy/avg/light) based on magnitude of % change
  6. Ticker label normalization (cleans up prefixes like “CBOE_DLY:”)

Release Notes
upgrade to v6
Release Notes
Add options: padding top & padding left
Release Notes

  • Enhanced Volatility-Adjusted Performance – Sector color intensity now accounts for realized volatility (HV). This highlights low-volatility yet strong sectors more clearly.

  • Volatility-Aware Pair Relative Strength Panel – Added a dedicated column for leading macro ratios (XLY/XLP, XLK/XLF) as early risk-on / risk-off signals.

  • Added Equal-Weight vs Cap-Weight Indicator: Replaced DIA with RSP/SPY pair

  • Improved Visual Clarity & Layout Control – refined color thresholds.

  • Reorganized all 24 symbols into a clear macro-cycle order — first row shows major indices and offensive sectors; second row shows defensive, thematic, and volatility sectors.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.