Category Trend  Published on 16/07/2012

Smoothed Moving Average

Description

 

Wilder’s Smoothing AKA Smoothed Moving Average

The first value is a simple moving average and all subsequent values are 

calculated based on the previous value according to the following formula:

 

SUM(1) = SUM(CLOSE, N)

WSMA(1) = Simple MA = SUM(1)/N -  Wilder’s Smoothing for the first period.

WSMA(i) = (SUM(i - 1) - WSMA(i - 1) + CLOSE(i)) / N

Smothed Moving Average Chartshot

 


/

SA
sandroui

Joined on 16.07.2012

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: WSMA.algo
  • Rating: 3.75
  • Installs: 8529
  • Modified: 13/10/2021 09:54
Comments
Log in to add a comment.
NG
nguyendan81985 · 5 years ago

hi, could you pls help me to convert this indicator to Cbot? 

many thanks.