OPEN-SOURCE SCRIPT
מעודכן

High Low Index SPY Top 40

Modification from original code for "High Low Index" by © LonesomeTheBlue https://www.tradingview.com/script/WDAaGDMJ-High-Low-Index/
- Made modification specifically for Top 40 SPY holdings
- Added Market sentiment histogram (Total count green vs red), and SMA line for it
- Added arrows for peaks and dips on High Low Index and Market Sentiment MA

Idea behind this indicator is that SPY should follow the overall sentiment of its top holdings. I believe this bring great value to SPY traders.

Enjoy~!
הערות שחרור
corrected an offset error on the blue line.
הערות שחרור
fixed another offset error on the Record High Percent line
הערות שחרור
I am such a noob~ can't get an offset right. This should fix the scaling error. Everything should be scaled from -40 to 40.
הערות שחרור
updated SPY Top 40 list
old list is left in the code if anyone want to still use them.
הערות שחרור
Updated with option for Top 10, 20, 30
Updated with option to remove exchange from ticker on table

כתב ויתור