OPEN-SOURCE SCRIPT
Cập nhật Anchored VWAP (Auto High & Low)

OVERVIEW
This script plots, and auto-updates, 3 separate VWAPs: a traditional VWAP, a VWAP anchored to a trends high, and another anchored to a trends low.
VWAP and Anchored VWAPs are commonly used by institutions responsible for the majority of market volume on a given day. Citadel Trading, for example, accounts for approximately 35% of all U.S. listed retail volume, largely executed through program trades over the course of a day, week, or month.
Because VWAP is a prominent market maker tool for executing large trades, day traders can use it to better anticipate trends, mean reversion, and breakouts.
This is most useful on charts with intraday time frames (1 minute, 5 minute etc.) commonly used for day trading. This is not ideal for larger time frames (1 hour or greater) commonly used for swing trading or identifying larger trends.
INPUTS
You can configure:
INSPIRATION
1. "How To Measure Anything" by Douglas W. Hubbard
2. "Maximum Trading Gains With Anchored VWAP" by Brian Shannon
Better understanding probability and how to analyze risk (first book), as well as the tools market makers use (second book), has completely reframed how I approach day trading.
This script plots, and auto-updates, 3 separate VWAPs: a traditional VWAP, a VWAP anchored to a trends high, and another anchored to a trends low.
VWAP and Anchored VWAPs are commonly used by institutions responsible for the majority of market volume on a given day. Citadel Trading, for example, accounts for approximately 35% of all U.S. listed retail volume, largely executed through program trades over the course of a day, week, or month.
Because VWAP is a prominent market maker tool for executing large trades, day traders can use it to better anticipate trends, mean reversion, and breakouts.
This is most useful on charts with intraday time frames (1 minute, 5 minute etc.) commonly used for day trading. This is not ideal for larger time frames (1 hour or greater) commonly used for swing trading or identifying larger trends.
INPUTS
You can configure:
- The size, color, and visibility of 6 different plots (VWAP, High Anchor, Low Anchor, Average of Anchors, Quarter Values, Interim Bands)
- How smooth the average displays
INSPIRATION
1. "How To Measure Anything" by Douglas W. Hubbard
2. "Maximum Trading Gains With Anchored VWAP" by Brian Shannon
Better understanding probability and how to analyze risk (first book), as well as the tools market makers use (second book), has completely reframed how I approach day trading.
Phát hành các Ghi chú
Minor cleanup.Phát hành các Ghi chú
Updated chart.Phát hành các Ghi chú
• Improved the scripts color management.• Minor logic iteration to the "moveCont" function.
Phát hành các Ghi chú
• Separated the band visibility from the anchor visibility for more control over what displays.Phát hành các Ghi chú
• Removed the 1/8 plot prices from displaying to declutter the timescale. Phát hành các Ghi chú
• Inputs were set to not display in the status line, minimizing chart clutter.Phát hành các Ghi chú
Visual cleanup of settings panel.Phát hành các Ghi chú
• Added option to specify when a given anchor should be reset if its VWAP has not been broken, measured in sessions. Disabling this feature allows anchors to run indefinitely if they are not broken. Anchors are reset independently of each other. The feature is enabled and set to "1" by default (aka. the way it used to exclusively work).• Added option to limit anchor resets to only regular trading hours and new sessions, effectively ignoring AVWAP price breaks during the after hours, overnight, and premarket.
Phát hành các Ghi chú
• Tooltip corrections.Phát hành các Ghi chú
• Removed unnecessary var declarations to reduce performance penalties.• Added ability to have VWAP continuation for up to 3 days.
Phát hành các Ghi chú
• Updated script to have the new 2 and 3 day VWAPs turned off by default.Phát hành các Ghi chú
• Updated VWAP continuation logic.Phát hành các Ghi chú
• Fixed anchor continuation bug.Phát hành các Ghi chú
Bug Fix: After a TradingView update, the plots did not work as expected. This release patches the indicator to reinstate the intended functionality of plots.Phát hành các Ghi chú
Updating indicator preview. No code changes.Phát hành các Ghi chú
- Improved 2nd and 3rd day VWAP accuracy
- Added VWAP color cycling
- Added ability to select high / low anchor source
- Added TWAP
- Fixed bug with quarter value line not displaying
- Fixed potential issue with marketHours bool
Phát hành các Ghi chú
- TWAP enhancements
- Converted to Pine Script v6
Phát hành các Ghi chú
- Incorporated Utility Library for shared logic across scripts.
Phát hành các Ghi chú
- Minor script enhancements. Core logic is the same.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Discord: discord.gg/bPAPhwUeud
Website: liquid-trader.com
Website: liquid-trader.com
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Discord: discord.gg/bPAPhwUeud
Website: liquid-trader.com
Website: liquid-trader.com
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.