indicator · own pane · open source
Standard Deviation
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)
No comments yet.
Sign in to comment.