DEMA (red) is an ema on another ema (blue). It smooths and approximates the trend better. It may be usefull to remove common lags in the ema. It can be used for MACD.
Figure 9.4: Double Exponential Moving Average