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

2013.07.30 21:42
Indicators

ATRStops_v1_HTF - indicator for MetaTrader 5

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

Views:
3019
Rating:
votes: 24

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 Software Corp.
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