OPEN-SOURCE SCRIPT
已更新

Advanced VWAP Calendar

336
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/
版本注释
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
版本注释
added custom text/label sizes for each vwap group
版本注释
minor changes
版本注释
minor changes to settings menu
版本注释
new section of "Current" daily, weekly and monthly dynamic Vwaps added, replacing a single month of "weekly" vwaps(two months of weekly vwaps remain as options to use)
版本注释
added toggles to the weekly vwap categories.. added back the 4th and 5th custom anchored vwaps
版本注释
extended future available calendar years(dates) from 2030 to 2100

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。