Auto Trade Close when equity is less than 60% of the Balance

Tarea técnica

I need a robot that will close all opened trades once the equity is less than 60% of the balance.

For Example

Balance: $1000

I have two trades with a total drawdown of -$400 at a point making the equity $600. If the trades goes more in loss of -$401, I want the robot to close all opened trades on that account.

I also need it to have the option of adjusting the values of this limit or control upwards or downwards.

Han respondido

1
Desarrollador 1
Evaluación
(587)
Proyectos
919
46%
Arbitraje
31
39% / 29%
Caducado
93
10%
Libre
2
Desarrollador 2
Evaluación
(414)
Proyectos
670
33%
Arbitraje
60
17% / 32%
Caducado
113
17%
Trabaja
3
Desarrollador 3
Evaluación
(879)
Proyectos
1392
67%
Arbitraje
117
32% / 42%
Caducado
215
15%
Libre
4
Desarrollador 4
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
5
Desarrollador 5
Evaluación
(349)
Proyectos
463
51%
Arbitraje
41
24% / 49%
Caducado
149
32%
Libre
6
Desarrollador 6
Evaluación
(430)
Proyectos
606
55%
Arbitraje
48
23% / 56%
Caducado
178
29%
Libre
7
Desarrollador 7
Evaluación
(769)
Proyectos
1033
44%
Arbitraje
50
8% / 50%
Caducado
117
11%
Libre
8
Desarrollador 8
Evaluación
(173)
Proyectos
201
49%
Arbitraje
18
11% / 44%
Caducado
1
0%
Libre
9
Desarrollador 9
Evaluación
(1853)
Proyectos
3455
88%
Arbitraje
73
40% / 15%
Caducado
265
8%
Libre
10
Desarrollador 10
Evaluación
(548)
Proyectos
825
73%
Arbitraje
15
53% / 13%
Caducado
193
23%
Trabaja
11
Desarrollador 11
Evaluación
(547)
Proyectos
757
46%
Arbitraje
23
39% / 13%
Caducado
63
8%
Trabaja
12
Desarrollador 12
Evaluación
(2077)
Proyectos
2636
61%
Arbitraje
113
45% / 26%
Caducado
418
16%
Trabaja
13
Desarrollador 13
Evaluación
(548)
Proyectos
1330
59%
Arbitraje
28
82% / 0%
Caducado
10
1%
Libre
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
(33)
Proyectos
49
12%
Arbitraje
16
0% / 88%
Caducado
10
20%
Libre
17
Desarrollador 17
Evaluación
(1127)
Proyectos
1429
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
18
Desarrollador 18
Evaluación
(1)
Proyectos
3
0%
Arbitraje
0
Caducado
1
33%
Libre
19
Desarrollador 19
Evaluación
(66)
Proyectos
95
28%
Arbitraje
20
25% / 55%
Caducado
24
25%
Libre
20
Desarrollador 20
Evaluación
(258)
Proyectos
395
28%
Arbitraje
69
19% / 49%
Caducado
120
30%
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(439)
Proyectos
545
25%
Arbitraje
21
38% / 38%
Caducado
83
15%
Libre
23
Desarrollador 23
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
24
Desarrollador 24
Evaluación
(17)
Proyectos
24
33%
Arbitraje
5
20% / 40%
Caducado
8
33%
Libre
25
Desarrollador 25
Evaluación
(66)
Proyectos
143
34%
Arbitraje
10
10% / 60%
Caducado
26
18%
Libre
26
Desarrollador 26
Evaluación
(563)
Proyectos
932
47%
Arbitraje
301
59% / 25%
Caducado
124
13%
Trabaja
27
Desarrollador 27
Evaluación
(90)
Proyectos
118
17%
Arbitraje
44
23% / 39%
Caducado
20
17%
Libre
28
Desarrollador 28
Evaluación
(2)
Proyectos
5
0%
Arbitraje
2
0% / 50%
Caducado
1
20%
Libre
29
Desarrollador 29
Evaluación
(7)
Proyectos
15
33%
Arbitraje
4
0% / 25%
Caducado
3
20%
Libre
30
Desarrollador 30
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
31
Desarrollador 31
Evaluación
(54)
Proyectos
53
17%
Arbitraje
7
0% / 100%
Caducado
5
9%
Libre
Solicitudes similares
Hi, I have an indicator from my friend, I want to copy it to MT5 can you do that for me. Here is the link
I need an experienced programmer to create an automated EA that will open trades based on different candle stick formation strategies and indicators. The EA will first scan the market, find a current market trend and define area of support and resistance. On ranging market the EA doesn’t place trades . (1) EA should use a straddle strategy from either the S/R level, (2) indecision Doji candle from the S/R area, (3)
Requirement Specification : I have an EA that i want to convert from MQ4 to MQ5. I want my EA to be ready as this link says: https://www.mql5.com/en/articles/2555 And I want both EA passes the MQL5 automatic validation, no errors, no warnings, no dll . I need a good and experience programmer that can commit and complete this project. I have an Existing MT4 Expert Advisor and i want to convert to MT5. Exact copy i
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange. I had one created in python, but I would like it to work in MT5 with various regular rules that make it profitable
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated

Información sobre el proyecto

Presupuesto
30 - 50 USD
Para el ejecutor
27 - 45 USD