AVWAP Multi-Day Overextension

188
AVWAP-OX v1 is in AVWAP_OX_v1.pine. It’s one script that draws the AVWAP and ±1/2/3σ bands on price and the z-score histogram in its own pane, using the four choices you picked.

How it works

Anchor: the 9:30 ET open of the session N trading days back, counted from the last bar on the chart (0 = today). If the chart is still in pre-market, “today” means the previous session.
What it accumulates: regular-session bars only, from the anchor forward. That includes pre- and post-market on later days, which are skipped too.
The two measures: the same ones you specified for VWAP-OX. D% = (P − AVWAP)/AVWAP × 100, and z = (P − AVWAP)/σ, where σ is the volume-weighted standard deviation since the anchor.
Tiers: the histogram colours by tier. Orange and red shades mean stretched above the AVWAP; teal shades mean stretched below. Bars stay grey during the warm-up.
Status table: shows the actual anchor date and time, AVWAP, z, D%, and a check line.

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.