This script is a Keltner Channel that uses a Hull Moving Average as source, instead of the 20-period EMA.
A hull band improves on lag and smoothness to Simple and Exponential Moving Averages.
And ATR based envelop is generated from this improved MA to form the Keltner Channel.
Hull on EHMA source with 180 periods loopback, coupled with a 200 period loopback for the Keltner Channel and 2 and 6 standard deviations, are my fav settings on Bitcoin, but feel free to try new settings.
Use it as you would use a normal Keltner Channel or Bollinger Bands.