OPEN-SOURCE SCRIPT
Smart AVWAPs

## Smart AVWAPs
Smart AVWAPs is a multi-anchored VWAP indicator designed for swing traders who want to identify areas where several important volume-weighted price levels converge.
Instead of anchoring VWAPs to every minor swing, the indicator automatically creates AVWAPs from selected high-importance events:
* High relative volume swing highs and lows
* Earnings gaps
* 52-week highs and lows
* Major reversal candles with elevated volume
The indicator keeps the most recent active AVWAPs on the chart, making it easier to visually identify price zones where multiple anchored VWAPs overlap or compress.
### How to Use
AVWAP convergence can highlight areas where participants anchored to different market events have similar volume-weighted cost bases.
For swing trading, these areas can be monitored as potential support, resistance, consolidation, or breakout zones.
A typical workflow is:
1. Look for several AVWAPs converging within a narrow price range.
2. Observe how price behaves around the convergence area.
3. Wait for confirmation such as a strong breakout, reclaim, increased relative volume, or successful retest.
4. Use broader trend, market structure, and risk management before taking a position.
AVWAP convergence itself is not intended to be an automatic buy or sell signal.
### Inputs
**Active AVWAPs**
Controls the maximum number of recent AVWAP anchors displayed.
**Pivot Left / Right**
Controls the sensitivity of swing-high and swing-low detection.
**Minimum RVOL**
Requires a swing or reversal candle to have elevated volume relative to its recent average.
**Earnings Gap %**
Defines the minimum price gap required for an earnings event to create an anchor.
**Reversal ATR**
Controls how large a reversal candle must be relative to ATR before it qualifies as a significant anchor.
### Intended Use
The indicator is primarily designed for daily-chart swing trading, but the settings can be adjusted for other timeframes and trading styles.
It is best used as a visual confluence tool rather than as a standalone trading system.
For research and educational purposes only. This indicator does not provide financial advice or guarantee future mar
Smart AVWAPs is a multi-anchored VWAP indicator designed for swing traders who want to identify areas where several important volume-weighted price levels converge.
Instead of anchoring VWAPs to every minor swing, the indicator automatically creates AVWAPs from selected high-importance events:
* High relative volume swing highs and lows
* Earnings gaps
* 52-week highs and lows
* Major reversal candles with elevated volume
The indicator keeps the most recent active AVWAPs on the chart, making it easier to visually identify price zones where multiple anchored VWAPs overlap or compress.
### How to Use
AVWAP convergence can highlight areas where participants anchored to different market events have similar volume-weighted cost bases.
For swing trading, these areas can be monitored as potential support, resistance, consolidation, or breakout zones.
A typical workflow is:
1. Look for several AVWAPs converging within a narrow price range.
2. Observe how price behaves around the convergence area.
3. Wait for confirmation such as a strong breakout, reclaim, increased relative volume, or successful retest.
4. Use broader trend, market structure, and risk management before taking a position.
AVWAP convergence itself is not intended to be an automatic buy or sell signal.
### Inputs
**Active AVWAPs**
Controls the maximum number of recent AVWAP anchors displayed.
**Pivot Left / Right**
Controls the sensitivity of swing-high and swing-low detection.
**Minimum RVOL**
Requires a swing or reversal candle to have elevated volume relative to its recent average.
**Earnings Gap %**
Defines the minimum price gap required for an earnings event to create an anchor.
**Reversal ATR**
Controls how large a reversal candle must be relative to ATR before it qualifies as a significant anchor.
### Intended Use
The indicator is primarily designed for daily-chart swing trading, but the settings can be adjusted for other timeframes and trading styles.
It is best used as a visual confluence tool rather than as a standalone trading system.
For research and educational purposes only. This indicator does not provide financial advice or guarantee future mar
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
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.