OPEN-SOURCE SCRIPT
VWAP Daily/Weekly/Monthly - Automatic Anchored

Explanation:
This script plots Volume-Weighted Average Price (VWAP) lines that are automatically anchored to the beginning of key timeframes — daily, weekly, and monthly. VWAP is a widely used trading indicator that shows the average price of an asset weighted by trading volume, making it useful for identifying fair value and institutional trading levels.
The “automatic anchored” feature means that you don’t have to manually select starting points. Instead, the script automatically resets the VWAP at the start of each day, week, or month, depending on the chosen setting. This ensures the VWAP always reflects the true average price for that period, providing traders with a consistent reference for support, resistance, and trend direction across multiple timeframes.
Notice:
On the chart, you may notice visible “jumps” in the VWAP lines. These are intentional. Each jump marks the reset point at the start of a new day, week, or month, depending on the selected setting. This design keeps the VWAP history from the previous period intact, allowing you to clearly see how price interacted with VWAP in past sessions.
By keeping these historical resets, you can easily compare short-term (daily) VWAP behavior against longer-term levels like weekly and monthly VWAP. This provides valuable context, helping you spot when price respects or diverges from fair value across different timeframes.
In short:
Daily VWAP resets at the start of each trading day.
Weekly VWAP resets at the beginning of each trading week.
Monthly VWAP resets at the start of each month.
This makes it easy to analyze how price interacts with VWAP levels across different time horizons without manual adjustments.
This script plots Volume-Weighted Average Price (VWAP) lines that are automatically anchored to the beginning of key timeframes — daily, weekly, and monthly. VWAP is a widely used trading indicator that shows the average price of an asset weighted by trading volume, making it useful for identifying fair value and institutional trading levels.
The “automatic anchored” feature means that you don’t have to manually select starting points. Instead, the script automatically resets the VWAP at the start of each day, week, or month, depending on the chosen setting. This ensures the VWAP always reflects the true average price for that period, providing traders with a consistent reference for support, resistance, and trend direction across multiple timeframes.
Notice:
On the chart, you may notice visible “jumps” in the VWAP lines. These are intentional. Each jump marks the reset point at the start of a new day, week, or month, depending on the selected setting. This design keeps the VWAP history from the previous period intact, allowing you to clearly see how price interacted with VWAP in past sessions.
By keeping these historical resets, you can easily compare short-term (daily) VWAP behavior against longer-term levels like weekly and monthly VWAP. This provides valuable context, helping you spot when price respects or diverges from fair value across different timeframes.
In short:
Daily VWAP resets at the start of each trading day.
Weekly VWAP resets at the beginning of each trading week.
Monthly VWAP resets at the start of each month.
This makes it easy to analyze how price interacts with VWAP levels across different time horizons without manual adjustments.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。