Join our fan page
- Views:
- 4612
- Rating:
- Published:
- 2016.04.14 08:05
- Updated:
- 2023.03.29 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
FXMatics.com
A histogram of difference between ATR and its averaging implemented in color and complemented with the volatility change signals. When ATR is above its averaging, the histogram is yellow; otherwise it is dark blue.
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. In this case a pink star appears on the histogram. When the ATR line crosses its average from top down and volatility falls, a blue circle appears on the histogram.
For a more convenient display, the indicator is implemented in the form of a histogram. 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_Histogram indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/15009
![AverageOfATR_HTF](https://c.mql5.com/i/code/indicator.png)
The AverageOfATR indicator with the timeframe selection option available in input parameters.
![AverageOfATR](https://c.mql5.com/i/code/indicator.png)
The average of ATR (AATR) is a simple but efficient indicator to use for confirmation with any Price Action strategy.
![Exp_CCI_Histogram](https://c.mql5.com/i/code/expert.png)
A trading system based on the signals of the CCI_Histogram indicator.
![d_XMA_HTF](https://c.mql5.com/i/code/indicator.png)
The d_XMA indicator with the timeframe selection option available in input parameters.