indicator · on price · open source
Rolling VWAP
Running…
Loading chart…
About
Rolling VWAP is a moving-window equivalent of the anchored VWAP — useful when the platform doesn't reset the session (crypto, FX).
- Compare the rolling VWAP to the live VWAP for a clean 'is price trending relative to its recent volume-weighted path' read.
Source code
//@version=5
indicator("Rolling VWAP", overlay=true)
len = input.int(20, "Lookback", minval=2, maxval=500)
rvwap = ta.vwma(hlc3, len)
p_RVWAP = plot(rvwap, "RVWAP", color=color.orange, linewidth=2)
No comments yet.
Sign in to comment.