I dun goofed! EMA calculation was wrong.