OPEN-SOURCE SCRIPT

Anchored Volume Weighted Average Price | Astral Vision

2 938
Anchored Volume Weighted Average Price | Astral Vision 🌠💠

The Volume Weighted Average Price anchored to a fixed date represents the average price at which every Bitcoin has changed hands since that moment, weighted by volume.
Unlike a moving average which weights bars equally by time an anchored VWAP weights each bar by its trading activity, making it a true reflection of the average cost basis for all market participants who entered after the anchor point.

When price trades above an anchored VWAP, the aggregate of participants since that anchor is in profit. When price trades below it, they are in loss.
This makes anchored VWAPs among the most reliable dynamic support and resistance levels available, as they represent the price at which the largest volume of participants is either defending a gain or protecting against a loss.

This indicator plots up to 16 simultaneous anchored VWAPs: one per calendar year from 2013 through 2025, plus three fully custom anchors at any user-defined date, all on the price chart with individual color control and labeled at the current bar.

Calculation ⚙️

`VWAP = Cumulative(HLC3 × Volume) / Cumulative(Volume)`

Accumulation begins on the first bar of the anchor year (or the exact timestamp for custom anchors) and runs continuously to the present bar. Each VWAP is computed independently, carrying its own cumulative price-volume and volume sums from its respective start date.

Plots 📊
  • Up to 13 year-anchored VWAP lines (2013–2025), each with a dual-layer glow (linewidths 6/2, transparency 80/0)
  • 3 custom timestamp-anchored VWAP lines with the same glow rendering
  • Labeled endpoints at the current bar for every active VWAP, showing year or custom identifier


Inputs 🎛️
  • `2013` through `2025` :individual toggles to enable each year-anchored VWAP, each with its own color picker
  • `Custom 1 / 2 / 3`: toggles for three free-anchor VWAPs, each with a date/time input and color picker


Colors 🎨

Each VWAP line has its own independent color, pre-assigned along a spectral progression from violet (2013) through the visible spectrum to yellow (2025), giving each cycle year a visually distinct identity at a glance. Custom anchors default to blue, yellow, and green with full override available.

Purpose 🎯

Standard VWAP tools on TradingView anchor to the current session or a single user-defined point, offering no way to compare multiple historical anchors simultaneously. Traders who want to assess confluence across different cycle entry points must place and manage anchors manually, one at a time.

This indicator solves that entirely: all major Bitcoin calendar years are available as one-click toggles, letting you layer any combination of historical cost bases onto the chart instantly. The custom anchors extend this to any structurally significant date (cycle lows, halving events, ETF approvals) without any manual drawing tool interaction. Confluence zones where multiple VWAPs converge are immediately visible and have historically acted as the strongest support and resistance levels in Bitcoin's price structure.

Disclaimer ⭕️

It is not financial advice, not an investment recommendation, and not affiliated with any financial institution, research firm, or organization of any kind. All content is provided for educational and informational purposes only. Always conduct your own research before making any financial decision.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.