OPEN-SOURCE SCRIPT
Anchored Volume Weighted Average Price | Astral Vision

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 📊
Inputs 🎛️
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.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
My premium indicators are available on Whop:
whop.com/astralvision
Astral Vision 🌠💠
whop.com/astralvision
Astral Vision 🌠💠
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
My premium indicators are available on Whop:
whop.com/astralvision
Astral Vision 🌠💠
whop.com/astralvision
Astral Vision 🌠💠
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.