OPEN-SOURCE SCRIPT
已更新 VWAP - Monthly Auto Anchored

Monthly VWAP auto anchors to the start of each month
Lines are labelled and text changes when the line changes color
Has Std Dev Bands
Locked to Monthly only
Lines are labelled and text changes when the line changes color
Has Std Dev Bands
Locked to Monthly only
發行說明
Replaced the Delta Triangle with a directional triangle that changes direction to weather above or below the VWAP發行說明
Fixes- Line color matching line labels when changed
發行說明
UpdatesSame label format applied as Weekly and RTH/Globex
Monthly VWAP (▲: 12.50 pts) with optional | Ext: when outside bands
Band labels show as Monthly UB / Monthly LB
Fixed variable scoping bug
發行說明
Resolved issue to show correct points between VWAP and Bands發行說明
Fixed issue that 1-2min charts monthly isn't matching the 5min cause of the number of candlesTradingview gives you so its now locked to the 5min data on all timeframes
發行說明
Update:- Fixed: a calculation bug where the monthly VWAP could drift on active symbols — the running total was being re-added on every price tick of the still-forming calculation-timeframe bar instead of once per closed bar.
- Fixed: labels now update correctly during Bar Replay — previously they didn't appear until replay caught all the way up to the live bar.
- Fixed: "Percentage" band mode now has its own width input instead of being locked at 1%.
- Fixed: a data gap (missing price/volume) no longer risks corrupting the running VWAP total.
- Added: "Show Current Price on Label" option — displays the live price alongside the VWAP label, toggle on/off as preferred.
發行說明
Update:- Changed: "Show Current Price on Label" replaced with two separate toggles — "Show Price on VWAP Label" and "Show Price on Band Labels" (the latter applies to both UB and LB together).
- Fixed: each label now shows its own value (VWAP labels show the VWAP price, band labels show that band's price) instead of all three showing the same current market price.
發行說明
Update notes:Fixed a VWAP accuracy bug where the running total was being recalculated on every price tick of the still-forming bar, causing that bar's volume to be counted multiple times before it closed. VWAP now only commits a bar's contribution once, when it closes.
Fixed a Bar Replay bug where the line and labels wouldn't draw until replay caught all the way up to the current live bar.
Fixed "Percentage" band mode, which was previously hardcoded to 1% with no way to adjust it — added a Percentage Width (%) input.
Added the option to show each line's own current price directly on its label. Two independent toggles: one for the VWAP label, and one shared toggle for the Upper/Lower Band labels together. Both now default to on.
Added a toggle to show/hide the band-width and extension-distance info on the VWAP label, for anyone who just wants the plain label name (and price). Defaults to on.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。