LogoLogo
Return to StockChartsCharts & ToolsArticlesChartSchoolYour Dashboard
  • 📋ChartSchool
  • Table of Contents
    • Overview
      • Why Analyze Securities?
      • Technical Analysis
      • Fundamental Analysis
      • Random Walk vs. Non-Random Walk
      • Asset Allocation and Diversification
      • John Murphy's 10 Laws of Technical Trading
      • John Murphy's "Charting Made Easy" eBook
      • Technical Analysis 101
        • TA 101 – Part 1
        • TA 101 – Part 2
        • TA 101 – Part 3
        • TA 101 – Part 4
        • TA 101 – Part 5
        • TA 101 – Part 6
        • TA 101 – Part 7
        • TA 101 – Part 8
        • TA 101 – Part 9
        • TA 101 – Part 10
        • TA 101 – Part 11
        • TA 101 – Part 12
        • TA 101 – Part 13
        • TA 101 – Part 14
        • TA 101 – Part 15
        • TA 101 – Part 16
        • TA 101 – Part 17
      • Irrational Exuberance
      • Cognitive Biases
      • Arthur Hill on Goals, Style and Strategy
      • Arthur Hill on Moving Average Crossovers
      • Multicollinearity
      • "The Trader's Journal" by Gatis Roze
        • Stage 1: Money Management
        • Stage 2: Business of Investing
        • Stage 3: The Investor Self
        • Stage 4: Market Analysis
        • Stage 5: Routines
        • Stage 6: Stalking Your Trade
        • Stage 7: Buying
        • Stage 8: Monitoring Your Investments
        • Stage 9: Selling
        • Stage 10: Re-Examine, Refine, Re-Enhance
        • Additional Reading
      • Bob Farrell's 10 Rules
      • Richard Rhodes' Trading Rules
      • Donchian Trading Guidelines
      • Why and How To Use Correlation
    • Chart Analysis
      • What Are Charts?
      • Support & Resistance
      • Trend Lines
      • Gaps and Gap Analysis
      • Introduction to Chart Patterns
      • Chart Patterns
        • Broadening Top or Megaphone Top
        • Double Top Reversal
        • Double Bottom Reversal
        • Head and Shoulders Top
        • Head and Shoulders Bottom
        • Falling Wedge
        • Rising Wedge
        • Rounding Bottom
        • Triple Top Reversal
        • Triple Bottom Reversal
        • Bump and Run Reversal
        • Flag, Pennant
        • Symmetrical Triangle
        • Ascending Triangle
        • Descending Triangle
        • Rectangle
        • Price Channel
        • Measured Move—Bullish
        • Measured Move—Bearish
        • Cup With Handle
      • Chart Types
        • Arms CandleVolume
        • CandleVolume
        • Elder Impulse System
        • EquiVolume
        • Heikin-Ashi Candlesticks
        • Kagi Charts
        • Renko Charts
        • Three Line Break Charts
        • MarketCarpets
        • Relative Rotation Graphs (RRG Charts)
        • Seasonality Charts
        • Yield Curve
      • Candlestick Charts
        • Introduction to Candlesticks
        • Candlesticks and Traditional Chart Analysis
        • Candlesticks and Support
        • Candlesticks and Resistance
        • Candlestick Bullish Reversal Patterns
        • Candlestick Bearish Reversal Patterns
        • Candlestick Pattern Dictionary
      • Point and Figure Charts
        • Point and Figure Basics
          • Introduction to Point & Figure Charts
          • Point & Figure Scaling and Timeframes
          • P&F Trend Lines
        • Classic Patterns
          • P&F Bullish Breakouts
          • P&F Bearish Breakdowns
          • P&F Signal Reversed
          • P&F Catapults
          • P&F Triangles
          • P&F Bull & Bear Traps
        • P&F Price Objectives
          • P&F Price Objectives: Breakout and Reversal Method
          • P&F Price Objectives: Horizontal Counts
          • P&F Price Objectives: Vertical Counts
        • Point & Figure Indicators
        • P&F Scans and Alerts
          • P&F Pattern Alerts
      • Chart Annotation Tools
        • Andrews' Pitchfork
        • Stock Market Cycles
        • Fibonacci Retracements
        • Fibonacci Arcs
        • Fibonacci Fans
        • Fibonacci Time Zones
        • Quadrant Lines
        • Raff Regression Channel
        • Speed Resistance Lines
    • Technical Indicators & Overlays
      • Introduction to Technical Indicators and Oscillators
      • Technical Indicators
        • Accumulation/Distribution Line
        • Alligator Indicator
        • Aroon
        • Aroon Oscillator
        • ATR Bands
        • ATR Trailing Stops
        • Average Directional Index (ADX)
        • Average True Range (ATR) and Average True Range Percent (ATRP)
        • Balance of Power (BOP)
        • Bollinger BandWidth
        • %B Indicator
        • Chaikin Money Flow (CMF)
        • Chaikin Oscillator
        • Chande Trend Meter (CTM)
        • CMB Composite Index
        • Commodity Channel Index (CCI)
        • ConnorsRSI
        • Coppock Curve
        • Correlation Coefficient
        • DecisionPoint Price Momentum Oscillator (PMO)
        • Detrended Price Oscillator (DPO)
        • Distance From Highs
        • Distance From Lows
        • Distance To Highs
        • Distance To Lows
        • Distance From Moving Average
        • Ease of Movement (EMV)
        • Force Index
        • Gopalakrishnan Range Index
        • High Low Bands
        • High Minus Low
        • Highest High Value
        • Linear Regression R2
        • Lowest Low Value
        • Mass Index
        • MACD (Moving Average Convergence/Divergence) Oscillator
        • MACD-Histogram
        • MACD-V
        • MACD-V Histogram
        • Median Price
        • Money Flow Index (MFI)
        • Negative Volume Index (NVI)
        • On Balance Volume (OBV)
        • Percentage Price Oscillator (PPO)
        • Percentage Volume Oscillator (PVO)
        • Performance Spread
        • Price Relative/Relative Strength
        • Pring's Know Sure Thing (KST)
        • Pring's Special K
        • Rate of Change (ROC)
        • Relative Strength Index (RSI)
        • Relative Volume (RVOL)
        • RRG Relative Strength
        • StockCharts Technical Rank
        • Slope
        • Standard Deviation (Volatility)
        • Stochastic Oscillator (Fast, Slow, and Full)
        • StochRSI
        • Traffic Light
        • TRIX
        • True Range
        • True Strength Index
        • TTM Squeeze
        • Typical Price
        • Ulcer Index
        • Ultimate Oscillator
        • Vortex Indicator
        • Weighted Close
        • Williams %R
      • Technical Overlays
        • Anchored VWAP
        • Bollinger Bands
        • Chandelier Exit
        • Double Exponential Moving Average (DEMA)
        • Hull Moving Average (HMA)
        • Ichimoku Cloud
        • Kaufman's Adaptive Moving Average (KAMA)
        • Keltner Channels
        • Linear Regression Forecast
        • Linear Regression Intercept
        • Moving Averages—Simple and Exponential
        • Moving Average Ribbon
        • Moving Average Envelopes
        • Parabolic SAR
        • Pivot Points
        • Price Channels
        • Triple Exponential Moving Average (TEMA)
        • Volume-by-Price
        • Volume-Weighted Average Price (VWAP)
        • ZigZag
    • Market Indicators
      • Introduction to Market Indicators
        • Market Indicator Dictionary
      • Advance-Decline Line
      • Advance-Decline Percent
      • Advance-Decline Volume Line
      • Advance-Decline Volume Percent
      • Arms Index (TRIN)
      • Bullish Percent Index (BPI)
      • DecisionPoint Intermediate-Term Breadth Momentum Oscillator (ITBM)
      • DecisionPoint Intermediate-Term Volume Momentum Oscillator (ITVM)
      • DecisionPoint Swenlin Trading Oscillator (STO)
      • High-Low Index
      • High-Low Percent
      • McClellan Oscillator
      • McClellan Summation Index
      • Net New 52-Week Highs
      • Percent Above Moving Average
      • Pring's Bottom Fisher
      • Pring's Diffusion Indicators
      • Pring's Inflation and Deflation Indexes
      • Pring's Net New High Indicators
      • Put/Call Ratio
      • Record High Percent
      • Volatility Indices
    • Market Analysis
      • Dow Theory
      • Sector Rotation Analysis
      • Intermarket Analysis
      • The DecisionPoint Chart Gallery
      • DecisionPoint Rydex Asset Analysis
      • Wyckoff Analysis Articles
        • Wyckoff Market Analysis
        • Wyckoff Stock Analysis
        • The Wyckoff Method: A Tutorial
      • Elliott Wave Analysis Articles
        • Introduction to Elliott Wave Theory
        • Identifying Elliott Wave Patterns
        • Guidelines for Applying Elliott Wave Theory
    • Trading Strategies & Models
      • DecisionPoint Trend Model
      • Trading Strategies
        • Bollinger Band Squeeze
        • CCI Correction
        • CVR3 VIX Market Timing
        • Faber's Sector Rotation Trading Strategy
        • Gap Trading Strategies
        • Harmonic Patterns
        • Hindenburg Omen
        • Ichimoku Cloud Trading Strategies
        • The 'Last' Stochastic Technique
        • MACD Zero-Line Crosses With Swing Points
        • Moving Average Trading Strategies
          • Finding Support and Resistance in Moving Averages
          • Guppy Multiple Moving Average: An MA Ribbon Designed to Tip the Market’s Hand
          • How To Trade Price-to-Moving Average Crossovers
          • Trading the Death Cross
          • Trading Using the Golden Cross
          • Using the 5-8-13 EMA Crossover for Short-Term Trades
        • Moving Momentum
        • Narrow Range Day NR7
        • Percent Above 50-day SMA
        • Percent B Money Flow
        • The Pre-Holiday Effect
        • RSI(2)
        • Six-Month Cycle MACD
        • Slope Performance Trend
        • Stochastic Pop and Drop
        • Swing Charting
        • Trend Quantification and Asset Allocation
    • Index & Market Indicator Catalog
      • Advance-Decline Indicators
      • Cboe Indices and Indicators
      • CME Futures and Spot Prices
      • DecisionPoint Sentiment Indicators
      • Dow Jones Breadth Indicators
      • Dow Jones Global Indices
      • Dow Jones Select Indices
      • Dow Jones Titans Indices
      • Dow Jones US Indices
      • Economic Indicators
      • ICE Futures and Spot Prices
      • Intellidex Indices
      • MSCI Indices
      • New 52-week Highs and Lows for Exchanges
      • NYSE Arca Equity Indices
      • NYSE Equity Indices
      • Philadelphia Indices
      • S&P 500 Sector and Industry Groups
      • S&P GSCI Indices
      • StockCharts AD Percent
      • StockCharts AD Volume Percent
      • StockCharts Bullish Percent Index
      • StockCharts High-Low Index
      • StockCharts High-Low Percent
      • StockCharts Percent Above Moving Average
      • StockCharts Pseudo Symbols
      • StockCharts Record High Percent
      • StockCharts Theoretical Indices
      • US Treasury Yields
    • 📖Glossary
      • 📖Glossary - A
      • 📖Glossary - B
      • 📖Glossary - C
      • 📖Glossary - D
      • 📖Glossary - E
      • 📖Glossary - F
      • 📖Glossary - G
      • 📖Glossary - H
      • 📖Glossary - I
      • 📖Glossary - J
      • 📖Glossary - K
      • 📖Glossary - L
      • 📖Glossary - M
      • 📖Glossary - N
      • 📖Glossary - O
      • 📖Glossary - P
      • 📖Glossary - Q
      • 📖Glossary - R
      • 📖Glossary - S
      • 📖Glossary - T
      • 📖Glossary - U
      • 📖Glossary - V
      • 📖Glossary - W
      • 📖Glossary - X, Y, Z
    • Options Glossary
    • Educational Resources
