Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | i-AnyRange2

The indicator of two unspecified time intervals.

This is an intraday indicator showing the trading range within a trading day. Four time points are taken from the external parameters, the high and low points between each of the pairs are specified. These extreme points are shown in horizontal lines.

The indicator is useful for testing both breakout and pullback strategies.

The following parameters can be set in the indicator:

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input string Start1   = "03:00";   // origin of 1
input string End1     = "08:00";   // end of 1
input string Start2   = "12:00";   // origin of 2
input string End2     = "17:00";   // end of 2
input uint   nDays = 2;          // number of counting days (0-all)
input int    Shift=0; // horizontal shift of the indicator in bars 

MetaTrader Experts, Indicators, Scripts and Libraries

i-AnyRange2

1015

Best MetaTrader Indicators + Profitable Expert Advisors