OPEN-SOURCE SCRIPT
Pro AVWAP Structure Suite - Clean Distance Direction

Pro AVWAP Structure Suite - Clean Distance Direction is a clean anchored VWAP structure indicator designed for traders who want AVWAP context without losing focus on candlesticks and price action.
The script includes multiple AVWAP groups:
1. Core AVWAPs:
- WTD AVWAP
- MTD AVWAP
- QTD AVWAP
- YTD AVWAP
- IPO AVWAP
2. Session / Range Levels:
- Today’s AVWAP
- Today’s High
- Today’s Low
- Previous Day High
- Previous Day Low
- This Week High
- This Week Low
3. Historical Event AVWAPs:
- COVID High
- COVID Low
- GFC Low
- Dotcom Low
- April Tariff Low
- March 2026 Low
4. Rolling Daily AVWAP Anchors:
- 10D
- 20D
- 50D
- 100D
- 150D
- 200D
- 250D
5. Rolling Weekly AVWAP Anchors:
- 10W
- 30W
6. Structure / Event AVWAPs:
- 52W High
- 52W Low
- YTD High
- YTD Low
- Swing High
- Swing Low
- Gap Up
- Gap Down
- Earnings Gap Proxy
7. Manual AVWAPs:
- Manual 1
- Manual 2
- Manual 3
The indicator includes a special visibility mode:
- Show Lines + Labels
- Labels Only
- Lines Only
- Hide All
Labels Only mode is useful when you want a clean chart where candlesticks remain the main focus, while still keeping AVWAP values and distance information visible on the right side.
Right-side AVWAP label boxes can show:
- AVWAP name
- AVWAP value
- Distance percentage from current price
- Direction arrow
Direction arrow meaning:
- ▲ = price is above the AVWAP
- ▼ = price is below the AVWAP
The label text can also use direction-based coloring:
- Green = price above AVWAP
- Red = price below AVWAP
The indicator also includes optional historical touch markers. These are intentionally limited to selected important AVWAPs to avoid clutter:
- Circle = YTD AVWAP touch
- Diamond = IPO AVWAP touch
- Square = 52W Low AVWAP touch
Marker color meaning:
- Green = candle closed above the touched AVWAP
- Red = candle closed below the touched AVWAP
Historical touch markers are OFF by default to keep the chart clean. A touch sensitivity setting and lookback control are included for historical AVWAP reaction study.
The script also includes dark and light chart visibility settings, auto colors, softer line transparency, and auto-contrast label boxes for better readability.
This indicator is designed as a visual structure and price-action support tool. It does not generate buy or sell signals and should not be used as a standalone trading system.
The script includes multiple AVWAP groups:
1. Core AVWAPs:
- WTD AVWAP
- MTD AVWAP
- QTD AVWAP
- YTD AVWAP
- IPO AVWAP
2. Session / Range Levels:
- Today’s AVWAP
- Today’s High
- Today’s Low
- Previous Day High
- Previous Day Low
- This Week High
- This Week Low
3. Historical Event AVWAPs:
- COVID High
- COVID Low
- GFC Low
- Dotcom Low
- April Tariff Low
- March 2026 Low
4. Rolling Daily AVWAP Anchors:
- 10D
- 20D
- 50D
- 100D
- 150D
- 200D
- 250D
5. Rolling Weekly AVWAP Anchors:
- 10W
- 30W
6. Structure / Event AVWAPs:
- 52W High
- 52W Low
- YTD High
- YTD Low
- Swing High
- Swing Low
- Gap Up
- Gap Down
- Earnings Gap Proxy
7. Manual AVWAPs:
- Manual 1
- Manual 2
- Manual 3
The indicator includes a special visibility mode:
- Show Lines + Labels
- Labels Only
- Lines Only
- Hide All
Labels Only mode is useful when you want a clean chart where candlesticks remain the main focus, while still keeping AVWAP values and distance information visible on the right side.
Right-side AVWAP label boxes can show:
- AVWAP name
- AVWAP value
- Distance percentage from current price
- Direction arrow
Direction arrow meaning:
- ▲ = price is above the AVWAP
- ▼ = price is below the AVWAP
The label text can also use direction-based coloring:
- Green = price above AVWAP
- Red = price below AVWAP
The indicator also includes optional historical touch markers. These are intentionally limited to selected important AVWAPs to avoid clutter:
- Circle = YTD AVWAP touch
- Diamond = IPO AVWAP touch
- Square = 52W Low AVWAP touch
Marker color meaning:
- Green = candle closed above the touched AVWAP
- Red = candle closed below the touched AVWAP
Historical touch markers are OFF by default to keep the chart clean. A touch sensitivity setting and lookback control are included for historical AVWAP reaction study.
The script also includes dark and light chart visibility settings, auto colors, softer line transparency, and auto-contrast label boxes for better readability.
This indicator is designed as a visual structure and price-action support tool. It does not generate buy or sell signals and should not be used as a standalone trading system.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。