I've found a few examples of methods to calculate an exponential moving average, but they all seem a bit clunky. Anyone know of a simple method to calculate this?

Thanks so much!