Kaufman’s Adaptive Moving Average ( AMA , KAMA , AMkA from Kaufman's Adaptive Moving Average ) is a technical indicator , a kind of adaptive moving average based on an exponentially smoothed moving average and the original method of determining and applying volatility as a dynamically changing smoothing constant [1] [2] [3] [4] .
The Adaptive Moving Average indicator was developed by Perry J. Kaufman and first introduced in 1995 in his book “Smart Trading: Improving Performance in a Changing Markets ” [1] [ 2] .
Content
- 1 Prerequisites for creating an indicator
- 2 Calculation Method
- 2.1 Basic formula
- 2.2 coefficient of effectiveness
- 2.3 Smoothing constant
- 2.4 Adaptive Moving Average
- 3 Original parameter values
- 4 Trading Strategies
- 5 Filtering
- 6 Numerical values for the filter
- 7 Trading strategies using filters
- 8 Communication with other indicators
- 9 notes
- 10 Literature
Prerequisites for creating an indicator
When using classical moving averages as an indicator of technical analysis, traders are faced with the need to choose the optimal window width for their calculations. In the general case, this is a non-trivial task that spawned a whole branch of technical analysis [5] . There was a proposal to automate the selection of this parameter. In 1992, Tushar Chande developed an adaptive moving average model ( VIDYA ), in which the width of the window depends on price volatility [6] , and in 1995 Perry Kaufman proposed his version of a similar technical indicator [2] . The main message of Kaufman was the desire to implement a conservative following in the direction of the trend , while quickly receiving a signal in a dynamic market and timely closing positions when the market becomes non-directional [2] .
Calculation Method
Basic Formula
The adaptive Kaufman moving average is a derivative of the classical exponentially smoothed moving average with a variable smoothing coefficient. That is, every time a classic formula is used
in which the smoothing constant It is calculated dynamically and generally differs for each period .
Performance Ratio
To determine the state of the market, Perry Kaufman introduces the concept of an efficiency coefficient ( ER from the English efficiency ratio ), which is based on the ratio of the total price movement (direction) and the sum of the absolute values of the noise market movements (volatility) for a certain period (n) [1] [2 ] ] :
Where - accordingly, the total price movement, the sum of noise movements and the efficiency coefficient at the over a period ; - period closing price .
It can be seen from the presented formulas that the efficiency coefficient can vary from 0 to 1. Moreover, its value tends to zero when there is no directed movement in the market, and to unity when the market moves unidirectionally. If the price chart is a straight line, the coefficient of efficiency will be equal to one.
Smoothing Constant
At the next stage, a variable smoothing constant ( SSC from the English scaled smoothing constant ) is calculated, which is built on the assumption that, depending on the efficiency coefficient, it should “remember” data for a different number of previous periods. That is, in the trending market, a fast moving average (calculated on a narrow window) should be used, and on a non-trending market, a slow moving average (calculated on a wide window). Moreover, the specific value of the window width should be obtained automatically based on the value of the efficiency coefficient [1] [2] :
Where Are the classic smoothing coefficients for an exponentially smoothed moving average, and - the changing smoothing constant calculated for the moment using the efficiency coefficient to build window size periods, taking as a quick smoothing factor - periods, and as a slow smoothing coefficient - periods.
For a more effective impact of a changing smoothing constant (SSC) in highly noisy market areas with a weak trend component, Kaufman recommends using the SSC square as a dynamic smoothing coefficient in the formulas of an exponentially smoothed moving average:
Adaptive Moving Average
The final formula for the adaptive moving average will look as follows [1] [2] :
Where - values of adaptive moving average at time and (current and previous values), - the second degree of the changing smoothing constant, - closing price of the current period .
Original parameter values
Kaufman used [1] as the original parameters:
- (for the window for calculating the efficiency coefficient),
- (for fast moving average)
- (for a slow moving average).
When substituting the specified parameters in the formulas, we obtain (with the original rounding):
Trading Strategies
Trading strategies based on Kaufman’s adaptive moving average are common to all trend-following indicators [1] :
- Open a long position (close short) when the price chart crosses the AMA chart from the bottom up.
- Close a long position (open short) when the price chart crosses the AMA chart from top to bottom.
It is important to note that the AMA changes its direction of movement exactly at the intersection of its chart with the price chart, that is, for trading it is enough to compare the current and previous value of the indicator [2] :
- Open a long position (close a short one) when the current AMA value is greater than its previous value.
- Close a long position (open short) when the current AMA value is less than its previous value.
Filtering
Despite the dynamic adaptability of the adaptive moving average to market volatility, Kaufman believed that his indicator gives too many false signals [1] . Therefore, he proposed an additional filtering technique based on the estimation of the standard deviation of the difference of the adaptive moving average for neighboring periods [1] [2] .
For this, the change in AMA between periods is taken as a randomly studied variable:
Then, the standard deviation of this change is calculated:
Where - standard deviation of the change in neighboring periods - , - expectation behind periods.
As a filter, the share of the obtained standard deviation is used:
Where - filter value based on the standard deviation of the indicator movements, - percentage ratio.
Numerical values for the filter
Often, for the filter period d, the same number of periods is taken as for constructing the efficiency coefficient [1] [2] :
As for the percentage for the filter - , Kaufman recommended using different values, for example, for futures and in the forex market, using values of about 10% ( ), and on the stock market - up to 100% ( )
Trading Strategies Using Filters
When using an adaptive moving average with a filter, analysts recommend adhering to the following strategy [1] [2] :
- Open long position (close short) when .
- Close long position (open short) when .
In these formulas - the minimum value of the AMA at the pivot from the bottom up, - the maximum value of the AMA at the pivot from top to bottom, - filter value based on the standard deviation of indicator movements.
Link to other indicators
In addition, the Kaufman Adaptive Moving Average is a type of moving average indicators using the method of exponentially smoothed moving average. It is worth noting that the rate of change indicator (for the period for direction and the sum of single-period for volatility ) is used to calculate the efficiency coefficient .
You can also pay attention to the fact that it was Kaufman who was the first to use estimates based on standard deviations (here to construct the filter), which were subsequently used in one form or another by many analysts, in particular, Bollinger Bands [2] .
Notes
- ↑ 1 2 3 4 5 6 7 8 9 10 11 Perry J. Kaufman Smarter Trading: Improving Performance in Changing Markets - McGraw-Hill, Inc., 1995, 257 p. - ISBN 0-07-034002-1
- ↑ 1 2 3 4 5 6 7 8 9 10 11 12 Dynamic moving averages. Part 2. // Konstantin Kopyrkin, “Modern Trading”, No. 5–6, 2001. P. 8–12.
- ↑ Article Adaptive Moving Average Archived on June 4, 2012. on the KROUFR website.
- ↑ Do Adaptive Moving Averages Lead To Better Results? (Eng.) // Investopedia.com , November 26, 2008.
- ↑ Erlich A. A. Technical analysis of commodity and financial markets: Applied manual. - 2nd ed. - M .: INFRA-M, 1996 .-- 176 p. ISBN 5-86225-346-7
- ↑ Jeffrey Owen Katz, Donna L. McCormick. Encyclopedia of Trading Strategies - M. Alpina Publisher, 2002.400 p. - ISBN 5-94599-028-0
Literature
- Perry J. Kaufman Smarter Trading: Improving Performance in Changing Markets - McGraw-Hill, Inc. - 1995—257 p. - ISBN 0-07-034002-1 .