Weighted Moving Average (W-MA)

The Weighted Moving Average is going up against several other MAs in the ‘Technical Indicator – Fight for Supremacy‘ so lets briefly cover how it is calculated and to make things easy I have put together an Excel Spreadsheet for free download.

In an attempt to be more reactive to price changes a Weighted Moving Average applies the most weight to the latest data rather like an EMA does.  But instead of the weighting being exponential it is linear like a SMA.  Below you can see how the weighting is applied to a 50 period W-MA, EMA and SMA:

.

Weight - WMA vs EMA vs SMA.

How To Calculate a Weighted Moving Average

.

The Formula is:

W-MA = (PRICE*n + PRICE(1)*n-1 + … PRICE(n-1)*1) / (n * (n+1) / 2)

Where:

n = The smoothing period.

Here is an example of a 3 period Weighted Moving Average:

.

Calculating a Weighted Moving Average.

Weighted Moving Average Excel File

.

I have put together an Excel Spreadsheet containing a Weighted Moving Average and made it available for FREE download.  It contains a ‘basic’ version displaying the example above and a ‘fancy’ one that will automatically adjust to the length you specify.  Find it at the following link near the bottom of the page under Downloads – Technical Indicators: Weighted Moving Average (W-MA).  Please let me know if you find it useful.

.

Weighted Moving Average and a Simple Moving Average

.

Weighted Moving Average and a Simple MA

.

Test Results

.

We tested several different types of Weighted Moving Averages including the W-MA through 300 years of data across 16 global markets to reveal which is the best and if any of them are worthy of use as a trading tool.  See the results – Weighted Moving Averages Put To The Test

.

.

Wilder’s Smoothing was developed buy J. Welles Wilder, Jr. and he used it as a component in several of his other indicators including the RSI which is one of the most popular technical indicators of all time.

Wilder’s Smoothing AKA Smoothed MA (WS-MA)

Wilder’s Smoothing AKA Smoothed Moving Average is to duke it out in the ‘Technical Indicator – Fight for Supremacy‘ so here is some info about how it is calculated along with an Excel Spreadsheet for your interest:

Wilder’s Smoothing (WS-MA) was developed buy J. Welles Wilder, Jr. and first presented in his landmark book New Concepts in Technical Trading Systems (June 1978).  He used it as a component in several of his other indicators including the RSI which is one of the most popular technical indicators of all time.

Despite being very different in how they are calculated, Wilder’s Smoothing and the EMA are actually the same indicator.  To reveal the equivalent EMA simply multiply the period by two and subtract one, test it for yourself; a 50 period WS-MA is equivalent to a 99 period EMA.  You can also reveal the EMA smoothing period from any two data sets using the following formula:

N = (2-( (MA-MA[1]) / (Close-MA[1]) ) ) / ( (MA-MA[1]) / (Close-MA[1]) )

Below you can see how the weighting is applied to a 50 period WS-MA, EMA and SMA:

.

Wilder's Smoothing vs SMA vs EMA Weighting.

How To Calculate Wilder’s Smoothing:

.

It starts as a Simple Moving Average (SMA):

WSMA1 = Simple MA = SUM(CLOSE, N)/N

After that it is calculated according to the following formula:

WSMA(i) = (SUM1-WSMA1+CLOSE(i))/N

Where:

WSMA1 = Wilder’s Smoothing for the first period.

WSMA(i) = Wilder’s Smoothing of the current period (except for the first one).

CLOSE(i) = The current closing price.

N = The smoothing period.

Here is an example of a 3 period Wilder’s Smoothing AKA Smoothed Moving Average:

.

Who to Calculate Wilder's Smoothing.

Wilder’s Smoothing Excel File

.

I have put together an Excel Spreadsheet containing Wilder’s Smoothing and made it available for FREE download.  It contains a ‘basic’ version displaying the example above and a ‘fancy’ one that will automatically adjust to the length you specify.  Find it at the following link near the bottom of the page under Downloads – Technical Indicators: Wilder’s Smoothing (WS-MA).

.

Smoothed Moving Average and a Simple Moving Average

.

Wilder's Smoothing vs Simple Moving Average

.

Test Results

.

We tested Wilder’s Smoothing through 300 years of data across 16 global markets to reveal if it is an effective trading tool – see the results.

.

.

Wilder’s Smoothing was developed buy J. Welles Wilder, Jr. and he used it as a component in several of his other indicators including the RSI which is one of the most popular technical indicators of all time.