indicator · own pane · open source

Volume Oscillator indicator

Volume Oscillator is a free open-source indicator. Volume Oscillator expresses the difference between short and long volume MAs as a… Deepwick Script runs a subset of Pine Script.

v1Updated 3 Oct 2026▲ 0 users
Running…
Loading chart…

What Volume Oscillator does

Volume Oscillator expresses the difference between short and long volume MAs as a percentage of the long MA — a clean volume momentum gauge.

  • Positive = short-term volume running hotter than the long-term baseline.
  • Negative = short-term volume cooling; watch for a return to zero or a crossover as the trigger.

Source code

Deepwick Script, a subset of Pine Script · read-only

//@version=6
indicator("Volume Oscillator", overlay=false)
shortLen = input.int(5, "Short length", minval=1, maxval=100)
longLen = input.int(10, "Long length", minval=2, maxval=200)
colorLine = input.color("color.blue", "Color  Line")
colorNeutral = input.color("color.gray", "Color  Neutral")
vo = 100 * (ta.sma(volume, shortLen) - ta.sma(volume, longLen)) / ta.sma(volume, longLen)
hline(0, "Zero", color=colorNeutral)
p_VO__ = plot(vo, "VO %", color=colorLine, style=plot.style_histogram, linewidth=2)
alertcondition(ta.crossover(vo, 0), "Volume heating", "Volume Oscillator crossed above zero")
alertcondition(ta.crossunder(vo, 0), "Volume cooling", "Volume Oscillator crossed below zero")

Comments

No comments yet.

Sign in to comment.