Volume Probability Weighted Moving Average (VPWMA)

Parameters: period = 20 (5–200) probability_factor = 2 (0.5–3)

Overview

The Volume Probability Weighted Moving Average represents an evolution in moving average technology by combining volume-weighted calculations with probability distributions. This indicator assigns higher weights to price movements that occur on significant volume and fall within statistically probable ranges, effectively filtering out noise while remaining responsive to genuine market moves. The result is a smoother yet more accurate representation of the underlying trend compared to traditional moving averages.

The VPWMA calculation involves analyzing the distribution of prices and volumes over the lookback period, calculating probability scores based on statistical deviations, and then weighting each price point by both its volume and probability factor. This dual-weighting approach ensures that the indicator responds strongly to high-volume moves within expected ranges while dampening the impact of outliers or low-volume fluctuations, making it particularly effective in volatile markets.

Interpretation & Trading Signals

Trend Following Signals:

  • Price Above VPWMA: Bullish trend with high-probability continuation
  • Price Below VPWMA: Bearish trend with statistical confirmation
  • VPWMA Slope: Rising slope indicates strengthening trend momentum
  • Flat VPWMA: Market consolidation or trend transition phase

Entry and Exit Strategies:

  • Pullback Buy: Enter long when price touches rising VPWMA
  • Breakout Confirmation: VPWMA turning up confirms bullish breakout
  • Stop Loss Placement: Use VPWMA as dynamic stop loss level
  • Trend Reversal: Price crossing VPWMA with volume signals potential reversal

Advanced Applications:

  • Multiple Timeframes: Compare VPWMA across timeframes for confluence
  • Volatility Filter: Wider bands indicate higher market volatility
  • Mean Reversion: Extreme deviations from VPWMA suggest overextension
  • Volume Confirmation: Strong moves should align with VPWMA direction

Example Usage

Code examples will be available once the Rust implementation is complete.

Performance Analysis

Related Indicators