Powered by GitBook
On this page
  • What Is Kaufman's Adaptive Moving Average?
  • KAMA Calculation
  • Formulas
  • Step 1: Efficiency Ratio (ER)
  • Step 2: Smoothing Constant (SC)
  • Step 3: KAMA
  • Interpreting KAMA
  • Charting with KAMA
  • Using with SharpCharts
  • Using with StockChartsACP
  • Scanning for KAMA
  • Overall Uptrend with Price Crossing Above KAMA
  • Overall Downtrend with Price Crossing Below KAMA
  • Additional Resources
  • Stocks & Commodities Magazine Articles

Was this helpful?

Export as PDF
  1. Table of Contents
  2. Technical Indicators & Overlays
  3. Technical Overlays

Kaufman's Adaptive Moving Average (KAMA)

A unique moving average that accounts for volatility and automatically adjusts to price behavior.

PreviousIchimoku CloudNextKeltner Channels

Last updated 11 months ago

Was this helpful?

LogoLogo

ON STOCKCHARTS

  • Charts & Tools
  • Articles
  • StockCharts TV
  • ChartSchool

MEMBERS

  • Your Dashboard
  • Your ChartLists
  • Advanced Scans
  • Technical Alerts

HELP

  • Support Center
  • FAQs
  • Contact Us
  • Pricing

