# Anchored VWAP

Plots the volume-weighted average price accumulated from a user-selected anchor time rather than an automatic session reset, so the line reflects the average traded price since that specific bar. Inputs are the anchor time and an optional set of bands around the VWAP. This is a plain, standard implementation of anchored VWAP.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Apr 13, 2020.
- Access: free.
- Concepts: [Anchored VWAP](https://www.luxalgo.com/library/concept/anchored-vwap/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=g68a0f39rerhwkfjwgrgjb4z
- Page: https://www.luxalgo.com/library/indicator/anchored-vwap/

The **Anchored VWAP** plots the volume-weighted average price accumulated from a bar you choose rather than from an automatic session reset, so the line tracks the average cost of all trading since a chosen event: an earnings release, a swing low, a breakout bar. Optional bands place standard deviations around the average to frame stretch. A standard implementation: one anchor, one line, optional bands.

## How to Trade the Anchored VWAP?

- **Price above a rising AVWAP from a major low**: buyers since that low hold, on average, winning positions. Pullbacks into the line attract dip buyers.
- **Price below a falling AVWAP from a major high**: the average buyer since the anchor is losing money. Rallies into it often stall as those positions exit near breakeven.
- **Cross of the AVWAP**: the close moving through the line flips which side of the average cost price trades on, weightiest at widely watched anchors.
- **Band touches (Bands enabled)**: a reach to the Upper or Lower Band marks a full multiple of standard deviations from the mean, context for fades or trailing exits.

The line is a reference, not a barrier: price crosses anchored averages routinely, so treat a touch as a place to evaluate rather than a signal. Alert conditions Price Crossed Above AVWAP and Price Crossed Below AVWAP cover the cross in both directions.

## Anchored VWAP Settings

- **Anchor time** (default 01 Jan 2024): where accumulation begins, set by clicking a chart bar when the indicator is added; the line never resets on its own. Reposition the anchor to restart it.
- **Source** (default hlc3): the price being volume-weighted; close aligns the line with close-based tools.
- **Bands** (default disabled): draws standard deviation bands around the AVWAP with a soft fill between them.
- **Multiplier** (default 2.0): standard deviations for the bands. Higher isolates rare extensions, lower gives frequent, weaker touches.

## Frequently Asked Questions

### How is Anchored VWAP different from session VWAP?

Session VWAP restarts at every session open and describes the current day. Anchored VWAP starts at an event you pick and never resets, describing the cost basis built since then. The arithmetic is identical; only the starting bar differs.

### Where should I place the anchor?

Anywhere the market's memory plausibly starts: a major swing point, an earnings or news gap, a breakout's first bar, a listing's opening print. There is no single right anchor: the more significant the event, the more meaningful the average.

### Why does the line look unstable right after the anchor?

Right after the anchor the average rests on little volume, so each new bar moves it noticeably. As volume builds the line gains inertia, what makes mature anchors meaningful references.

## Related indicators

- [VWAP Bands - Event Based](https://www.luxalgo.com/library/indicator/vwap-bands-event-based/) (Anchored VWAP): markdown at https://www.luxalgo.com/library/indicator/vwap-bands-event-based.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
- [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
- [Rolling VWAP Channel](https://www.luxalgo.com/library/indicator/rolling-vwap-channel/) (Rolling VWAP): markdown at https://www.luxalgo.com/library/indicator/rolling-vwap-channel.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/anchored-vwap/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
