Watch how to download trading robots for free
Find us on Facebook!
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:
4043
Rating:
(15)
Published:
2016.04.14 08:03
Updated:
2023.03.29 13:47
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

FXMatics.com

The average of ATR (AATR) is a simple but efficient indicator to use for confirmation with any Price Action strategy. It compares ATR with its moving average.

The confirmation rule is simple: if the ATR line crosses its average from bottom up, you should analyze the price action or open an order based on your signal. For a more convenient display, the indicator is implemented in the form of a cloud. The yellow color of the indicator means that ATR is above its average, dark blue appears when ATR falls below its average.

The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

The indicator has originally been written in MQL4 and was first published in the Code Base on 04.01.2016.

Fig.1. The AverageOfATR indicator

Fig.1. The AverageOfATR indicator

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

Exp_Stochastic_Histogram Exp_Stochastic_Histogram

A trading system based on the signals of the Stochastic_Histogram indicator.

Exp_ColorXMACDCandle Exp_ColorXMACDCandle

A trading system based on the signals of the ColorXMACDCandle indicator.

AverageOfATR_HTF AverageOfATR_HTF

The AverageOfATR indicator with the timeframe selection option available in input parameters.

AverageOfATR_Histogram AverageOfATR_Histogram

A histogram of difference between ATR and its averaging implemented in color and complemented with the volatility change signals.