Appearance
VWAP
Volume weighted average price, anchored to the UTC day.
Kind indicator · Drawn on the price pane
Try it
On the chart, press / and choose VWAP under Trend. To change it, copy the source below into the AlphaScript editor.
Inputs
| Input | Type | Default |
|---|---|---|
| Color | color | "#2962FF" |
Source
From packages/alphascript/indicators/vwap.as.js.
js
indicator({ name: "VWAP", shortTitle: "VWAP", overlay: true });
plot(ta.vwap(), { title: "VWAP", color: input.color("Color", "#2962FF", { group: "Style" }) });