Weighted Moving Average (WMA)


Smooths price data to identify trends by assigning more weight to recent prices.

Function Syntax

=WMA(data, period)  
  • data (array):
    Range of columns containing the date, Open, high, Low, close, volume data.
  • period (number):
    Number of (periods) days over which to calculate the WMA.

Returns:
A two-column array of dates and their corresponding WMA values.

Output Example

Below is an example of the resulting array when applying the custom =WMA() function.

wma return array