Exp_SSL_NRTR_Tm_Plus - MetaTrader 5 Expert - MT4/MT5 Resources


The trading system can set indicator signals with fixed holding time based on SSL_NRTR . When the bar closes, a signal is formed if the color of the indicator changes from non-trending to trending, or from trending to the opposite trend. 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 = 3840; //Position time (minutes)
In order for the generated EA to run correctly, the compiled SSL_NRTR.ex5 indicator file should be located in the <terminal data directory>\MQL5\indicator folder.
The input parameters of the default Expert Advisor have been used during testing, as shown below.

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

Figure 2. Test result graph
Attachment download
📎 Exp_SSL_NRTR_Tm_Plus.mq5 (16.95 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
📎 TradeAlgorithms.mqh (236.36 KB)
📎 SSL_NRTR.mq5 (15.04 KB)
Source: MQL5 #22118
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •