Pivot OBV Reset [LM]

Hi traders,

I woud like to introduce new script of obv indicator that resets on creation of new pivot high or low. Note that it resets when it's known that it is a pivot . On the reset candle adds accumulated value from previous candles defined by i_right input.

It has following settings:

pivot setting - here you can infulence pivot detection
obv setting - here you can influence whether it should be multiplied by price or not, if it should show when the reset happen

Hope you'll enjoy it

Open-source script

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.


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.

Want to use this script on a chart?