Skip to main content
Anchored VWAP bands on a BTC chart

BTC on 15-minute bars in the 0xArchive Terminal, 2026-10-15.

Open on a chart

Load it on BTC 15m in the terminal, then change its settings or open it in the script editor.
A volume-weighted average price from a moment you pick, with bands a chosen number of volume-weighted standard deviations either side. In the settings, press Pick on chart and click a bar; until then it starts at the first loaded bar.

How it works

input.time is an input set by clicking the chart. The running sums are state.bar cells. plot.fill shades between the two band lines, and a labelUp shape marks the anchor.

The script

anchored-vwap.ts

Next step

See the next example, Open bands.
Last modified on October 16, 2026