implemented ema indicator