OPEN-SOURCE SCRIPT

Crypto Anchored VWAP (Swing High/Low)

26
Crypto Anchored VWAP (Swing High/Low)
This indicator provides an automatic Anchored VWAP system designed specifically for highly volatile assets such as cryptocurrencies (ETH, BTC, SOL, etc.).
Unlike traditional AVWAP tools that require manual date input, this script automatically anchors VWAP to the most recent swing high and swing low, making it ideal for real-time trend tracking and intraday/4H structure analysis.

How It Works
The script detects local swing lows and swing highs based on user-defined swing length.

When a new swing point appears, an Anchored VWAP is initialized from that specific candle.

As price evolves, the AVWAP dynamically becomes:
A trend boundary
A fair-value line
A mean-reversion attractor

Traders can use these levels to identify:
Trend continuation
Breakout confirmation
Mean reversion pullbacks
Overextended expansions


Included Features
✔ Auto-Anchored VWAP from swing low
✔ Auto-Anchored VWAP from swing high
✔ Standard deviation bands (1σ) for volatility context
✔ Designed for Crypto 4H / 1H / 15m
✔ Works on any asset & any timeframe

How To Use
1. Trend Direction
Price above Swing-Low VWAP → Bullish bias
Price below Swing-High VWAP → Bearish bias

2. Trade Setups
Break → Retest → Hold above AVWAP = Trend continuation long
Reject from AVWAP / σ band = Mean-reversion short setup
AVWAP zone → High probability liquidity reaction

3. Volatility Bands
Price touching +1σ = extension
Price returning to 0σ = mean reversion
Price breaking −1σ = trend weakening

Inputs
Swing Length: determines sensitivity of swing high/low detection
(Default: 5)

Best Use Cases
ETH 4H trend following
BTC structure shifts
Altcoin volatility filtering
Identifying institutional "cost basis" zones
Confirming breakouts / fakeouts

Notes
This is not a trading system by itself but a structural tool meant to help traders understand trend and value location. Always combine AVWAP with market structure, volume, and risk management.

Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. Use at your own discretion.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。