I did use the Keltner channel code as the base code for this indicator. In Ninjatrader, the default Keltner code uses the simple moving average instead of the exponential moving average. It was indeed a simple change to make.
The formula for Keltner doubles the ATR and adds it to the EMA...