OPEN-SOURCE SCRIPT

ATR-Based Moving Average Envelopes

Simple MA envelopes, but the distance which the MA is projected is dependent on ATR. User chooses MA length, ATR length. Additionally, there is a multiplier which can be used to project the bands additional X amount of ATR.
Average True Range (ATR)Moving AveragesVolatility

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