Quote:
Originally Posted by Lafleur
Here is a bit of code to use the Exponential moving average (EMA) function for data smoothing.
|
Nice. We've stuck with arithmetic moving averages in the past since they are fast and can be implemented in pure integer math, but it's nice to see someone using this and posting sample code.