vtrader321

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 (https://www.tradingview.com/script/BmvtK...). Thanks to BeeHolder (https://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.
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.

Want to use this script on a chart?

Comments

You’re dope for this update. Thank you!
+1 Reply
vtrader321 StratDamon
@StratDamon, Appreciate your kind words
Reply
Absolute legend thank u so much...Cheers!
Reply
@Spaydz, you're welcome !
+1 Reply
hello, would u be able to add VIX & TNX (ten year treasury yield)...but towards the end (right side VIX on top & TNX on bottom of VIX)...Cheers!
Reply
@Spaydz, You will be able to do this now
+1 Reply
Cool. Thanks this is awesome. I can also swap out the sectors for my watchlist so I I know which is red or green based on close. Now to switch to based on the open.
Reply
vtrader321 ProLifeTrader
@ProLifeTrader, You can choose the sectors you wish now
Reply
Great script! Any chance you can add Yellow or White or something to indicate a Sector that is inside day?
Reply
vtrader321 UpsideAlpha
@UpsideAlpha, Added this feature. text color turns white/yellow based on inside/outside day
Reply