OPEN-SOURCE SCRIPT

Sector Performance

已更新
This indicator shows real-time current day performance for 11 ETFs that divide the S&P 500 into eleven sector index funds. The list of different sector ETFs this indicator tracks is as follows -

1. SPY - S&P 500 Index
2. XLC - Communication Services
3. XLY - Consumer Discretionary
4. XLP - Consumer Staples
5. XLE - Energy
6. XLF - Financials
7. XLV - Health Care
8. XLI - Industrials
9. XLB - Materials
10. XLRE - Real Estate
11. XLF - Technology
12. XLU - Utilities

Acknowledgment - This indicator is adapted using the source code from another excellent performance indicator (tradingview.com/script/BmvtK3GH-Performance-Table/). Thanks to BeeHolder (tradingview.com/u/BeeHolder/) for generously sharing the source code.
版本注释
Changed transparency settings to better reflect relative sector performance
版本注释
Added different text size and table position options
版本注释
Added few new features
- Added 2 default symbols - VXX & SMH
- Ability to replace the default symbols with the ones you want
- Ability to choose a timeframe from 1 minute to 1 year. Default is 1 day
- Ability to position the grid vertically. Default is horizontal
版本注释
Text color turns white for inside day (or other selected timeframe) and yellow for outside day. Colors can be changed from settings.
版本注释
Upgrade to version 5 of pine script
performancesectorsector_analysissector_rotationTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明