If you're looking to up your trading game, the i-AnyRangeCldTail System is a solid choice for MetaTrader 5 users. This trading system provides clear signals and allows you to set a fixed holding time for your trades, which can really help manage your positions effectively.
The magic happens when a bar closes and there's a breakthrough in the channel. What’s great about this system is that once your set holding time expires, the position will close automatically, helping you avoid unnecessary losses:
input bool TimeTrade=true; //Enable position exit by time input uint nTime=1500; //Position holding time in minutes
To get started, you’ll need to have the compiled indicator file i-AnyRangeCldTail_System.ex5. Make sure to place this file in your <terminal_data_folder>\MQL5\Indicators directory for it to work seamlessly.
Keep in mind, this EA is designed for timeframes no higher than M30:
input ENUM_TIMEFRAMES InpInd_Timeframe=PERIOD_M30;//Timeframe for i-AnyRangeCldTail_System indicator
In the tests conducted below, we used the default parameters of this Expert Advisor:

Fig. 1. Examples of trades on the chart
Here are the testing results for USDJPY on the M30 timeframe over the year 2017:

Fig. 2. Test results chart
Related Posts
- Mastering the Moving Average EA for MetaTrader 5: A Trader's Guide
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- Master Your Trading with the MCM Control Panel for MetaTrader 5
- Mastering Trading Signals with MQL5 Wizard: Bullish and Bearish Engulfing Strategies
- RRS Impulse: Your Go-To Scalping EA for MetaTrader 4