Exp_DEMA_Range_Channel_Tm_Plus - MetaTrader 5 Expert


The trading system can set indicator signals with fixed holding time based on DEMA_Range_Channel . 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 of positions by time Input unit n time = 1920; // Position holding time (minutes)
This Expert Advisor operates using the compiled indicator file DEMA_Range_Channel.ex5 . Place it in <terminal data folder>\MQL5\Indicators.
The input parameters of the default Expert Advisor have been used during testing, as shown below.

Figure 1. Example of trade on chart
2017 EURJPY H8 test results:

Figure 2. Test result graph
Attachment download
📎 tradealgorithms.mqh (229.96 KB)
📎 dema_range_channel.mq5 (20.72 KB)
📎 exp_dema_range_channel_tm_plus.mq5 (15.01 KB)
Source: MQL5 #21558
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •