All indicators

Powered Kaufman Adaptive Moving Average

Aug 19, 2019

Static chart image
SignalsMoving Averages

The Powered Kaufman Adaptive Moving Average indicator provides a modified version of the traditional KAMA that enhances trend sensitivity and noise filtering by applying an exponent to the Efficiency Ratio. This tool is designed to remain significantly flatter during ranging price action while responding rapidly to established trends, offering traders a more customizable adaptive smoothing mechanism.

Usage

The Usage section focuses on how the modification of the Efficiency Ratio (ER) affects the moving average’s behavior relative to price.

  • Trend Identification: Users can observe the slope and color of the P-KAMA to determine market direction. A rising, green line indicates a bullish trend, while a falling, red line indicates a bearish trend.
  • Filtering Market Noise: By increasing the Factor setting, the indicator becomes more "stubborn," requiring a stronger trend to change its value. This is particularly useful for traders looking to avoid whipsaws in sideways markets.
  • Dynamic Sensitivity: The Self Powered feature allows the indicator to adjust its own exponent based on market volatility, automatically increasing sensitivity during high-momentum moves and decreasing it during consolidation.

Details

The P-KAMA builds upon the original Kaufman Adaptive Moving Average logic, which uses an Efficiency Ratio (ER) to determine the smoothing constant. ER is calculated by dividing the absolute price change over a period by the sum of individual absolute changes within that period.

The unique implementation in this script involves powering the ER by a user-defined Factor.

  1. When Factor > 1: The ER is diminished, making the moving average slower and flatter during low-efficiency periods.
  2. When 0 < Factor < 1: The ER is amplified (similar to a square root), making the average more reactive to minor price fluctuations.
  3. Self Powered Logic: If enabled, the script uses the reciprocal of the ER ($1 / ER$) as the exponent. This creates a variable power factor that scales dynamically with market conditions, further emphasizing the adaptive nature of the calculation.

Settings

  • Length: Sets the lookback period for calculating the Efficiency Ratio. A higher length results in a smoother, slower-moving average.
  • Factor: The exponent applied to the Efficiency Ratio. Values greater than 1 increase the flattening effect in ranges; values between 0 and 1 increase reactivity.
  • Source: The price data point used for calculations (e.g., Close, Open, High, Low).
  • Self Powered: A toggle that, when enabled, ignores the manual Factor and uses $1/ER$ as the exponent for dynamic adaptation.

FAQ

How does the P-KAMA differ from a standard KAMA?
The P-KAMA introduces an exponent to the smoothing variable, allowing for an exaggerated flattening effect during non-trending periods that is more pronounced than the standard version.

What happens if I set the Factor to 1?
When the Factor is set to 1 and Self Powered is disabled, the indicator behaves exactly like a standard Kaufman Adaptive Moving Average.

How do I access the Powered Kaufman Adaptive Moving Average?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.