OPEN-SOURCE SCRIPT

Pro AVWAP Structure Suite - Clean Distance Direction

190
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.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.