High Low Index SPY Top 40

Modification from original code for "High Low Index" by © LonesomeTheBlue - Made modification specifically for Top 40 AMEX: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.

發布通知: 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.

If you make $$$ off it, consider donating some of your juicy gain :)
ETH - 0x68Aa6cA8d63926195eFaAcDA722168110eEA5862

You can reach me privately at

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。