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
(636)
Proyectos
1008
47%
Arbitraje
33
36% / 36%
Caducado
99
10%
Trabaja
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
(414)
Proyectos
670
33%
Arbitraje
60
17% / 32%
Caducado
113
17%
Trabaja
3
Desarrollador 3
Evaluación
(885)
Proyectos
1410
67%
Arbitraje
123
32% / 41%
Caducado
217
15%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(590)
Proyectos
789
71%
Arbitraje
9
33% / 33%
Caducado
22
3%
Libre
Ha publicado: 8 ejemplos
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
176
29%
Libre
7
Desarrollador 7
Evaluación
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
8
Desarrollador 8
Evaluación
(173)
Proyectos
201
49%
Arbitraje
18
11% / 44%
Caducado
1
0%
Libre
9
Desarrollador 9
Evaluación
(1931)
Proyectos
3552
88%
Arbitraje
73
40% / 15%
Caducado
268
8%
Libre
10
Desarrollador 10
Evaluación
(564)
Proyectos
845
73%
Arbitraje
15
53% / 13%
Caducado
193
23%
Libre
11
Desarrollador 11
Evaluación
(647)
Proyectos
875
48%
Arbitraje
29
38% / 17%
Caducado
63
7%
Trabaja
12
Desarrollador 12
Evaluación
(2350)
Proyectos
2956
63%
Arbitraje
125
44% / 26%
Caducado
429
15%
Libre
13
Desarrollador 13
Evaluación
(618)
Proyectos
1429
59%
Arbitraje
31
81% / 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
(1156)
Proyectos
1462
63%
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
396
28%
Arbitraje
70
19% / 49%
Caducado
121
31%
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(453)
Proyectos
566
26%
Arbitraje
24
42% / 38%
Caducado
85
15%
Libre
Ha publicado: 6 ejemplos
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
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
26
Desarrollador 26
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
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
i have existing EA but its decrypted i dont have its source code , i want you to decrypt the EA and give me the original source code of it
Hi gentlemen, I want MT5 market orders placed (open and close orders) on MEXC trading through web browser. MEXC doesnt allow algo trading. - Need source code budget: USD 50 (quote me your price and delivery time) I need this at the earliest and this job is only for mexc.com, not binance or any other exchange I look forward to your price offer and your suggestions. Appreciate
//+------------------------------------------------------------------+ //| UltraBot_MT5_EA.mq5 | //| Copyright 2026, UltraBot Algorithmic Engine | //| Brokers: RCG Markets & Razor Market | //+------------------------------------------------------------------+ #property copyright "UltraBot Automated Algo" #property link "https://ultrabot-mt5.app" #property version
https://www.youtube.com/watch?v=xMNx8f-aGQE&amp ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
1. Overview Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries. 2. Platform and symbol MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5) Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm) Default timeframe: M5 (configurable; M1 to M15 should work) 3. Indicators Heiken Ashi candles, calculated inside the EA (no
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the

Información sobre el proyecto

Presupuesto
30 - 50 USD