The exponentially weighted moving average is essentially a first order low pass filter:
y(t)=(1-a)*y(t-1) + a*u(t)
where y(t) is the present filter output, u(t) is the present filter input, y(t-1) is the filter output at the previous time and a is the smoothing factor or filter parameter...