Exp_ColorJFatl_Digit_Tm_Plus - MetaTrader 5 Expert


The trading system can set indicator signals with fixed holding time based on ColorJFatl_Digit . If the indicator color changes, a signal is formed at the close of the bar. 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 = 240 ; //Position time (minutes)
This Expert Advisor operates using the compiled indicator file ColorJFatl_Digit.ex5 . Place it in <terminal data folder>\MQL5\Indicators.
Please note that the Trade Algorithms .mqh library file allows trading Expert Advisors with non-zero spreads and the option to set Stop Loss and Take Profit along with opening positions with brokers that offer the following services. You can download more variants of this library via the following link: Trading Algorithms .
The default input parameters of the Expert Advisor were used during the tests shown below. Stop Loss and Take Profit were not used during testing.

Figure 1. Example of trade on chart
2016 GBPUSD H4 test results:

Figure 2. Test result graph
Attachment download
📎 Exp_ColorJFatl_Digit_Tm_Plus.mq5 (17.17 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
📎 TradeAlgorithms.mqh (223.38 KB)
📎 ColorJFatl_Digit.mq5 (8.82 KB)
Source: MQL5 #19653
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •