FreeIndicators·ThinkorSwim
Anchored VWAP
Anchor VWAP to any event and read institutional cost basis.
How to install in ThinkorSwim
- In ThinkorSwim, open a chart, then go to Studies → Edit Studies.
- Click Create, clear the editor, and paste the code.
- 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 type | How you use it | Best timeframe | Where to anchor |
|---|---|---|---|
| Day trader | Anchor to today's open or a key intraday spike to track session control | 1-min – 5-min | Today's open or the high-of-day spike bar |
| Swing trader | Best fit — anchor to the last earnings gap or a major swing pivot | Daily | Last earnings date / swing high or low |
| Position trader | Anchor to the yearly open or a multi-month breakout to gauge the long-term trend | Daily / Weekly | Year 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
- Pick a meaningful anchor. Set
anchorDateto the YYYYMMDD of the event bar (e.g.20260102). - Read control. Price holding above the cyan line = buyers since that event are in profit and defending. Below = the move is underwater.
- 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.
- Use the bands for stretch. Tags of the upper band = extended; tags of the lower band in an uptrend = potential value.
- 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)
- Hook: "Regular VWAP forgets every morning. This one remembers the moment that mattered."
- Show anchoring to an earnings gap — the line is every buyer's cost basis since.
- Above vs below the line = who's in control.
- The retest play: pullbacks to the AVWAP in a trend.
- The bands: when price is stretched vs at value.
- How to set
anchorDate(YYYYMMDD) and pick a good anchor. - Recap + "import link in description."
Educational analysis, not financial advice.
← Back to all 103 indicators