indicator · own pane · open source

Standard Deviation

Deepwick · @deepwickv1Updated 2 Oct 2026▲ 0 users
Running…
Loading chart…

About

Standard deviation of the source across the lookback — the raw dispersion that Bollinger and z-score studies are built on.

  • Higher value = wider distribution of recent prices (volatile regime).
  • Compare to its own moving average to detect volatility expansion vs contraction.

Source code

//@version=5
indicator("Standard Deviation", overlay=false)
len = input.int(20, "Length", minval=2, maxval=200)
src = input.source("close", "Source")
sd = ta.stdev(src, len)
p_StDev = plot(sd, "StDev", color=color.purple, linewidth=2)

Comments

No comments yet.

Sign in to comment.