OPEN-SOURCE SCRIPT

Rumpy's Donchian Anchored VWAP

Uses donchian points to anchor VWAPs (start a new VWAP interval). The defaults are set up for a 1H chart, with lookback periods of 1 day, 2 days, 1 week, 2 weeks and 4 weeks for the anchor points.

Green : upper donchian AVWAPs, Red : lower donchian AVWAPS, thin/1day to thickest/4 week.

Option to test whether a new point should be formed from a high or low exceeding the historical high/low over a lookback length or using a closes that exceed the historical high/low.

--------------------------------------

If you find it useful please consider a tip/donation :

BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
Donchian Channels (DC)Volume Weighted Average Price (VWAP)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer