Kaufman's AMA from wellx:
Non-optimized version of Kaufman's adaptive moving average.
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
The main advantage of wellx version is the color dots identifying a trend.
Author: MetaQuotes Software Corp.