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

Exp_TrendManager_Tm_Plus - MetaTrader 5 Expert - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

Exp_TrendManager_Tm_Plus - expert for MetaTrader 5

Exp_TrendManager_Tm_Plus - expert for MetaTrader 5

The trading system is based on trend indicators and the manager can set indicator signals for fixed holding times. If the indicator bar changes color or appears after disappearing, a trading signal is formed when the bar line 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 = 1 2000 ; //Position time (minutes)

In order for the generated EA to run correctly, the compiled Trend Manager.ex5 indicator file should be located in \MQL5\Indicators folder.

Note that the library file TradeAlgorithm.mqh is designed for use with brokers that offer EA non-zero spreads as well as the possibility to set Stop Loss and Take Profit simultaneously with the opening of a position. You can download other versions of this library trading algorithms at.

The default Expert Advisor input parameters with stop loss were used during the test as shown below.

Exp_TrendManager_Tm_Plus - expert for MetaTrader 5

Figure 1. Example of trade on chart

2017 GBPJPY H4 test results:

Exp_TrendManager_Tm_Plus - expert for MetaTrader 5

Figure 2. Test result graph


Attachment download

📎 Exp_TrendManager_Tm_Plus.mq5 (19.96 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

📎 TradeAlgorithms.mqh (236.36 KB)

📎 TrendManager.mq5 (14.55 KB)

Source: MQL5 #21998

Verification code Refresh