OPEN-SOURCE SCRIPT
Updated NYSE_ADVANCE_DECLINE_VOL vs SPY

This script plot a NYSE ADVANCING DECLINING VOLUME LINE on a WMA histogram of SPY. Very new at coding pine script, so use at your own risk
Release Notes
I've added a condition to draw a cross when SPX put volume is greater than 500000. This extreme volume level may indicate a squeeze or a bottom is close.Release Notes
Only changed the version number because I wanted to load a more clean chart.Release Notes
Went over and tidied my code. Added a title to the put signal, changed the 30 hline to 20, and reduced the line width on the SPY histogram Release Notes
Added the ability to change spy length and adv length separately. I tried some different smoothing on the advance/decline line but didn't like the results. Corrected changing the version number, it's now version 4.Release Notes
I added a condition to plot a cross at the bottom when SPX call volume is greater than 350000, also changed the hline levels to Fibonacci numbers.Release Notes
You can now choose different index and ticker symbols from settings.Release Notes
You can now change min max multiplier in settings.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.