FOUNDING ACCESS IS FULL·Founder onboarding is closed.Get launch updates →
← All indicators
FreeIndicators·ThinkorSwim

Anchored VWAP

Anchor VWAP to any event and read institutional cost basis.

How to install in ThinkorSwim

  1. In ThinkorSwim, open a chart, then go to Studies → Edit Studies.
  2. Click Create, clear the editor, and paste the code.
  3. Name it, click Apply, then OK, and it draws on your chart.

How to Use — WeTradePro Anchored VWAP

A VWAP that starts from one date YOU choose — the true average price every share has paid since a meaningful event. Educational, not advice.

What it is (one line)

A volume-weighted average price line that begins accumulating on a single anchor date you set (earnings gap, swing high/low, breakout bar, year open) instead of resetting every session — so you see the real cost basis of everyone in the trade since that event.

Who it's for & best timeframe

Trader typeHow you use itBest timeframeWhere to anchor
Day traderAnchor to today's open or a key intraday spike to track session control1-min – 5-minToday's open or the high-of-day spike bar
Swing traderBest fit — anchor to the last earnings gap or a major swing pivotDailyLast earnings date / swing high or low
Position traderAnchor to the yearly open or a multi-month breakout to gauge the long-term trendDaily / WeeklyYear open or the base-breakout bar

Best overall: Daily chart anchored to the most recent earnings gap. That line is the cost basis of every buyer since the catalyst — price holding above it is a strong tell that the move still has support.

What you see (on the price chart)

  • Cyan line: the anchored VWAP — average price paid since your anchor date.
  • Dashed gray bands: 1 standard deviation of price around the AVWAP (how stretched price is from anchored fair value).
  • Labels: the AVWAP value at the anchor date, and whether price is ABOVE (buyers in control) or BELOW (sellers in control) since the anchor.

How to use it

  1. Pick a meaningful anchor. Set anchorDate to the YYYYMMDD of the event bar (e.g. 20260102).
  2. Read control. Price holding above the cyan line = buyers since that event are in profit and defending. Below = the move is underwater.
  3. Trade the retest. In an uptrend, pullbacks to the AVWAP are where institutional cost basis sits — a common spot for buyers to step back in.
  4. Use the bands for stretch. Tags of the upper band = extended; tags of the lower band in an uptrend = potential value.
  5. Lose the line = lose the thesis. A decisive close back through the AVWAP says the post-event crowd is now offside.

Settings (inputs)

  • anchorDate (20260102) — the YYYYMMDD bar to start accumulating from. This is the one setting you change per chart.
  • showBands (yes) — toggle the 1-std-dev bands.
  • bandMult (1.0) — band width in standard deviations.

Best on

  • Liquid stocks and ETFs with clear catalysts: post-earnings names, index ETFs (SPY/QQQ), and high-volume movers. Needs real volume to be meaningful — avoid thin tickers.

Common mistakes

  • Anchoring to a random bar. The power comes from anchoring to a *meaningful event* — a gap, pivot, or breakout. A random date gives a meaningless line.
  • Setting `anchorDate` in the future — nothing plots until that date exists.
  • Using it on illiquid tickers — with no real volume the weighting is noise.
  • Treating the line as a hard buy/sell trigger instead of a context line for support/resistance and control.

Video script outline (for your WeTradePro tutorial)

  1. Hook: "Regular VWAP forgets every morning. This one remembers the moment that mattered."
  2. Show anchoring to an earnings gap — the line is every buyer's cost basis since.
  3. Above vs below the line = who's in control.
  4. The retest play: pullbacks to the AVWAP in a trend.
  5. The bands: when price is stretched vs at value.
  6. How to set anchorDate (YYYYMMDD) and pick a good anchor.
  7. Recap + "import link in description."

Educational analysis, not financial advice.

← Back to all 103 indicators