OPEN-SOURCE SCRIPT
Cập nhật Rolling Strategic AVWAP

The Rolling Strategic AVWAP gives you the ability to have the standard AVWAP indicators applied across all charts in all timeframes. There is no manual intervention necessary to keep all the standard VWAPs up to date. This indicator is written so that all weekends and trading holidays are taken into account so you never have any gaps or days where the indicator isn't working.
Standard rolling AVWAP indicators:
Additionally I have supplied several custom labeled AVWAP indicators that the user can adjust the date themselves
Custom Fixed AVWAP indicators:
These custom locations will allow the user to anchor the VWAP to meaningful dates and times in the market. Often there are large moves due to global macro events that can give the trader an edge by referencing the VWAP to the date and time.
Labels and Display
There are options to turn on and off any of the AVWAPs, as well as turning on and off the display labels below the candles.
Standard rolling AVWAP indicators:
- Daily
- 2-day
- 3-day
- Week-to-Date
- Month-to-Date
- Year-to-Date
Additionally I have supplied several custom labeled AVWAP indicators that the user can adjust the date themselves
Custom Fixed AVWAP indicators:
- Prior Week-to-Date
- Prior Month-to-Date
- Prior Year-to-Date
- Fed rate decision
- Inflation report
- GDP report
- Jobs report
- 3 more labeled Custom1-3
These custom locations will allow the user to anchor the VWAP to meaningful dates and times in the market. Often there are large moves due to global macro events that can give the trader an edge by referencing the VWAP to the date and time.
Labels and Display
There are options to turn on and off any of the AVWAPs, as well as turning on and off the display labels below the candles.
Phát hành các Ghi chú
The Rolling Strategic AVWAP gives you the ability to have the standard AVWAP indicators applied across all charts in all timeframes. There is no manual intervention necessary to keep all the standard VWAPs up to date. This indicator is written so that all weekends and trading holidays are taken into account so you never have any gaps or days where the indicator isn't working.Standard rolling AVWAP indicators:
Daily
2-day
3-day
Week-to-Date
Month-to-Date
Year-to-Date
Additionally I have supplied several custom labeled AVWAP indicators that the user can adjust the date themselves
Custom Fixed AVWAP indicators:
Prior Week-to-Date
Prior Month-to-Date
Prior Year-to-Date
Fed rate decision
Inflation report
GDP report
Jobs report
3 more labeled Custom1-3
These custom locations will allow the user to anchor the VWAP to meaningful dates and times in the market. Often there are large moves due to global macro events that can give the trader an edge by referencing the VWAP to the date and time.
Labels and Display
There are options to turn on and off any of the AVWAPs, as well as turning on and off the display labels below the candles.
Phát hành các Ghi chú
Changed the order of the plots so that the 1, 2, and 3 day anchors are always on top of the WTD, MTD, YTD, etc.Phát hành các Ghi chú
Fixed bug in 3-day VWAP offset calculation over the weekend.Phát hành các Ghi chú
Fixed bug where it improperly calculated day of the week and first of month.Phát hành các Ghi chú
Bug fix for Good Friday, 3day VWAP was one day offPhát hành các Ghi chú
Shortened the label names when the user wants the indicator levels to show on the price column to the right of the chart.Phát hành các Ghi chú
- Updated for 2025 Holidays including the Jimmy Carter day on Jan 9th.
- Removed Jobs and GDP anchors
- Added election anchor from 11/6
- Added 4-day and 5-day auto-anchored VWAP's
Phát hành các Ghi chú
Fixed typo on 4D/5D lines on the style tabPhát hành các Ghi chú
Fixed bug in day of the week code affecting daily vwaps.Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.