ChartAnalyzer: fixed two bugs in EMA calculation
now bot implements MACD