OPEN-SOURCE SCRIPT
Updated Envelop - Multi Type

Envelop - Multi Type displays an upper envelope above a basis line and a lower envelope below the basis line. The basis line is a type of moving average, The envelopes are set a percentage away from the basis line.
A. Basis Line's Type
1. Gaussian Filter script by Alex Orekhov (everget)
2. SMA
3. EMA
4. TEMA
5. WMA
6. VWMA
7. DONCHIAN
8. Hull MA
9. ALMA
B. Default Percent of Envelop
1. Resolution (Time frame) <= 5: percent = 0.382
2. Resolution (Time frame) <= 15: percent = 0.5
3. Resolution (Time frame) <= 30: percent = 0.618
4. Resolution (Time frame) <= 60 (1H): percent = 0.786
5. Resolution (Time frame) <= 240 (4H): percent = 1.0
6. Resolution (Time frame) <= 1440 (1D): percent = 1.618
7. Resolution (Time frame) >1D: percent = 2.618
C. Custom Percent of Envelop
Default Percent of Envelop auto disable when Custom Percent of Envelop > 0 and the envelopes are set by user defined percentage.
A. Basis Line's Type
1. Gaussian Filter script by Alex Orekhov (everget)
2. SMA
3. EMA
4. TEMA
5. WMA
6. VWMA
7. DONCHIAN
8. Hull MA
9. ALMA
B. Default Percent of Envelop
1. Resolution (Time frame) <= 5: percent = 0.382
2. Resolution (Time frame) <= 15: percent = 0.5
3. Resolution (Time frame) <= 30: percent = 0.618
4. Resolution (Time frame) <= 60 (1H): percent = 0.786
5. Resolution (Time frame) <= 240 (4H): percent = 1.0
6. Resolution (Time frame) <= 1440 (1D): percent = 1.618
7. Resolution (Time frame) >1D: percent = 2.618
C. Custom Percent of Envelop
Default Percent of Envelop auto disable when Custom Percent of Envelop > 0 and the envelopes are set by user defined percentage.
Release Notes
Update row67Release Notes
Update:1. fill background
2. Add Standard Deviation Envelop & ATR Envelop
3. By default only Percent Envelop is open. Check/uncheck types of envelop to active them.
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.