Close all whit a profit MT4

 
Hi,

I have an EA of hedging with martingale but

It need a "close all" as soon as a minimum first profit is reached

But I do not know the programming,
Can someone help to add this option?

It's ok too if you give me only the string and tell me where to paste it.
I copy and paste it to the mq4 file


Thank you.
 
Help you with what? You haven't stated a problem.
You have only four choices: We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using SRC) and the nature of your problem.
          No free help
          urgent help.
 
the problem is that it opens too many orders and therefore goes into margin call.

It needs a "close all"---> (it close all.  by itself as soon as it reaches a minimum profit) 
and then it start again from 0.01


It's ok too  only the string,
I copy and paste it to the mq4 file

If someone can do it, it's better


 
Forexpaco:
the problem is that it opens too many orders and therefore goes into margin call.

It needs a "close all"---> (it close all.  by itself as soon as it reaches a minimum profit) 
and then it start again from 0.01


It's ok too  only the string,
I copy and paste it to the mq4 file

If someone can do it, it's better



Sounds like a suicide EA to me.

 
Marco vd Heijden:

Sounds like a suicide EA to me.


yes,yes exactly!

for this reason I will not spend money on this EA :)

Reason: