OPEN-SOURCE SCRIPT
Volume Based Donchian

A simple experiment that mixes volume and Donchian's algorithm.
In this version I have implemented a more elegant version of the formula, using the VWMA function instead of spelling out the steps.
I have kept both formulas for educational purposes.
I also plot an Alma Moving Average, how you can see a 16 periods Volume Based Donchian is pretty similar to a 80 period Alma. I think it could be nice stuff if you wanna ask me something write me.
In this version I have implemented a more elegant version of the formula, using the VWMA function instead of spelling out the steps.
I have kept both formulas for educational purposes.
I also plot an Alma Moving Average, how you can see a 16 periods Volume Based Donchian is pretty similar to a 80 period Alma. I think it could be nice stuff if you wanna ask me something write me.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.