vtrader321

Sector Performance

vtrader321 Updated   
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 (www.tradingview.com/...H-Performance-Table/). Thanks to BeeHolder (www.tradingview.com/u/BeeHolder/) for generously sharing the source code.
Release Notes:
Changed transparency settings to better reflect relative sector performance
Release Notes:
Added different text size and table position options
Release Notes:
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
Release Notes:
Text color turns white for inside day (or other selected timeframe) and yellow for outside day. Colors can be changed from settings.
Release Notes:
Upgrade to version 5 of pine script

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?