Keltner Channels
Channels drawn around a moving average of typical price (High + Low + Close) / 3.
A moving average (10 or 20period) of the typical price [(High + Low + Close)/3] is used to construct the midline (not displayed on chart). Then the average true range is calculated over a time period (same as midline, 10 or 20period) and multiplied by a multiple (usually 1.5); the calculated number is then added to the midline to form the upper Keltner Channel and subtracted from the midline to form the lower Keltner Channel.
A close above the upper channel is considered bullish and a close below the lower channel is considered bearish.
Top 
tAVG((Hz + Lz + Cz) / 3 + w * ATR1.z, x) 
x =Period, w =ATR_Multiplier, z =Offset, t =AverageType 
Bottom 
tAVG((Hz + Lz + Cz) / 3  w * ATR1.z, x) 

Center 
tAVG(Hz + Lz + Cz, x) / 3 

Width 
2 * w * tAVG(ATR1.z, x) 
Where x
is the period and must be an integer.
Where w
is the ATR Multiplier which must be a number.
Where z
is the offset. An offset of 1 is for 1 bar ago.
Where t
is the Average Type. Leave blank for Simple, X for Exponential, F for Front Weighted, and H for Hull.
The top exponential Keltner Channel 20, 1.50 for the current bar can be written as follows.
XAVG((H0 + L0 + C0) / 3 + 1.5 * ATR1.0, 20)
But you can leave off the offset parameters since it is for the current bar.
XAVG((H + L + C) / 3 + 1.5 * ATR, 20)
The bottom Keltner Channel just changes the +
between the / 3
and 1.5 *
into a 
instead.
XAVG((H + L + C) / 3  1.5 * ATR, 20)
And the center line dispenses with adding or subtracting a multiple of the Average True Range.
XAVG(H + L + C, 20) / 3
Since the ATR Multiplier is both added and subtracted from this center line, the width needs to use double the ATR Multiplier used in the formulas for the top and bottom channels.
2 * 1.5 * XAVG(ATR, 20)
Which could then be simplified.
3 * XAVG(ATR,20)
Read more about Keltner Channels on Investopedia