indicator · own pane · open source

Relative Volatility indicator

Relative Volatility is a free open-source indicator. Relative Volatility is today's ATR divided by its own 4× longer moving average — a… Deepwick Script runs a subset of Pine Script.

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

What Relative Volatility does

Relative Volatility is today's ATR divided by its own 4× longer moving average — a self-referencing 'vol vs its own baseline' oscillator.

  • Above 1.0 = current ATR is bigger than the longer baseline (expansion).
  • Below 1.0 = current ATR is smaller than the longer baseline (compression).

Source code

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

//@version=6
indicator("Relative Volatility", overlay=false)
len = input.int(14, "ATR length", minval=1, maxval=100)
colorBg = input.color("color.purple", "Color  Bg")
colorNeutral = input.color("color.gray", "Color  Neutral")
rvol = ta.atr(len) / ta.sma(ta.atr(len), len * 4)
hline(1, "Baseline", color=colorNeutral)
p_RVol = plot(rvol, "RVol", color=colorBg, linewidth=2)

Comments

No comments yet.

Sign in to comment.