indicator · own pane · open source

Parkinson Volatility indicator

Parkinson Volatility is a free open-source indicator. Parkinson Volatility uses the high-low range instead of just close-to-close — typically… Deepwick Script runs a subset of Pine Script.

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

What Parkinson Volatility does

Parkinson Volatility uses the high-low range instead of just close-to-close — typically 5–10× more efficient than HV because each bar contributes a real range number.

  • More stable than HV during low-print sessions.
  • Annualised (×√252) so it lives on the same scale as HV.

Source code

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

//@version=6
indicator("Parkinson Volatility", overlay=false)
len = input.int(20, "Lookback", minval=2, maxval=252)
colorBg = input.color("color.purple", "Color  Bg")
parkX = math.pow(math.log(high / low), 2)
parkSum = ta.cum(parkX) - ta.cum(parkX)[len]
pv = math.sqrt(252 / (4 * len * math.log(2)) * parkSum)
p_Parkinson = plot(pv, "Parkinson", color=colorBg, linewidth=2)

Comments

No comments yet.

Sign in to comment.