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

Exp_Hans_Indicator_Cloud_System_Tm_Plus - MetaTrader 5 Expert

author EAcpu | 2 reads | 0 comments |

Exp_Hans_Indicator_Cloud_System_Tm_Plus - expert for MetaTrader 5

Exp_Hans_Indicator_Cloud_System_Tm_Plus - expert for MetaTrader 5

The trading system is based on Hans_Indicator_Cloud_System and can set indicator signals with fixed holding time. If the channel breaks, a signal is formed when the bar closes. Once the position holding time exceeds the preset fixed limit, the position will be closed immediately:

 Input boolean time trading = true ; //enable closing positions by time
Input unit n time = 1500; //Position time (minutes)

In order for the generated EA to run correctly, the compiled Hans_Indicator_Cloud_System.ex5 indicator file should be located in \MQL5\Indicators folder. The trading system is a further development of the trading system Exp_Hans_Indicator_Cloud_System EA code adds the function of holding positions for a fixed time.

The EA operates on a time frame not higher than M30:

 Input ENUM_TIMEFRAMES InpInd_Timeframe= PERIOD_M30 ; //Hans_Indicator_Cloud_System indicator time range

The input parameters of the default Expert Advisor have been used during testing, as shown below. Stop loss and take profit are not used.

Exp_Hans_Indicator_Cloud_System_Tm_Plus - expert for MetaTrader 5

Figure 1. Example of trade on chart

2017 EURJPY M30 test results:

Exp_Hans_Indicator_Cloud_System_Tm_Plus - expert for MetaTrader 5

Figure 2. Test result graph


Attachment download

📎 tradealgorithms.mqh (237.01 KB)

📎 hans_indicator_cloud_system.mq5 (45.9 KB)

📎 exp_hans_indicator_cloud_system_tm_plus.mq5 (14.97 KB)

Source: MQL5 #22478

Verification code Refresh