OPEN-SOURCE SCRIPT

Donchian Channel - Custom

Updated
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
customindicatorDonchian Channels (DC)Moving AveragesPivot Points

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