Eu preciso incluir num AE uma função para fechar ordens abertas

MQL4 Experts

Specification

Tenho o código fonte de um EA e preciso incluir uma função para fechar todas as ordens abertas quando o saldo líquido da conta alcançar um lucro ou perda pré determinados.

Responded

1
Developer 1
Rating
(83)
Projects
143
52%
Arbitration
8
13% / 75%
Overdue
22
15%
Free
2
Developer 2
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(10)
Projects
11
36%
Arbitration
0
Overdue
1
9%
Free
4
Developer 4
Rating
(25)
Projects
36
14%
Arbitration
0
Overdue
2
6%
Free
Published: 8 codes
5
Developer 5
Rating
(186)
Projects
205
26%
Arbitration
12
25% / 58%
Overdue
39
19%
Free
6
Developer 6
Rating
(135)
Projects
163
40%
Arbitration
11
27% / 73%
Overdue
24
15%
Free
7
Developer 7
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
8
Developer 8
Rating
(11)
Projects
17
59%
Arbitration
2
0% / 100%
Overdue
2
12%
Free
9
Developer 9
Rating
(36)
Projects
58
36%
Arbitration
11
55% / 27%
Overdue
20
34%
Free
Published: 10 articles, 7 codes
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(1)
Projects
1
100%
Arbitration
1
0% / 100%
Overdue
0
Working

Project information

Budget
30+ USD
Deadline
to 5 day(s)