VWAP
Pine Script indicator by Chart GT · Published
Volume-weighted average price, reset each session (IEX volume on intraday charts).
Tags: volume, intraday, vwap
Source code
//@version=6
// @name VWAP
// @description Volume-weighted average price, reset each session (IEX volume on intraday charts).
// @tags volume,intraday,vwap
indicator("VWAP", overlay=true)
src = input.source(hlc3, "Source")
v = ta.vwap(src)
plot(v, "VWAP", color=color.fuchsia, linewidth=2)
alertcondition(ta.cross(close, v), "Close crossed VWAP", "Close crossed VWAP")
License: MPL-2.0
Open the chart to add it, or browse more community scripts.