Watch how to download trading robots for free
Find us on Telegram!
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:
7081
Rating:
(19)
Published:
2012.09.17 14:03
Updated:
2023.03.29 13:44
atrnorm.mq5 (12.25 KB) view
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 ENUM_APPLIED_VOLUME VolumeType=VOLUME_TICK; // Volume
input int Shift=0;                                // Horizontal shift of the indicator in bars

ATRNorm

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

MARSICD MARSICD

Trend indicator based on two RSI oscillators.

MA_NRTR MA_NRTR

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.