OPEN-SOURCE SCRIPT
已更新 Sector Performance (2x12 Grid, labeled)

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:
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:
- Time-interval selector (1–60 min, 1D, 1W, 1M, 3M, 12M)
- Automatic rate-of-return calculation with inside/outside-bar detection
- Two-row, twelve-column grid with dynamic layout anchoring (top/middle/bottom + left/center/right)
- Uniform white text for clarity, while inside/outside candles retain custom colors
- Adaptive transparency rules (heavy/avg/light) based on magnitude of % change
- Ticker label normalization (cleans up prefixes like “CBOE_DLY:”)
版本注释
upgrade to v6版本注释
Add options: padding top & padding left版本注释
- 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.
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
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.
开源脚本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免责声明
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.