ATR Bands

Each line is drawn at intervals based on the value ATR * Coefficient.

Source: Specifies a center line. Default value is close.
Period: ATR Period.
Coefficient: Adjusts the bandwidth.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.