Adding EMA calculator and test