indicator · own pane · open source
Chaikin Volatility indicator
Chaikin Volatility is a free open-source indicator by @deepwick. Chaikin Volatility is the percent change of the smoothed high-low range — turns positive on… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Chaikin Volatility does
Chaikin Volatility is the percent change of the smoothed high-low range — turns positive on a volatility expansion, negative on a contraction.
- Crosses above zero = range is widening (trend regime opening).
- Crosses below zero = range is narrowing (squeeze candidate).
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Chaikin Volatility", overlay=false)
len = input.int(10, "Rate-of-change length", minval=1, maxval=100)
colorBg = input.color("color.purple", "Color Bg")
colorNeutral = input.color("color.gray", "Color Neutral")
e1 = ta.rma(high - low, 10)
cv = 100 * (e1 - e1[len]) / e1[len]
hline(0, "Zero", color=colorNeutral)
p_Chaikin_Vol = plot(cv, "Chaikin Vol", color=colorBg, linewidth=2)
alertcondition(ta.crossover(cv, 0), "Vol expanding", "Chaikin Volatility crossed above zero")
alertcondition(ta.crossunder(cv, 0), "Vol contracting", "Chaikin Volatility crossed below zero")
No comments yet.
Sign in to comment.