Weighted Moving Average (WMA)
The Weighted Moving Average (WMA) is a type of moving average that assigns progressively greater weight to more recent price data, making it more responsive to current market conditions than a Simple Moving Average (SMA). In a WMA calculation, each data point is multiplied by a weighting factor based on its position in the lookback window — the most recent bar receives the highest weight, the second most recent receives the second-highest, and so on down to the oldest bar, which receives the lowest weight of one. The weighted values are then summed and divided by the total of the weighting factors. This linear weighting scheme means recent prices have a disproportionately large influence on the WMA line compared to older prices.
The WMA reacts to price changes more quickly than an SMA but in a more controlled, linear fashion than an Exponential Moving Average (EMA), which applies exponential decay to older data. This places the WMA between the two in terms of responsiveness: faster than SMA, but less prone to overreaction than EMA in extremely volatile conditions. Crossovers between the WMA and price, or between a fast and slow WMA, generate trend signals. The WMA line also acts as a dynamic support level in uptrends and a resistance level in downtrends.
For algorithmic crypto traders, the WMA is a practical trend-following tool that balances recency bias with stability. In fast-moving crypto markets, the WMA's emphasis on recent data means it tracks emerging trends more tightly than an SMA, reducing the delay between when a trend begins and when the indicator confirms it. At the same time, its linear weighting prevents the kind of excessive sensitivity that can cause EMA-based systems to generate false signals during sudden but short-lived price spikes. Bots that use WMA crossovers or WMA slope as trend-confirmation inputs benefit from a reliable, well-understood signal that has stood the test of time across many market environments.