COMPANY

  • About Us
  • What's New
  • Careers
  • StockCharts Store

© StockCharts.com, Inc. All Rights Reserved.

What Is Kaufman's Adaptive Moving Average?

Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small, and the noise is low. KAMA will adjust when the price swings widen and follow prices from a greater distance. This trend-following indicator can identify the overall trend, time turning points and filter price movements.

KAMA Calculation

Formulas

There are several steps required to calculate Kaufman's Adaptive Moving Average. Let's first start with the settings recommended by Perry Kaufman: KAMA(10,2,30).

  • 10 is the number of periods for the Efficiency Ratio (ER).

  • 2 is the number of periods for the fastest EMA constant.

  • 30 is the number of periods for the slowest EMA constant.

Before calculating KAMA, we need to calculate the Efficiency Ratio (ER) and the Smoothing Constant (SC). Breaking down the formula into bite-size nuggets makes it easier to understand the methodology behind the indicator.

Step 1: Efficiency Ratio (ER)

The ER is basically the price change adjusted for the daily volatility.

ER = Change/Volatility

Change = ABS(Close - Close (10 periods ago))

Volatility = Sum10(ABS(Close - Prior Close))

Volatility is the sum of the absolute value of the last ten price changes (Close - Prior Close).

Note: ABS stands for Absolute Value.

