OPEN-SOURCE SCRIPT
Telah dikemas kini Intraday Super Sectors v2.0

This indicator plots the two 'Super Sectors' (Cyclical and Defensive) showing intraday change from open
.
For reference:
Defensive Sectors:
XLE Energy (not always considered a true defensive sector, but I've thrown it in here for balance)
XLP Consumer Staples
XLU Utilities
XLV Health Care
Cyclical Sectors:
XLB Materials
XLC Communication Services
XLF Financials
XLI Industrials
XLK Information Technology
XLRE Real Estate
XLY Consumer Discretionary
Sector data retrieved from finance.yahoo.com/quote/SPY/holdings/ on May 1, 2022
You're welcome to update the sector weightings from time to time. Don't worry about making it exactly 100% - the script automatically compensates and dynamically adjusts.
.
Outside of the cash session, you won't see anything (lines, clouds, %change etc.) which is perfectly normal. If you want to check to see if it really works, the 'replay' function might help!
.
.
.
* originally motivated by Cody to finish what I'd started, and feedback from TT and MDSS groups to 'always do better' (thanks guys!)
.
For reference:
Defensive Sectors:
XLE Energy (not always considered a true defensive sector, but I've thrown it in here for balance)
XLP Consumer Staples
XLU Utilities
XLV Health Care
Cyclical Sectors:
XLB Materials
XLC Communication Services
XLF Financials
XLI Industrials
XLK Information Technology
XLRE Real Estate
XLY Consumer Discretionary
Sector data retrieved from finance.yahoo.com/quote/SPY/holdings/ on May 1, 2022
You're welcome to update the sector weightings from time to time. Don't worry about making it exactly 100% - the script automatically compensates and dynamically adjusts.
.
Outside of the cash session, you won't see anything (lines, clouds, %change etc.) which is perfectly normal. If you want to check to see if it really works, the 'replay' function might help!
.
.
.
* originally motivated by Cody to finish what I'd started, and feedback from TT and MDSS groups to 'always do better' (thanks guys!)
Nota Keluaran
Added option to turn off numerical display of all the individual sectors - helpful if you're using this on a phone!Nota Keluaran
Minor update (bugfix?) to allow script to work if SPY is selected (either RTH or Extended)Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.