Compute weighted moving averages with linear or user-defined weights. Visualize trend smoothing, analyze financial time series, and export results.
The Weighted Moving Average (WMA) is a technical indicator that assigns different weights to data points, giving more importance to recent observations. Unlike the Simple Moving Average (SMA) which treats every value equally, WMA provides a smoother and more responsive trend line — making it invaluable in financial analysis, supply chain forecasting, and signal processing.
? Linear WMA Formula:
WMAt = (Pt-n+1·1 + Pt-n+2·2 + ... + Pt·n) / (1+2+...+n)
Where weights increase linearly. For custom weights, any positive real numbers can be used.
Our calculator supports both linear increasing weights (default) and fully custom weight vectors. It computes the WMA series for your time series, generates an interactive line chart, and presents a detailed table with period‑by‑period breakdown. The WMA reduces lag compared to SMA and reacts faster to price or demand shifts — a core concept in technical analysis (e.g., WMA crossover strategies).
Many traders use 10‑day or 20‑day WMA to identify short‑term momentum. For instance, when a 5‑day WMA crosses above a 20‑day WMA, it may signal a bullish reversal. Our calculator allows testing custom weight configurations to optimize sensitivity.
Retail analysts apply WMA to weekly sales data, assigning higher weights to recent weeks to capture seasonality. Using the custom weights feature, you can design a weighting scheme that reflects market responsiveness.
Given a sequence X = {x1, x2, ..., xN} and a window size n, the WMA for position t (where t ≥ n) is defined as:
WMAt = Σi=1 to n (wi · xt-n+i) / Σi=1 to n wi
Where wi are the weights. For linear weights, wi = i. The denominator is the sum of weights, ensuring normalization. The WMA series has length N - n + 1. Our implementation aligns each WMA value with the last period of its window, making it intuitive for backtesting.
Properties: WMA reduces noise while preserving trend direction; it responds faster to recent changes compared to SMA. However, selecting optimal weights requires domain knowledge — our calculator gives you full control to experiment.
The Weighted Moving Average (WMA) is a technical indicator that assigns different weights to data points, giving more importance to recent observations. Unlike the Simple Moving Average (SMA) which treats every value equally, WMA provides a smoother and more responsive trend line — making it invaluable in financial analysis, supply chain forecasting, and signal processing.
? Linear WMA Formula:
WMAt = (Pt-n+1·1 + Pt-n+2·2 + ... + Pt·n) / (1+2+...+n)
Where weights increase linearly. For custom weights, any positive real numbers can be used.
Our calculator supports both linear increasing weights (default) and fully custom weight vectors. It computes the WMA series for your time series, generates an interactive line chart, and presents a detailed table with period‑by‑period breakdown. The WMA reduces lag compared to SMA and reacts faster to price or demand shifts — a core concept in technical analysis (e.g., WMA crossover strategies).
Many traders use 10‑day or 20‑day WMA to identify short‑term momentum. For instance, when a 5‑day WMA crosses above a 20‑day WMA, it may signal a bullish reversal. Our calculator allows testing custom weight configurations to optimize sensitivity.
Retail analysts apply WMA to weekly sales data, assigning higher weights to recent weeks to capture seasonality. Using the custom weights feature, you can design a weighting scheme that reflects market responsiveness.
Given a sequence X = {x1, x2, ..., xN} and a window size n, the WMA for position t (where t ≥ n) is defined as:
WMAt = Σi=1 to n (wi · xt-n+i) / Σi=1 to n wi
Where wi are the weights. For linear weights, wi = i. The denominator is the sum of weights, ensuring normalization. The WMA series has length N - n + 1. Our implementation aligns each WMA value with the last period of its window, making it intuitive for backtesting.
Properties: WMA reduces noise while preserving trend direction; it responds faster to recent changes compared to SMA. However, selecting optimal weights requires domain knowledge — our calculator gives you full control to experiment.