OPEN-SOURCE SCRIPT
Updated

HighestHigh LowestLow Lookback Window AAVWAP

140
Plots Auto Anchored Vwap from either highest high and lowest low inside the lookback window from the last bar.

Includes 1 deviation multiplier band set each for highest high and lowest low.
You can configure the lookback window and deviation band multiplier and the line colors.

Includes alert conditions.

This code is functional replication of TradingView's auto anchored VWAP.
Release Notes
Added distance to close tooltips! Handled no volume error.
Release Notes
Fixed off by 1 bug.
Release Notes
Option added to prevent repainting.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.