Hi FF people,
Does anyone have a script or EA available for MT4 that will allow a time variable to be set such that when an EA opens a new position the script (I need) will then automatically close the open position after a set number of seconds, minutes and hours?
I have found several scripts that allow you to close all open postions at a specified time of day i.e close all positions at 14:30 hours. But this is not what I'm after.
I am using a system which opens only 1 trade at a time on the EUR/USD. The TP is only 3 pips and the win rate is very high but any trade that is open for more than an hour has a very high chance of being a loser and therefore I want to be able to set the system to close any open trade at 1 hour or less regardless of the floating P&L.
A bonus feature would be for the same script to be able to stop the EA from opening new trades during certain periods such as during NFP or on Sunday night.
Thanks all.
Does anyone have a script or EA available for MT4 that will allow a time variable to be set such that when an EA opens a new position the script (I need) will then automatically close the open position after a set number of seconds, minutes and hours?
I have found several scripts that allow you to close all open postions at a specified time of day i.e close all positions at 14:30 hours. But this is not what I'm after.
I am using a system which opens only 1 trade at a time on the EUR/USD. The TP is only 3 pips and the win rate is very high but any trade that is open for more than an hour has a very high chance of being a loser and therefore I want to be able to set the system to close any open trade at 1 hour or less regardless of the floating P&L.
A bonus feature would be for the same script to be able to stop the EA from opening new trades during certain periods such as during NFP or on Sunday night.
Thanks all.