Robô fecha toas as operações simultaneamente

MQL5 Experts C++

Specification

Já tenho o robô que fecha toas as ordens quando atingi tal lucro, preciso que ele também feche com determinada perda, e possível adicionar? vou enviá-lo em anexo, não sei se e possível adicionar no mesmo ou tem que fazer outro, mas deve ser bem simples

Files:

Responded

1
Developer 1
Rating
(186)
Projects
205
26%
Arbitration
12
25% / 58%
Overdue
39
19%
Free
2
Developer 2
Rating
(5)
Projects
11
0%
Arbitration
8
25% / 63%
Overdue
3
27%
Free
3
Developer 3
Rating
(83)
Projects
142
51%
Arbitration
8
13% / 75%
Overdue
21
15%
Free
4
Developer 4
Rating
(4)
Projects
5
40%
Arbitration
0
Overdue
3
60%
Free
5
Developer 5
Rating
(135)
Projects
163
40%
Arbitration
11
27% / 73%
Overdue
24
15%
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(11)
Projects
17
59%
Arbitration
2
0% / 100%
Overdue
2
12%
Free
8
Developer 8
Rating
(509)
Projects
546
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Working
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(6)
Projects
8
0%
Arbitration
0
Overdue
3
38%
Free

Project information

Budget
30 - 40 USD
Deadline
from 1 to 2 day(s)