Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3181
- Rating:
- 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
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21769

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

Indicator - trading system "FX Fish 2MA".