Volume-Weighted Kaufman's Adaptive Moving Average
Aug 19, 2023

The Volume-Weighted Kaufman's Adaptive Moving Average (VW-KAMA) indicator combines the responsiveness of volume-weighting with Kaufman's adaptive smoothing to provide a highly dynamic trend-following tool that filters market noise while remaining sensitive to significant price movements.
Usage
The Usage section describes how the script can be used, particularly for identifying trends and potential reversal points. Because the indicator incorporates volume data and an Efficiency Ratio (ER), it automatically speeds up during strong, high-volume trends and slows down during choppy, low-volume consolidation.
- Trend Identification: Users can observe the color of the VW-KAMA line to determine trend direction. A green line indicates an upward trend, while a red line indicates a downward trend.
- Dynamic Support and Resistance: The adaptive nature of the line allows it to act as a trailing support or resistance level that tightens during volatile breakouts and flattens during sideways price action.
- Volatility Bands: By enabling the ATR Bands, traders can establish overextended price zones or use the bands as breakout targets and stop-loss references.
- Signal Filtering: The volume-weighted component ensures that price moves on low relative volume have less impact on the moving average, reducing the likelihood of being "whiplashed" by minor fluctuations.
Details
The VW-KAMA is constructed by replacing the standard price input of a Kaufman’s Adaptive Moving Average with a Volume-Weighted Moving Average (VWMA) base.
The calculation follows these core steps:
- Volume-Weighting: A short-term VWMA is calculated to serve as the primary price source.
- Efficiency Ratio (ER): The script calculates the ratio between the total price change over a period and the sum of absolute price changes. An ER closer to 1 implies a strong trend, while an ER closer to 0 implies a range-bound market.
- Smoothing Constant (SC): The ER is used to interpolate between a fast and slow smoothing constant. This result is squared to prevent the average from becoming too reactive in non-trending conditions.
- Adaptive Smoothing: The final VW-KAMA is calculated by applying the SC to the difference between the current volume-weighted price and the previous VW-KAMA value.
Settings
- VWMA Length: Sets the period for the underlying volume-weighted price calculation.
- Fast Length: The period for the fastest smoothing constant used when the market is highly efficient.
- Slow Length: The period for the slowest smoothing constant used when the market is inefficient or choppy.
- Include ATR Bands: A toggle to display upper and lower volatility bands around the VW-KAMA.
- ATR Length: The lookback period used for the Average True Range calculation.
- ATR Multiplier: Determines the distance of the bands from the VW-KAMA line based on market volatility.
FAQ
How do I interpret the color changes on the VW-KAMA line? The line turns green when the current value is higher than the previous value (bullish momentum) and red when it is lower (bearish momentum). A blue color indicates no change in value.
What makes this different from a standard KAMA? Unlike a standard KAMA which uses closing prices, the VW-KAMA integrates volume data into its base price calculation. This gives more significance to price movements that occur with higher trading activity.
How can I access the Volume-Weighted Kaufman's Adaptive Moving Average? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing 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 investments 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 and strategies, 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, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators 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.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

