Exp_TrendManager_Tm_Plus - MetaTrader 5 Expert - MT4/MT5 Resources


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
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.

Figure 1. Example of trade on chart
2017 GBPJPY H4 test results:

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
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •