Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

TimeEA - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 2 reads | 0 comments |

TimeEA - expert for MetaTrader 5

TimeEA - expert for MetaTrader 5

Simple Expert Advisor EA opens a position of the specified type at the time specified in the EA parameters. The position is closed at the time specified in the appropriate parameters.

The aim is to select the appropriate position type (long or short) and set the opening and closing times in hours and minutes. You can also set stop loss and profit points. If invalid StopLoss and TakeProfit values ​​are specified, the EA will adjust these values ​​to the minimum allowed symbol of the StopLoss level .

The Expert Advisor also adjusts the lot size if the specified value is incorrect. If the lot size is too large, the EA will adjust it to be able to open a position. If there are no funds to open a position even with the minimum lot size, the signal will be skipped.

This EA has a specific feature: if you use short-term stop orders and trigger them, you can open a new position, provided that it is the same as the first position opened by the signal at this time. In other words: if a position is opened on the current bar and closed via a stop-loss order, a new position will be opened if the new bar has not yet opened, and so on until a new bar is opened on the current time frame.

This EA has 11 input parameters:

The Every Tick mode of EURUSD H1 was tested twice, using data from January 2, 2017 to January 19, 2018, using two modes: opening a long position and opening a short position. The EA shows good results in long position mode. This mode is also optimized for position opening and closing times.

The opening time is set to 15, the closing time is set to 8, and the EA test results of the default parameters are as follows:

TimeEA - expert for MetaTrader 5

TimeEA - expert for MetaTrader 5


Attachment download

📎 timeea.mq5 (33.89 KB)

Source: MQL5 #19916

Verification code Refresh