In this version we've moved the divergence highlighting to symbols at the ends of the histograms. Same coloring scheme as previous, yellow is divergence of either OBV or SQZ , red is both divergence. In the previous version we added in the "squeeze on - blue" highlighting to show follow through of divergence (or just squeeze/stall). We also added in another old script, but colors so well, Lazybears (Market Direction Indicator, linked below). Also incorporated a 3 color or 5 color scheme from the MDI script as a bool. It works great on any time frame, but you need to have data. Not sure where I originally got this (stoch-OBV, somewhere off Tradingview several years ago, thanks to the person who shared), Squeeze/ MDI is Lazybear, links below.
Moved divergence highlighting to symbols on histogram
Added coloring based on MDI
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.
I just loaded into a fresh chart, and it does pull up...maybe try and comment out lines until you hit the source of the error