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:
AHRMA = PrevAHRMA + ((MedianPrice-MedianMA)/Period)
MedianMA = (PrevAHRMA + AHRMA[Period]) / 2.0 MedianPrice = (High + Low) / 2.0
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/22369