OPEN-SOURCE SCRIPT
已更新 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.
版本注释
Did some offset fixes.. 开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。