Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

i-AnyRange2 - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

i-AnyRange2 - indicator for MetaTrader 5

Two indicators for an unspecified time interval.

This is an intraday indicator that shows the trading range during the trading day. Get four time points from an external parameter, specifying the high and low between each pair. These extreme points are shown as horizontal lines.

This indicator is useful for testing breakout and pullback strategies.

The following parameters can be set in the indicator:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input string start 1 = "03:00" ; // origin of 1
Enter string end 1 = "08:00" ; // 1 end
Input string start 2 = "12:00" ; // origin of 2
Enter string end 2 = "17:00" ; // 2 end
Input unit n days = 2 ; // Calculate the number of days (0-all)
Enter integer shift = 0 ; // Horizontal movement of the indicator in bars 

i-AnyRange2 - indicator for MetaTrader 5


Attachment download

📎i -anyrange2.mq5 (12.46 KB)

Source: MQL5 #1015

Verification code Refresh