This is the of a OBV movement indicator and now the of the Squeeze . It is good (right) to work with both price and ...it is also good to utilize the most popular indicator ever in TV (Lazybear).
I've included highlighting based on price divergence, yellow is divergence of either OBV or SQZ , red is both divergence, and then I've also built in the "squeeze on - blue" highlighting to show follow through of divergence. 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 is Lazybear, links below.
Updated OBV equation because TV-Pine V3 broke in V4
Included of Squeeze for histogram
Included "squeeze on" highlighting
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.