Hi. you shouldnt create EA to do this sort of job. instead you should use a script. i modified your code as a script. put it into ...\experts\scripts\ directory, after u download it.
Files:
account_profit_1.mq4
2 kb
Monserrat:
Hello, can anyone help me finish this EA. I know I'm doing something wrong or a piece of code could be missing. The EA should close all open orders once the account profit reaches x amount.
Thanks.
Hey thanks andrewk1983. I'll try it tonight. :-)
M

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, can anyone help me finish this EA. I know I'm doing something wrong or a piece of code could be missing. The EA should close all open orders once the account profit reaches x amount.
Thanks.