Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

votes: 6
2018.10.25 18:11
AhrensMA.mq5 (6.22 KB)view

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


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:

AhrensMACD AhrensMACD

Ahrens MACD

Average_True_Range_Bands Average_True_Range_Bands

Average True Range Bands indicator

Volatility_Stop_Oscillator Volatility_Stop_Oscillator

Volatility Stop oscillator

Volatility_Stop Volatility_Stop

Volatility Stop indicator