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:
2698
Rating:
(11)
Published:
2018.09.27 15:50
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Actual author: KimIV

An indicator of two ranges of arbitrary time intervals. This is an intraday indicator, that is, it shows the size of trading ranges within a trading day.

The operating principle is as follows. Four time points are taken from input parameters. Also, the low and high in the two intervals are determined. The indicator shows these extrema in the form of horizontal lines.

This indicator is convenient to use for testing breakout and rollback tactics.

The following parameters can be adjusted:

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input string Start1   = "03:00";   // 1st range start
input string End1     = "08:00";   // 1st range end
input string Start2   = "12:00";   // 2nd range start
input string End2     = "17:00";   // 2nd range end
input uint   nDays = 2;            // The number of days to calculate (0-all days)
input int    Shift=0;              // Horizontal indicator shift in bars 

Fig. 1 Indicator i-AnyRange2Cld

Fig. 1 Indicator i-AnyRange2Cld

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

TrendManager TrendManager

A trend indicator based on the difference between two moving averages.

FX Fish 2MA FX Fish 2MA

Indicator - trading system "FX Fish 2MA".

DLMv DLMv

A trading system based on the FX Fish 2MA indicator.

Nextbar Nextbar

This Expert Advisor doesn't use any indicators. It only applies analysis of Close prices at bar #1 and the specified bar.