Seeking script to close all trades profit figure is achieved

MQL4 Scripts

Job finished

Execution time 26 days

Specification

Hi, I currently have a scalper EA running, however as I have multiple accounts, it is difficult for me to monitor them all. As such, I'm seeking a script to be created that will close all current open positions when the account reaches $400 profit for the month and turn off auto trading. For example, 1st of March starting balance is $1k....on march 10th the account balance is $1,405, however the running loss is $610, so script will not be triggered. On march 20th, the acount balance is 1800 and on the day, the running loss hits $400: 1800-400=1,400 (1k+400 profit), all trades are closed and auto trading is turned off

Responded

1
Developer 1
Rating
(209)
Projects
281
46%
Arbitration
27
59% / 37%
Overdue
36
13%
Free
2
Developer 2
Rating
(374)
Projects
480
23%
Arbitration
59
54% / 25%
Overdue
55
11%
Loaded
3
Developer 3
Rating
(366)
Projects
414
55%
Arbitration
12
50% / 42%
Overdue
1
0%
Free
4
Developer 4
Rating
(2)
Projects
4
0%
Arbitration
4
25% / 75%
Overdue
1
25%
Free
5
Developer 5
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(7)
Projects
14
21%
Arbitration
1
0% / 100%
Overdue
3
21%
Free
8
Developer 8
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(248)
Projects
310
28%
Arbitration
33
27% / 64%
Overdue
10
3%
Working
10
Developer 10
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
11
Developer 11
Rating
(176)
Projects
227
19%
Arbitration
20
40% / 20%
Overdue
0
Busy
12
Developer 12
Rating
(33)
Projects
36
0%
Arbitration
2
50% / 0%
Overdue
0
Free
13
Developer 13
Rating
(52)
Projects
57
60%
Arbitration
4
0% / 25%
Overdue
1
2%
Free
14
Developer 14
Rating
(7)
Projects
12
42%
Arbitration
1
0% / 0%
Overdue
0
Free

Project information

Budget
35+ USD