Cerrar Posiciones Automaticamente

MQL5 Experts Consultation

Specification

Hola


Quiero hacer un programa al que le configure una perdida maxima diaria (por ejemplo 500 usd) entonces si un dia de trading comienzo a perder, cuando la perdida llegue a 500 usd que se cierren todas las ordenes abiertas y las pendientes también y que la plataforma quede bloqueda para NO poder operar hasta la siguiente sesión.

Esto no es fundamental, pero también me gustaria que tenga un trailing loss de tal forma que si llego a 500 en ganancia, la perdida máxima quede en cero y no en -500. Si llego a 1000 de ganancia, que la perdida maxima se corra a +500 etc


saludos

Responded

1
Developer 1
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
2
Developer 2
Rating
(3)
Projects
4
25%
Arbitration
0
Overdue
2
50%
Free
Published: 1 code
3
Developer 3
Rating
(2676)
Projects
3418
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
4
Developer 4
Rating
(6)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
3
43%
Free
5
Developer 5
Rating
(2349)
Projects
2955
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Working
6
Developer 6
Rating
(134)
Projects
174
40%
Arbitration
10
40% / 10%
Overdue
30
17%
Free
7
Developer 7
Rating
(15)
Projects
33
0%
Arbitration
8
25% / 50%
Overdue
14
42%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
30 - 800 USD