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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.