OPEN-SOURCE SCRIPT
Cập nhật 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:”)
Phát hành các Ghi chú
upgrade to v6Phát hành các Ghi chú
Add options: padding top & padding leftPhát hành các Ghi chú
- 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.
Phát hành các Ghi chú
- Replace RSP/SPY to RSP- Adjust default color
Phát hành các Ghi chú
Use clean chart to publish again.Change default add to new panel (not overlay)
Phát hành các Ghi chú
Sector Performance Dashboard v2.0: The "Trader's Insight" UpdateThis major update transforms the dashboard from a simple heatmap into an intelligent macro monitoring system.
*New Features:
- Trader's Insight Panel: A new dynamic alert section below the grid that automatically scans for institutional signals. It remains silent during noise but lights up blue when specific macro conditions are met.
- Macro Reversals: Detects early signs of "Soft Landing" or "Recession" based on Cyclical vs. Defensive rotation (e.g., XLY/XLP Divergences).
- Smart Money Flow: Identifies when institutions are quietly rotating into Tech (Rate Cuts pricing) or Commodities (Reflation trades).
- Risk Alerts: Warns of structural anomalies like Credit Stress (KRE crash) or Inflation Scares (Bond Proxies dumping).
- Liquidity & FOMO: Flags "Liquidity Party" events when high-beta sectors (Semis, Cloud, Biotech) surge simultaneously.
- Daily-Locked Analytics: The dashboard now strictly anchors all performance metrics and signals to the Daily (1D) timeframe, regardless of your chart's timeframe. This ensures you are always viewing the true "Day's Change" and valid macro signals, filtering out intraday noise.
- Volatility-Adjusted Logic: Signals now adapt to the VIX regime, distinguishing between "True Outlier Moves" in high volatility and "Stealth Accumulation" in low volatility environments.
Phát hành các Ghi chú
Update default layout to align top left (To avoid the overlay with the TradingView logo in preview)Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.