Linearly Weighted Moving Average (LWMA)
Intermediateالمتوسط المتحرك المرجح خطيًا
Also known as: LWMA, Weighted Moving Average, WMA, Linear Weighted Moving Average
Last updated
Definition reviewed before publishing
Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.
Last updated on 25 November 2026
The linearly weighted moving average is a technical indicator that averages prices over a set period while giving each price a weight that declines steadily the older it is. The most recent price receives the largest weight and the oldest the smallest, so the average responds to new changes faster than a simple moving average.
Quick summary
• An average that gives newer prices larger, evenly stepped weights. • Responds faster than a simple moving average. • Its weights sum to n × (n + 1) ÷ 2.
How it works
In a 5-day average, for example, the latest closing price is multiplied by 5, the one before by 4, and so on down to the oldest price, which is multiplied by 1. The products are summed and divided by the sum of the weights, which is 15 in this case (5 + 4 + 3 + 2 + 1). The weights fall by a constant step, which is why it is called linear, unlike the exponential average, whose weights shrink by a multiplying factor and never fully disappear. Each new day, the latest price enters with the largest weight and the oldest price drops out of the calculation. Traders use it like other moving averages: to identify the trend, to watch price crossing the average or two averages of different lengths crossing each other, and as a moving support or resistance level. MetaTrader lists it as Linear Weighted, while other platforms call it WMA.
Example
Hypothetical closing prices for five days, oldest to newest: 10, 11, 12, 13 and 14 riyals. The weighted average = (10×1 + 11×2 + 12×3 + 13×4 + 14×5) ÷ 15 = 190 ÷ 15 ≈ 12.67 riyals. The simple average is 12 riyals (60 ÷ 5), so the weighted version sits closer to the current price.
Where you will see it
In the moving average options of MetaTrader and TradingView, in automated trading systems, in composite indicators such as the Hull moving average, which is built from weighted averages, and in technical analysis books.
Why it matters
This average offers a middle ground between the slowness of the simple average and the sensitivity of faster tools, helping traders notice the start of new trends earlier. Knowing how it is calculated explains why its signals differ from those of other averages with the same period.
How it is calculated
LWMA = sum of (price × weight) ÷ sum of weights, where the latest price has weight n and the oldest has weight 1. Sum of weights = n × (n + 1) ÷ 2.
How it differs from similar terms
• Simple moving average: gives every price equal weight, so it lags more in picking up changes. • Exponential moving average: also favors recent prices, but its weights decline exponentially and in theory include all past data. • Volume-weighted average price: weights prices by trading volume rather than by how recent they are.
Common mistakes
Assuming the weighted average's faster response always makes its signals more accurate. Higher sensitivity also means more false signals in choppy markets, so the period should be chosen according to the asset and the timeframe.