OPEN-SOURCE SCRIPT

Macro Supersector Matrix & Stock Alignment Dashboard

247
** Overview:

The "Macro Supersector Matrix & Stock Alignment Dashboard" is an intermarket analysis tool designed for swing traders and portfolio managers looking to track institutional capital flows across major US market sectors.

Instead of monitoring 11 individual ETF charts, this dashboard groups the S&P 500 sectors into "3 Core Supersectors" and dynamically tracks whether your current charted asset is aligned with broader market health.

** Core Mechanics & Supersector Architecture:

1. Growth / Risk-On Supersector:
- Aggregates **XLK** (Technology), **XLY** (Consumer Discretionary), and **XLC** (Communications).
2. Economic Cyclicals Supersector:
- Aggregates **XLF** (Financials), **XLI** (Industrials), **XLB** (Materials), and **XLE** (Energy).
3. Defensive / Safe-Haven Supersector:
- Aggregates **XLV** (Healthcare), **XLP** (Consumer Staples), **XLU** (Utilities), and **XLRE** (Real Estate).

** Key Features:

- Institutional Volume Filter (🔥 Symbol): Highlights when sector movement is supported by above-average daily volume (SMA 20), indicating institutional participation rather than low-volume drift.

- Dynamic Stock Mapper: Automatically identifies the sector for mega-cap stocks (e.g., AAPL, NVDA, TSLA, JPM, LLY) and compares their intraday performance against macro sector flows.

- Macro Health Bias (0-100%): Weighted quantitative score determining whether current market broad-breadth conditions favor long or short swing trades.

- Pine Script v6 Codebase: Fully optimized with consolidated multi-timeframe requests to ensure fast loading times and zero repainting.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.