Closing all trades in an EA and re-starting.

 

Is it possible in MT4 to have a script monitor profit on one pair or the entire account and when that is reached shut down the EA for the day. Then at a certain time re-start the EA automatically.

Thank you. 

 

You can create an EA that close all trade when the profit reach $ XXX profit.

And for "Then at a certain time re-start the EA automatically", you must include a restart function in your EA

 

And it can close by profit on one chart or on entire account, correct? And where do I attach this EA? To all charts? And where do I find the restart code for EA?

Thank you. 

 

Hi, for your question :

  • You can choose close by profit on one chart ( Symbol ) or on entire account.
  • You can attach this EA on any chart ( no need to attach to all chart)
  • You must write the restart code in to an EA.
 

Thank you. Can you do it? How much will it cost to write something like this?

Thank you. 

 

Please make WBS or Flow chart.

Be exact about what it needs to do and what it may not do.

 
ForexTrader17:

Thank you. Can you do it? How much will it cost to write something like this?

Thank you. 

Hi, I already sent you a message.
Reason: