Stochastic Slow and OBV Percent Oscillator

  • Purpose - Stochastic is the best momentum indicator and On Balance Volume (OBV) is the best volume indicator. Why not combine both to come up with a more sophisticated oscillator?

  • How It's Done - I had to put OBV as an oscillator (returning values between 0 and 100) in order to put it in the same pane with the slow stochastic oscillator. Otherwise, their synergy won't be that great. So, I have decided to visualize OBV as a percentage relative to selected period's high and low value. That way, I can keep the OBV value to stay within boundary.

  • Interpretation

    1. Dot color indicates the whether the stochastic K/OBV is over or below the stochastic D/Signal line.

    2. When Stoch and OBV are moving in the same direction and are close together (on top of each other), this indicates a strong trend

    3. When Stoch crosses up or down the OBV oscillator, it may indicate a trend reversal

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?