Does anyone have a script or EA available for MT4 that will permit a time variable to be set like if an EA opens a new place the script (I need) will then automatically close the open position after a fixed variety of seconds, minutes and hours?
I have found several scripts that allow you to close all open postions at a specified time daily i.e close all positions at 14:30 hours. However, this isn't what I'm after.
I am using a system which opens just 1 trade at a time on the EUR/USD. The TP is only 3 pips and the win rate is quite high but any trade that is open for more than an hour has quite a large chance of being a failure and therefore I want to have the ability to set the machine to close any open commerce at 1 hour or less no matter the floating PL.
A bonus feature is for the same script to have the ability to stop the EA from opening new trades during particular periods such as during NFP or about Sunday night.