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 open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.