Hacker News new | ask | show | jobs
by rooster8 3952 days ago
The simple answer is an exponential moving average, but there's some additional stuff to compensate for the lag associated with using a moving average on a downward-trending or upward-trending dataset.