Closing all trades in an EA and re-starting.

To add comments, please log in or register
ForexTrader17
1031
ForexTrader17  

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. 

Biantoro Kunarto
22012
Biantoro Kunarto  

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

ForexTrader17
1031
ForexTrader17  

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. 

Biantoro Kunarto
22012
Biantoro Kunarto  

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.
ForexTrader17
1031
ForexTrader17  

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

Thank you. 

Marco vd Heijden
Moderator
12526
Marco vd Heijden  

Please make WBS or Flow chart.

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

Biantoro Kunarto
22012
Biantoro Kunarto  
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.
To add comments, please log in or register