Next: Laguerre Filter, Previous: Hull Moving Average, Up: Averages [Index]

The Kaufman adaptive moving average (KAMA) by Perry J. Kaufman (http://www.perrykaufman.com) is an exponential style average (see Exponential Moving Average) but with a smoothing that varies according to recent data. In a steadily progressing move the latest prices are tracked closely, but when going back and forward with little direction the latest prices are given only small weights.

The smoothing factor is determined from a given past N days closes (default 10). The net change (up or down) over that time is expressed as a fraction of the total daily changes (up and down). This is called the “efficiency ratio”. If every day goes in the same direction then the two amounts are the same and the ratio is 1. But in the usual case where prices backtrack to some extent then the net will be smaller than the total. The ratio is 0 if no net change at all.

abs (close[today] - close[N days ago]) ER = -------------------------------------- Sum abs (close - close[prev]) past N days

The ER is rescaled to between 0.0645 and 0.666 and then squared to give an alpha factor for the EMA of between 0.444 and 0.00416. This corresponds to EMA periods from a fast 3.5 days to a very slow 479.5 days.

alpha = (ER * 0.6015 + 0.0645) ^ 2

An exponential moving average of prices is then taken, using each alpha value calculated.

KAMA = alpha * close + (1-alpha) * KAMA[prev]

These alpha values can be viewed directly with “KAMA alpha” in the lower indicator window (a low priority option, near the end of the lists). High values show where KAMA is tracking recent prices closely, low values show where it’s responding only slowly.

- http://www.traders.com/Documentation/FEEDbk_docs/Archive/0398/TradersTips/Tips9803.html – TASC Trader’s Tips March 1998 with various code.
- http://www.tssupport.com/support/base/?action=article&id=1769 – short tradestation article and EFS code.

Next: Laguerre Filter, Previous: Hull Moving Average, Up: Averages [Index]

Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2016, 2017 Kevin Ryde

Chart is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.