OPEN-SOURCE SCRIPT

Volume Based Donchian

2021
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.

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.