OPEN-SOURCE SCRIPT
Cập nhật Sector Flow Analysis

Sector Flow Analysis - Track market leadership and rotation across 11 major sector ETFs with real-time performance rankings.
Key Features:
Monitors all 11 S&P sector ETFs (XLK, XLF, XLI, XLU, XLV, XLP, XLY, XLB, XLRE, XLC, XLE)
Configurable lookback period (5-60 days) for performance calculation
Color-coded risk indicators: 🟢 Risk-On sectors leading (bullish), 🟠 Risk-Off sectors leading (defensive), 🟡 Neutral sectors
Display top N sectors (1-11) to declutter your chart
Fully customizable positioning, text size, and color
Clean, minimal table overlay that won't obstruct your chart
Use Cases:
Identify sector rotation patterns and market leadership changes
Gauge market sentiment (risk-on vs risk-off behavior)
Find opportunities by tracking which sectors are gaining/losing momentum
Confirm trend strength when your stock's sector is leading
Perfect companion to comprehensive market analysis tools for a complete picture of sector dynamics.
Key Features:
Monitors all 11 S&P sector ETFs (XLK, XLF, XLI, XLU, XLV, XLP, XLY, XLB, XLRE, XLC, XLE)
Configurable lookback period (5-60 days) for performance calculation
Color-coded risk indicators: 🟢 Risk-On sectors leading (bullish), 🟠 Risk-Off sectors leading (defensive), 🟡 Neutral sectors
Display top N sectors (1-11) to declutter your chart
Fully customizable positioning, text size, and color
Clean, minimal table overlay that won't obstruct your chart
Use Cases:
Identify sector rotation patterns and market leadership changes
Gauge market sentiment (risk-on vs risk-off behavior)
Find opportunities by tracking which sectors are gaining/losing momentum
Confirm trend strength when your stock's sector is leading
Perfect companion to comprehensive market analysis tools for a complete picture of sector dynamics.
Phát hành các Ghi chú
Did some offset fixes.. 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.