Download MetaTrader 5

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

2012.09.17 14:03

ATRNorm - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 15
atrnorm.mq5 (12.25 KB)view

Real author:

Ivan Kornilov

ATRNorm is the normalized version of Average True Range. The indicator can also normalize tick volume, standard deviation, etc. using ValueType input parameter. ATRNorm has been created to detect flat areas.

This indicator was first implemented in MQL4 and published in Code Base 10.05.2012 (in Russian).

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the 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".

Indicator input parameters:

//| Indicator input parameters                   |
input uint period=12;                             // Indicator period
input uint ma=12;                                 // Smoothing period
input IndType ValueType=ATR;                      // Normalized indicator type
input uint normLimit=24;                          // Normalizing period
input int Shift=0;                                // Horizontal shift of the indicator in bars


Translated from Russian by MetaQuotes Software Corp.
Original code:


Trend indicator based on two RSI oscillators.


Simple trend indicator in the form of NRTR

MACD Elder Impulse Max MACD Elder Impulse Max

MACD histogram with bars coloring according to Elder Impulse System.

BullsBears BullsBears

The trend indicator in the form of a colored cloud using volumes in its calculations. Enhanced version of Bears and Bulls indicator. The idea is to reveal the first market impulse and estimate its duration.