Skip to content
Typed Trader

Weighted Moving Average (WMA)

Assigns linearly increasing weights to recent data points. The most recent price has the highest weight.

Live Demo

Pick a market regime to see how WMA(5) reacts:

Usage

import {} from 'trading-signals';
 
// WMA yields results once 5 inputs have been added
const  = new (5);