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

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

author EAcpu | 5 reads | 0 comments |

i-AnyRange2Cld - indicator for MetaTrader 5

Actual author : Jinsi

Two indicators for any time interval range. This is an intraday indicator that shows the size of the trading range within a trading day.

Here's how it works. Get four time points from the input parameters. Additionally, the lows and highs of the two ranges are identified. The indicator displays these extreme values ​​in the form of horizontal lines.

This indicator can be conveniently used for testing breakouts and rollback strategies.

The following parameters can be adjusted:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input string start 1 = "03:00" ; // The first range starts
Input string end 1 = "08:00" ; // end of first range
Enter string start 2 = "12:00" ; // The second range starts
Input string end 2 = "17:00" ; // End of second range
Input unit n days = 2 ; // Calculate the number of days (0-all days)
Input integer shift = 0 ; // indicator moves horizontally (in bars) 

i-AnyRange2Cld - indicator for MetaTrader 5

Figure 1 i-AnyRange2Cld indicator


Attachment download

📎 i-anyrange2cld.mq5 (29.61 KB)

Source: MQL5 #21769

Verification code Refresh