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精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明