AhrensMA – indicator MetaTrader 5

Ahrens Moving Average is an indicator developed by Richard D. Ahrens.
The indicator was described in the article “Build A Better Moving Average” in the magazine “Technical Analysis of Stocks and Commodities” (October 2013).

It has one configurable parameter:

  • Period – calculation period

Calculation:

AHRMA = PrevAHRMA + ((MedianPrice-MedianMA)/Period)

where:

MedianMA = (PrevAHRMA + AHRMA[Period]) / 2.0 MedianPrice = (High + Low) / 2.0


https://www.mql5.com/ru/code/22369

📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks