# VWAP Bands - Event Based

VWAP Bands - Event Based is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

VWAP Bands - Event Based plots standard-deviation bands around a VWAP that restarts on the event you pick: periodically, on new higher highs or lower lows, on trend changes, at an anchor, or on an external cross. The reset governs the line's smoothness, making it a flexible trailing support/resistance or a source for other tools.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jan 3, 2022.
- Access: free.
- Concepts: [VWAP Bands](https://www.luxalgo.com/library/concept/vwap-bands/) (primary), [Anchored VWAP](https://www.luxalgo.com/library/concept/anchored-vwap/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn7bry00abvhsg5nddvlnt
- Page: https://www.luxalgo.com/library/indicator/vwap-bands-event-based/

**VWAP Bands - Event Based** draws [VWAP bands](https://www.luxalgo.com/library/concept/vwap-bands/) whose smoothness is governed by resets: choose an event, and each time it fires the calculation starts over. The bands come from a naive standard-deviation treatment of the volume-weighted average, scaled by a multiplier. Anchor the line to a chosen point or start it from the first bar of data. Either way it serves as trailing support and resistance, a component in a crossover approach, or a source feeding an external indicator.

## How to Trade the VWAP Bands - Event Based?

- **Periodic reset**: the default mode. The average restarts on a cycle governed by Length, keeping it responsive to recent trade.
- **Higher high / lower low resets**: fresh extremes, detected with a Donchian-style method, restart the average so it re-grips the new momentum.
- **Trend change reset**: the calculation restarts when a decisive trend change registers, layering in adaptive smoothing.
- **Start / external resets**: reset only at the anchor for a classical anchored reading, or hand control to an external cross or event you feed in.

Frequent resets keep the line hugging price for tactical work; rare resets let it stretch into a slow, long-memory reference.

## VWAP Bands - Event Based Settings

- **Start / Start At First Bar**: where the calculation begins, either a chosen anchor or the very first bar with no anchor required.
- **Length**: shapes the characteristics of the selected event, including the periodic reset cycle.
- **Mult**: multiplies the standard deviation, widening or tightening the bands.
- **Source**: the price series the calculation runs on.
- **Event / External Cross/Event**: which condition resets the smoothness, and the external input used for cross or event triggers.

## Frequently Asked Questions

### What does the reset actually change?

The memory of the average. A freshly reset VWAP tracks price closely; the longer it runs without resetting, the smoother and slower it becomes, so the event you pick effectively tunes responsiveness.

### When is a plain anchored VWAP the better pick?

When you want one anchor and no surprises: the standalone [Anchored VWAP](https://www.luxalgo.com/library/indicator/anchored-vwap/) keeps that read minimal. This build earns its place once you want resets tied to structure, trend shifts, or an external signal.

### Where can I get the VWAP Bands - Event Based indicator?

Free of charge on the LuxAlgo Library, and it loads into Quant, our coding agent, directly from this page for hands-on testing. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Rolling VWAP Channel](https://www.luxalgo.com/library/indicator/rolling-vwap-channel/) (VWAP Bands): markdown at https://www.luxalgo.com/library/indicator/rolling-vwap-channel.md
- [Order Flow VWAP Deviation](https://www.luxalgo.com/library/indicator/order-flow-vwap-deviation/) (VWAP Bands): markdown at https://www.luxalgo.com/library/indicator/order-flow-vwap-deviation.md
- [Anchored VWAP](https://www.luxalgo.com/library/indicator/anchored-vwap/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/anchored-vwap.md
- [VWAP](https://www.luxalgo.com/library/indicator/vwap/) (Session VWAP): markdown at https://www.luxalgo.com/library/indicator/vwap.md
- [VWAP Periodic Close](https://www.luxalgo.com/library/indicator/vwap-periodic-close/) (Periodic VWAPs): markdown at https://www.luxalgo.com/library/indicator/vwap-periodic-close.md
- [VWAP Mean-reversion vs Trend Regimes](https://www.luxalgo.com/library/indicator/vwap-mean-reversion-vs-trend-regimes/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/vwap-mean-reversion-vs-trend-regimes.md
- [VWAP Pinch](https://www.luxalgo.com/library/indicator/vwap-pinch/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/vwap-pinch.md
- [Midpoint/half-back of Session](https://www.luxalgo.com/library/indicator/midpoint-half-back-of-session/) (Volume & Order Flow): markdown at https://www.luxalgo.com/library/indicator/midpoint-half-back-of-session.md

---

Source: https://www.luxalgo.com/library/indicator/vwap-bands-event-based/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