In statistical terms, the Efficiency Ratio tells us the fractal efficiency of price changes. ER fluctuates between 1 and 0, but these extremes are the exception, not the norm. ER would be 1 if prices moved up 10 consecutive periods or down 10 consecutive periods. ER would be zero if price is unchanged over the 10 periods.

Step 2: Smoothing Constant (SC)

The smoothing constant uses the ER and two smoothing constants based on an exponential moving average.

SC = [ER x (fastest SC - slowest SC) + slowest SC]2

SC = [ER x (2/(2+1) - 2/(30+1)) + 2/(30+1)]2

As you may have noticed, the Smoothing Constant is using the smoothing constants for an exponential moving average in its formula. (2/30+1) is the smoothing constant for a 30-period EMA. The Fastest SC is the smoothing constant for shorter EMA (2-periods). The slowest SC is the smoothing constant for the slowest EMA (30-periods). Note that the “2” at the end is to square the equation.

Step 3: KAMA

With the Efficiency Ratio (ER) and Smoothing Constant (SC), we are now ready to calculate Kaufman's Adaptive Moving Average (KAMA). Since we need an initial value to start the calculation, the first KAMA is just a simple moving average. The following calculations are based on the formula below.

Current KAMA = Prior KAMA + SC x (Price - Prior KAMA)

Calculation Example/Chart

The images below show a screenshot from an Excel spreadsheet used to calculate KAMA and the corresponding QQQ chart.

Click below to download a spreadsheet example.

Interpreting KAMA

Chartists can use KAMA like any other trend-following indicator, such as a moving average. Chartists can look for price crosses, directional changes and filtered signals.

First, a cross above or below KAMA indicates directional changes in prices. As with any moving average, a simple crossover system will generate lots of signals and lots of whipsaws. Chartists can reduce whipsaws by applying a price or time filter to the crossovers. One might require price to hold the cross for a set number of days or require the cross to exceed KAMA by a set percentage.

