Kalman VWAP Filter
Oct 26, 2025

The Kalman VWAP Filter indicator provides a smooth, adaptive price estimation by fusing Kalman filtering with the Volume-Weighted Average Price (VWAP) to represent market fair value. It intelligently balances responsiveness and stability, tracking trend shifts with minimal noise while maintaining a statistically grounded link to volume distribution.
Usage
The Usage section focuses on how the filter interprets market state and how settings influence the output. The indicator can be used for:
- Trend Tracking: Users can identify trend transitions via the color-coded candles and line slope. A green line/candle typically suggests bullish pressure, while red suggests bearish pressure.
- Fair Value Mapping: The line acts as an equilibrium point between raw price action and volume-weighted flow. When price diverges significantly from the Kalman VWAP, it may indicate a short-term imbalance or overextension.
- Adaptive Filtering: Unlike static moving averages, the Kalman VWAP Filter self-adjusts based on volatility. For example, setting higher Process Noise (0.1–0.2) makes the filter more reactive for intraday scalping, while lower values (0.01–0.05) are better suited for swing trading.
Details
The Kalman VWAP Filter is built on two core quantitative finance concepts:
- Kalman Filtering: A recursive Bayesian estimator used to infer the true state of a system from noisy observations.
- VWAP Anchoring: A dynamic reference that weights price by traded volume, representing the weighted average price where most transactions occurred.
By combining these, the filter produces a "smart" trajectory. The Filter Order (N) parameter allows for multiple parallel state estimates; a larger order (e.g., 8-10) yields a smoother, institutional-style baseline by layering multiple Kalman passes.
Settings
Calculation
- Price Source: The price input the filter observes (e.g., Close, HLC3).
- Process Noise: Controls the agility of the filter. Higher values increase responsiveness but may introduce more noise.
- Measurement Noise: Controls the smoothness. Higher values make the filter steadier but slower to adapt.
- Filter Order: The number of parallel state estimates used to refine the output.
VWAP
- VWAP Mode: Choose between "Session" (standard daily VWAP) or "Rolling" (VWAP over a fixed lookback period).
- Rolling VWAP Length: The number of bars used when Rolling mode is selected.
- VWAP Price: The price basis for the underlying VWAP calculation.
- VWAP Weight: Determines the influence of VWAP vs. raw price. A value of 0 uses only price, while 1 locks the output strictly to VWAP dynamics.
UI Settings
- Show Filtered Price: Toggles the visibility of the Kalman VWAP line.
- Paint candles by trend: Colors bars based on the slope of the filter.
- Long/Short Color: Customizes the colors for bullish and bearish trends.
FAQ
How do I access the Kalman VWAP Filter?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What is the best setting for day trading?
For intraday use, a Process Noise of 0.1–0.2 and a Measurement Noise of 2–5 is often recommended to capture fast moves without excessive lag.
How does VWAP Weight affect the signal?
A higher VWAP Weight (e.g., 0.8) makes the indicator track the volume-weighted mean more closely, while a lower weight (e.g., 0.2) makes it more sensitive to the raw price source movements.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.