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 | AhrensMA

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

MetaTrader Experts, Indicators, Scripts and Libraries

22369