OPEN-SOURCE SCRIPT
Updated

Donchian Channel - Custom

5738
This is an extension to Donchian Channel - Pivot High Low indicator. Creating new version as the new type added isn't related to pivot high/low.

New type added is based on moving average. Instead of using highest and lowest of n bars, here, we are using lowest and highest of moving average of highs and lows for n bars.


Previous version of Donchian channel pivot points can be found here:
Donchian Channel - Pivot High-Low
Release Notes
Added adoptive option as per the concept mentioned below:

Adaptive Donchian Channel

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.