PROTECTED SOURCE SCRIPT
Updated

Double Donchian with ATR Stop

4 001
Brief:
Default Small Donchian period : 20 for D,W,M and 9 for smaller timeframe (1)
Default Big Donchian period : 50 for all timeframe
Default ATR Stop: 2ATR

Settings:

Donchian Settings : it does nothing but tell you that below is Donchian Settings
- Show Basis: show donchian basis line or not, default is no
- Background: show donchian's background or not, default is yes
...
- Show "xxx" : show donchian's "xxx" or not, default is yes

- Smalldon : Smaller Donchian's period : if it's "0" then it use (1) as default, if you want to change the period, change the "0" with the number you want, then (1) will no be applied.
- Bigdon: Bigger Donchian's period: change as you want

ATR Settings
ATR period & ATR multiplier too easy to have a manual.
Release Notes
Updated to newer version of codes and changed ATRmultiplier to float instead of int.

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.