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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.