indicator · own pane · open source
Volume Weighted RSI indicator
Volume Weighted RSI is a free open-source indicator by @deepwick. Volume Weighted RSI applies the RSI formula to close × volume instead of close — emphasises… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Volume Weighted RSI does
Volume Weighted RSI applies the RSI formula to close × volume instead of close — emphasises bars that moved the most dollar volume in the RSI calculation.
- Same 30/70 thresholds as the classic RSI; the difference is which bars dominate the smoothing.
- Pair with plain RSI for a 'price-vs-volume-weighted momentum' divergence.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Volume Weighted RSI", overlay=false)
len = input.int(14, "RSI length", minval=2, maxval=200)
src = input.source(close, "Source")
colorBg = input.color("color.purple", "Color Bg")
colorDown = input.color("color.red", "Color Down")
colorUp = input.color("color.green", "Color Up")
colorNeutral = input.color("color.gray", "Color Neutral")
vwr = ta.rsi(src * volume, len)
hline(70, "Overbought", color=colorDown)
hline(30, "Oversold", color=colorUp)
hline(50, "Midline", color=colorNeutral, linestyle=hline.style_dashed)
p_VWRSI = plot(vwr, "VWRSI", color=colorBg, linewidth=2)
No comments yet.
Sign in to comment.