Second, chartists can use the direction of KAMA to define the overall trend for a security. This may require a parameter adjustment to smooth the indicator further. Chartists can change the middle parameter, which is the fastest EMA constant, to smooth KAMA and look for directional changes. The trend is down as long as KAMA is falling and forging lower lows. The trend is up as long as KAMA is rising and forging higher highs. The Kroger example below shows KAMA(10,5,30) with a steep uptrend from December to March and a less-steep uptrend from May to August.

Finally, chartists can combine signals and techniques. Chartists can use a longer-term KAMA to define the bigger trend and a shorter-term KAMA for trading signals. For example, KAMA (10,5,30) could be used as a trend filter and be deemed bullish when rising. Once bullish, chartists could then look for bullish crosses when price moves above KAMA (10,2,30). The example below shows MMM with a rising long-term KAMA and bullish crosses in December, January, and February. Long-term KAMA turned down in April and there were bearish crosses in May, June, and July.

Charting with KAMA

The KAMA overlay can be added to SharpCharts and ACP Charts.

Using with SharpCharts

KAMA can be found as an indicator overlay in the SharpCharts workbench. The default settings will automatically appear in the parameter box once it is selected and chartists can change these parameters to suit their analytical needs. The first parameter is for the Efficiency Ratio and chartists should refrain from increasing this number. Instead, chartists can decrease it to increase sensitivity. Chartists looking to smooth KAMA for longer-term trend analysis can increase the middle parameter incrementally. Even though the difference is just 3, KAMA(10,5,30) is significantly smoother than KAMA(10,2,30).

Using with StockChartsACP

This overlay can be added from the Chart Settings panel for your StockChartsACP chart. KAMA can be overlaid on the security's price plot or on an indicator panel.

By default, the overlay uses 2-period and 30-period EMAs, plus 10 periods for the Efficiency Ratio. These parameters can be adjusted to meet your technical analysis needs.

Scanning for KAMA

Overall Uptrend with Price Crossing Above KAMA

This scan starts with stocks that average 100,000 shares daily volume and have an average closing price above 10. An uptrend is present when trading above the longer-term KAMA(10,5,30). A buy signal materializes when price moves above the shorter-term KAMA(10,2,30).

[type = stock] AND [country = US]
AND [Daily SMA(20,Daily Volume) > 100000]
AND [Daily SMA(60,Daily Close) > 10]

AND [KAMA(10,5,30) >  Daily SMA(50,KAMA(10,5,30))]
AND [Daily Close crosses KAMA(10,2,30)]

Overall Downtrend with Price Crossing Below KAMA

This scan starts with stocks that average 100,000 shares daily volume and have an average closing price above 10. A downtrend is present when trading below the longer-term KAMA(10,5,30). A sell signal materializes when price moves below the shorter-term KAMA(10,2,30).

[type = stock] AND [country = US]
AND [Daily SMA(20,Daily Volume) > 100000]
AND [Daily SMA(60,Daily Close) > 10]

AND [KAMA(10,5,30) <  Daily SMA(50,KAMA(10,5,30))]
AND [KAMA(10,2,30) crosses Daily Close]

Additional Resources

Stocks & Commodities Magazine Articles

Learn More. For more details on the parameters used to configure KAMA overlays, please see our in the Support Center.

StockCharts members can screen for stocks based on KAMA values. Below are some example scans that can be used for KAMA-based signals. Copy and paste the scan text into the Scan Criteria box in the .

Members can also set up alerts to notify them when a KAMA-based signal is triggered for a stock. Alerts use the same syntax as scans, so the sample scans below can be used as a starting point for setting up alerts as well. Simply copy the scan text and paste it into the Alert Criteria box in the .

Learn More. For more details on the syntax to use for KAMA scans, please see our in the Support Center.

May 1995 - Stocks & Commodities

Click here for a live version of the chart.
Click here for a live version of this chart.
Advanced Scan Workbench
Technical Alert Workbench
Perry Kaufman interview with Thom Hartle
Click here for a live version of this chart.
SharpCharts Parameter Reference
Scanning Indicator Reference
32KB
cs-kama.xls
KAMA Chart
KAMA Chart
KAMA Chart
KAMA Chart
KAMA Chart