If you're looking to elevate your trading game, you might want to check out the Exp_Sar_Tm_Plus. This trading system is built on the Parabolic Stop and Reverse (SAR) indicator, designed to give you a competitive edge. One of its standout features is the ability to set a fixed holding time for your trades.
The way it works is pretty straightforward: a trading signal is generated when a candle closes and indicates a change in trend direction. If the time you’ve set for holding a position exceeds your predetermined limit, the system will promptly close that position.
input bool TimeTrade=true; //Enable exit by holding time input uint nTime=240; //Holding time in minutes
It's important to note that the TradeAlgorithms.mqh library file is tailored for use with EAs that operate with brokers offering a nonzero spread while allowing you to set both Stop Loss and Take Profit at the same time you open a trade. You can find other versions of this library here.
The default input parameters of this EA were utilized in the tests outlined below, where neither Stop Loss nor Take Profit was applied.

Fig. 1. Example trades on the chart
Here are the test results for AUDUSD on the H6 timeframe throughout 2016:

Fig. 2. Testing results chart
Comments 0