working/tested SMA, EMA