Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | DMA

The DMA indicator, in which the period parameter is the number of days N in the below calculation formula.

The indicator has two input parameters:

  • Period - calculation period
  • Applied price - price used for calculation

The default timeframe is M15. The default calculation period: N = 17.

Calculation:

DMA[i] = E*Price[i]+(1-E)*DMA[i-1],  

where E = D*D, D = C*2/31+(1-C)*2/3, C=A/B, A = Price[i] - Price[i-Period+1], B = Sum(Price[i]-Price[i-1]) from (i-Period+1) to (i).

MetaTrader Experts, Indicators, Scripts and Libraries

20332

Best MetaTrader Indicators + Profitable Expert Advisors