New AI Backtesting Assistant Launch!

Anchored Powered KAMA

Feb 26, 2025

Static chart image
Dynamic Overlays
Moving Averages
Works on the Following Platforms
tradingviewSymbolTradingView
For free use on the TradingView platform
ninjatraderNinjaTrader
For free use on the NinjaTrader platform
metatrader4MetaTrader 4
For free use on the MetaTrader 4 platform
metatrader5MetaTrader 5
For free use on the MetaTrader 5 platform
thinkorswimThinkorswim
For free use on the Thinkorswim platform

The Anchored Powered KAMA tool is a new flavor of the famous Kaufman's Adaptive Moving Average (KAMA).

It adds 5 different anchoring periods, a power exponent to the original KAMA calculation to increase the degree of filtering during ranging trends, and standard deviation bands calculated against the KAMA itself.

Usage

indicator image

In the image above we can see the different parts of the tool, it displays the Anchored Powered KAMA surrounded by standard deviation bands at 2x (solid) and 1x (dashed) by default.

This tool provides a simple and easy way to determine if the current market is ranging or trending and where the market extremes are in the current period.

indicator image

As a rule of thumb, traders may want to trade extremes in ranges and pullbacks in trends.

When the KAMA is flat, a range is in place, so traders may want to wait for the price to reach an extreme before opening a trade in the other direction.

Conversely, if the KAMA is moving up or down, a trend is in place and traders may want to wait for the price to pull back to the KAMA before opening a trade in the direction of the trend.

Anchor Period

indicator image

On the above chart, we can see different anchor periods on different chart timeframes.

This option is very useful for those traders who use multi-timeframe analysis, allowing them to see how the market behaves over different timeframes.

The valid values for this parameter are:

  • Hourly
  • Daily
  • Weekly
  • Monthly
  • Yearly

The tool has a built-in Auto feature for traders convenience, it automatically selects the optimal Anchor Period in function of the chart timeframe.

  • timeframes up to 2m: Hourly
  • timeframes up to 15m: Daily
  • timeframes up to 1H: Weekly
  • timeframes up to 4H: Monthly
  • larger timeframes: Yearly

Choosing the Right Anchor Period

indicator image

In the chart above we can see the custom error message that the tool displays when the Auto feature is disabled and the Anchor Period is too large for the current chart timeframe.

Traders can select a smaller Anchor Period or a larger chart timeframe for the tool to display correctly.

Details

The tool uses Welford's algorithm to calculate the KAMA's standard deviation, then plots the outer bands at the multiplier specified in the settings panel, and the inner bands at the multiplier specified minus 1.

Power Exponent

indicator image

The graph above shows how different values of this parameter can affect the output.

To display the original KAMA a value of 1 must be set, by default this parameter is set to 2.

The higher the value, the better the tool's ability to detect ranges.

Settings

  • Anchor Period: Select up to 5 different time periods from Hourly, Daily, Weekly, Monthly, and Yearly.
  • Source: Choose the source for all calculations.
  • Power Exponent: Fine-tune the KAMA calculation, a value of 1 will output the original KAMA, and is set to 2 by default.
  • Band Multiplier: Select the multiplier for the standard deviation bands.

Trading is risky and many will lose money in connection with trading activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other markets involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools for charting platforms, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content or tool we provide.

Charts used on this site are by TradingView in which the majority of our tools are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com. TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2025 LuxAlgo Global, LLC.