Kaufman's AMA from wellx

The code was prepared back in 2005. Unlike the original, the smoothing ratio here is raised to power. The power value is set by the G external variable (the default value is 2, like in the original). Several people challenged the authorship of this value, though it is not of much significance here.

The main advantage of wellx version is the color dots identifying a trend.