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:
6640
Rating:
(29)
Published:
2013.07.30 21:42
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

A trend indicator implemented in the form of NRTR. The timeframe of the indicator is set in the input parameters of the indicator:

//+----------------------------------------------+
//| Input parameters of the indicator            |
//+----------------------------------------------+
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H6; // Chart period of the iSAR indicator
input uint   Length=10;                    // The indicator period
input uint   ATRPeriod=5;                  // The period of the ATR indicator
input double Kv=2.5;                       // Volatility by ATR
input int    Shift=0;                      // Horizontal shift of the indicator in bars

Average True Range is used for constructing a moving average.

Place the compiled file of the ATRStops_v1.ex5 indicator in terminal_data_folder\MQL5\Indicators. 

This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 07.04.2008. 

Figure 1. The ATRStops_v1_HTF indicator

Figure 1. The ATRStops_v1_HTF indicator

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

Volatility2 Volatility2

A simple indicator that calculates only the volatility of a financial asset

ATRStops_v1 ATRStops_v1

A trend indicator implemented in the form of NRTR

PinBar PinBar

An indicator of pin bars, to be used as a built-in indicator in Expert Advisors. Shows levels specified by the pattern for the open price and stop-loss.

Gann_Hi-lo_Activator_SSL Gann_Hi-lo_Activator_SSL

A simple indicator, a good one for MQL5 beginners