OPEN-SOURCE SCRIPT
已更新 Advanced VWAP Calendar

The Advanced VWAP Calendar is a designed to plot Volume Weighted Average Price (VWAP) lines anchored to user-defined and preset time periods, including weekly, monthly, quarterly, and custom anchors. As of August 15, 2025, this indicator provides traders with a robust tool for analyzing price trends relative to volume-weighted averages, with clear labeling and extensive customization options. Below is a summary of its key features and functionality, with technical details and code references updated to focus on user-facing behavior and presentation, while preserving all other aspects of the original summary.
Key Features
Multiple Time Period VWAPs:
Weekly VWAPs: Supports up to five VWAPs for a user-selected month and year, starting at midnight each Monday (e.g., W1 Aug 2025, W2 Aug 2025). Enabled via a single toggle, with anchors automatically set to the first Monday of the chosen month.
Monthly VWAPs: Plots VWAPs for all 12 months of a selected year (e.g., Jan 2025, Feb 2025) or a single user-specified month/year. Labels use month abbreviations (e.g., "Aug 2025").
Quarterly VWAPs: Covers four quarters of a selected year (e.g., Q1 2025, Q2 2025), with options to enable all quarters or individual ones (Q1–Q4).
Legacy VWAPs: Provides monthly and quarterly VWAPs for a user-selected legacy year (e.g., 2024), labeled with a "Legacy" prefix (e.g., "Legacy Jan 2024," "Legacy Q1 2024"), with similar enablement options.
Custom VWAPs: Includes 10 fully customizable VWAPs, each with user-defined anchor times, labels (e.g., "Q1 2025"), colors, line widths (1–5), text colors, bubble styles, text sizes (8–40), and background options.
Clear and Dynamic Labeling:
Labels appear to the right of the chart, showing the VWAP value (e.g., "Q1 2025 123.45").
Weekly labels follow a "W# Month Year" format (e.g., "W1 Aug 2025").
Monthly labels use abbreviated months (e.g., "Aug 2025"), while quarterly labels use "Q# Year" (e.g., "Q3 2025").
Legacy labels include a "Legacy" prefix (e.g., "Legacy Q1 2024").
Labels support customizable text sizes (tiny to huge) and can be displayed with or without a background, with optional bubble styles.
Flexible Customization:
Each VWAP can be enabled or disabled independently, with user inputs for anchor times, labels, and visual properties.
Colors are predefined for weekly (red, orange, blue, green, purple), monthly (varied), quarterly (red, blue, green, yellow), and legacy VWAPs, but custom VWAPs allow any color selection.
Line widths and text sizes are adjustable, ensuring visual clarity and chart readability.
This indicator was a dual effort, code was heavily contributed in effort by AzDxB, major credit and THANKS goes to him tradingview.com/u/azdxb/
Key Features
Multiple Time Period VWAPs:
Weekly VWAPs: Supports up to five VWAPs for a user-selected month and year, starting at midnight each Monday (e.g., W1 Aug 2025, W2 Aug 2025). Enabled via a single toggle, with anchors automatically set to the first Monday of the chosen month.
Monthly VWAPs: Plots VWAPs for all 12 months of a selected year (e.g., Jan 2025, Feb 2025) or a single user-specified month/year. Labels use month abbreviations (e.g., "Aug 2025").
Quarterly VWAPs: Covers four quarters of a selected year (e.g., Q1 2025, Q2 2025), with options to enable all quarters or individual ones (Q1–Q4).
Legacy VWAPs: Provides monthly and quarterly VWAPs for a user-selected legacy year (e.g., 2024), labeled with a "Legacy" prefix (e.g., "Legacy Jan 2024," "Legacy Q1 2024"), with similar enablement options.
Custom VWAPs: Includes 10 fully customizable VWAPs, each with user-defined anchor times, labels (e.g., "Q1 2025"), colors, line widths (1–5), text colors, bubble styles, text sizes (8–40), and background options.
Clear and Dynamic Labeling:
Labels appear to the right of the chart, showing the VWAP value (e.g., "Q1 2025 123.45").
Weekly labels follow a "W# Month Year" format (e.g., "W1 Aug 2025").
Monthly labels use abbreviated months (e.g., "Aug 2025"), while quarterly labels use "Q# Year" (e.g., "Q3 2025").
Legacy labels include a "Legacy" prefix (e.g., "Legacy Q1 2024").
Labels support customizable text sizes (tiny to huge) and can be displayed with or without a background, with optional bubble styles.
Flexible Customization:
Each VWAP can be enabled or disabled independently, with user inputs for anchor times, labels, and visual properties.
Colors are predefined for weekly (red, orange, blue, green, purple), monthly (varied), quarterly (red, blue, green, yellow), and legacy VWAPs, but custom VWAPs allow any color selection.
Line widths and text sizes are adjustable, ensuring visual clarity and chart readability.
This indicator was a dual effort, code was heavily contributed in effort by AzDxB, major credit and THANKS goes to him tradingview.com/u/azdxb/
發行說明
update to change chart image發行說明
change source default to HLC3發行說明
Reduced custom Vwaps from 10 to 5.. added the ability to have up to three months of weekly Vwaps, up from 1 month of weekly Vwaps發行說明
added categories to the settings menu for easier settings identification發行說明
minor color changes to monthly vwap plots and label text color發行說明
change to bring the distance of the vwap labels to/from the vwap plots(lines) closer together for easier viewing開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。