Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4193
Rating:
(7)
Published:
2018.10.25 18:11
AhrensMA.mq5 (6.22 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22369

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