Download MetaTrader 5

Wilder moving average indicator for mq5 ?

To add comments, please log in or register
guignath
39
guignath  

Hi,

I am lookinf for a code of the "Wilder moving Average", ideally on mql5, if not on mql4...

Thanks in advance

Fernando Carreiro
3868
Fernando Carreiro  
guignath: I am lookinf for a code of the "Wilder moving Average", ideally on mql5, if not on mql4...
It's called "Smoothed Moving Average" (SMMA) in MetaTrader (already built-in). It is the same as the EMA but instead of a weight calculated as "2/(n+1)" it uses "1/n" which is what is used in Wilder's EMA.
guignath
39
guignath  
Fernando Carreiro:
It's called "Smoothed Moving Average" (SMMA) in MetaTrader (already built-in). It is the same as the EMA but instead of a weight calculated as "2/(n+1)" it uses "1/n" which is what is used in Wilder's EMA.
Tx Fernando. Great !
whroeder1
16764
whroeder1  
Never any reason to use the SMMA(n) it's equivalent to the EMA(2n-1).
          The Smoothed Moving Average or SMMA - How to Avoid It - NinjaTrader Programming | futures.io
To add comments, please log in or register