OPEN-SOURCE SCRIPT
Cập nhật SPX/SPY Weighted Sector Tape Quality Dashboard

SPY/SPX Weighted Sector Tape Quality Dashboard
- Purpose:
Provides a real-time view of SPY/SPX sector participation using sector ETF movement and approximate S&P 500 sector weights.
- Weighted Sector Impact:
Calculates each sector’s contribution by multiplying the sector’s percent move by its market weight.
- Real-Time Sector Table:
Displays each sector in a TradingView table with sector name, weight, percent move, weighted impact, and quick read.
- Color-Coded Heatmap:
Uses green/red shading to show positive or negative contribution. Brighter colors indicate stronger impact.
- Sortable Sector View:
Allows sorting by SPX weight, absolute contribution, or directional contribution.
- Editable Sector Weights:
Sector weights can be adjusted in settings as S&P 500 sector weights change over time.
- Move Calculation Options:
Supports Today From Open, Bar-to-Bar, and custom Lookback calculations.
- Weighted Positive Participation:
Shows how much of the S&P 500 by sector weight is participating positively.
- Positive Sector Count:
Tracks how many of the 11 major sectors are positive.
- Cyclical vs Defensive Score:
Compares risk-on sectors against defensive sectors to identify market tone.
- Mega-Cap Concentration:
Measures whether the move is being driven mainly by Technology, Communication Services, and Consumer Discretionary.
- VIX Confirmation:
Uses VIX movement as a confirmation or warning signal for tape quality.
- Tape Quality Score:
Combines weighted participation, breadth, cyclicals vs defensives, and VIX behavior into one quick score.
- Tape Classification:
Labels the tape as Broad Risk-On, Narrow Mega-Cap Bid, Defensive Rotation, Fake Breakout Risk, Broad Liquidation, Risk-Off, or Mixed/Chop.
- Compact Mode:
Offers a smaller, faster-read table layout for active trading screens.
- Adjustable Table Size:
Allows changing table text size from Tiny to Huge.
- Moveable Table Location:
Supports nine table positions across the chart: top, middle, bottom, and left, center, or right.
- Top 6 Mode:
Optionally shows only the six highest-ranked sectors to reduce screen clutter.
- Mini Plot:
Optional plot of net weighted sector contribution and tape quality score.
- Best Use Case:
Designed for intraday ES, SPX, and SPY traders who want to quickly see whether price action is broadly supported or narrowly driven.
- Important Note:
This tool estimates sector participation using SPDR sector ETFs and editable S&P 500 sector weights. It is intended as a market internals and participation read, not a buy or sell signal by itself.
- Purpose:
Provides a real-time view of SPY/SPX sector participation using sector ETF movement and approximate S&P 500 sector weights.
- Weighted Sector Impact:
Calculates each sector’s contribution by multiplying the sector’s percent move by its market weight.
- Real-Time Sector Table:
Displays each sector in a TradingView table with sector name, weight, percent move, weighted impact, and quick read.
- Color-Coded Heatmap:
Uses green/red shading to show positive or negative contribution. Brighter colors indicate stronger impact.
- Sortable Sector View:
Allows sorting by SPX weight, absolute contribution, or directional contribution.
- Editable Sector Weights:
Sector weights can be adjusted in settings as S&P 500 sector weights change over time.
- Move Calculation Options:
Supports Today From Open, Bar-to-Bar, and custom Lookback calculations.
- Weighted Positive Participation:
Shows how much of the S&P 500 by sector weight is participating positively.
- Positive Sector Count:
Tracks how many of the 11 major sectors are positive.
- Cyclical vs Defensive Score:
Compares risk-on sectors against defensive sectors to identify market tone.
- Mega-Cap Concentration:
Measures whether the move is being driven mainly by Technology, Communication Services, and Consumer Discretionary.
- VIX Confirmation:
Uses VIX movement as a confirmation or warning signal for tape quality.
- Tape Quality Score:
Combines weighted participation, breadth, cyclicals vs defensives, and VIX behavior into one quick score.
- Tape Classification:
Labels the tape as Broad Risk-On, Narrow Mega-Cap Bid, Defensive Rotation, Fake Breakout Risk, Broad Liquidation, Risk-Off, or Mixed/Chop.
- Compact Mode:
Offers a smaller, faster-read table layout for active trading screens.
- Adjustable Table Size:
Allows changing table text size from Tiny to Huge.
- Moveable Table Location:
Supports nine table positions across the chart: top, middle, bottom, and left, center, or right.
- Top 6 Mode:
Optionally shows only the six highest-ranked sectors to reduce screen clutter.
- Mini Plot:
Optional plot of net weighted sector contribution and tape quality score.
- Best Use Case:
Designed for intraday ES, SPX, and SPY traders who want to quickly see whether price action is broadly supported or narrowly driven.
- Important Note:
This tool estimates sector participation using SPDR sector ETFs and editable S&P 500 sector weights. It is intended as a market internals and participation read, not a buy or sell signal by itself.
Phát hành các Ghi chú
versionedMã 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.