Close all ea

MQL5 Asesores Expertos

Tarea técnica

I need 1 EA where this EA will close all positions ( all magicnumbers ) when the target of equity reached.

Target equity =  balance  +  parameter in currency     :      1050 =   1000 + 50

or

Target equity =  balance  +  parameter in %    :   1050  =  1000  + 5%


Equity will close all my open positions when the equity reached . Example starting balance is $1000, EA will close when the equity reach equal or more than $1050

After EA closed all positions, EA will immediately read how much the current balance. So, let say now current balance is $1050, so EA will close again the new open positions when the new equity reach equal or more than $1100. 


When the account balance is increasing via another EA , this EA must adapt the target equity . There are others running on same account and they make profit. Then the target equity wiil increase with the amount of profit of the other EA's.


when the account balance is descreased via a loss via another EA , this EA may not change the equity to reach. It will not change the target equity


Note:

EA will not get affected even after restart the platform. EA will have a memory to keep the last equity target even after platform restarted. The only thing that can erase the EA memory is, when I click the reset button, so EA will check and memorize the new balance, in case I change to the new platform or new account.

Only via the reset function a new target equity can be given because i sometimes redraw money for the account and only then i want to change the target equity.

I want the MQL5 file also to change it when needed .

I do not know how i can test this EA the the MQL5 tester but if you have some advise , please give me because this EA does not open positions


Han respondido

1
Desarrollador 1
Evaluación
(205)
Proyectos
277
46%
Arbitraje
22
73% / 23%
Caducado
37
13%
Trabaja
2
Desarrollador 2
Evaluación
(368)
Proyectos
472
24%
Arbitraje
51
61% / 20%
Caducado
53
11%
Trabajando
3
Desarrollador 3
Evaluación
(48)
Proyectos
60
22%
Arbitraje
8
38% / 38%
Caducado
5
8%
Libre
4
Desarrollador 4
Evaluación
(237)
Proyectos
243
31%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
5
Desarrollador 5
Evaluación
(13)
Proyectos
17
18%
Arbitraje
3
67% / 0%
Caducado
0
Trabaja
6
Desarrollador 6
Evaluación
(5)
Proyectos
5
0%
Arbitraje
3
0% / 0%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(51)
Proyectos
69
35%
Arbitraje
1
100% / 0%
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(254)
Proyectos
377
25%
Arbitraje
22
59% / 23%
Caducado
1
0%
Trabajando
9
Desarrollador 9
Evaluación
(66)
Proyectos
73
5%
Arbitraje
33
15% / 36%
Caducado
6
8%
Trabaja
10
Desarrollador 10
Evaluación
(36)
Proyectos
38
11%
Arbitraje
2
50% / 50%
Caducado
2
5%
Trabaja
11
Desarrollador 11
Evaluación
(5)
Proyectos
4
25%
Arbitraje
1
0% / 100%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(325)
Proyectos
535
67%
Arbitraje
52
21% / 38%
Caducado
169
32%
Trabaja
Ha publicado: 1 ejemplo
13
Desarrollador 13
Evaluación
(17)
Proyectos
19
26%
Arbitraje
2
50% / 0%
Caducado
1
5%
Libre
Ha publicado: 2 ejemplos
14
Desarrollador 14
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(254)
Proyectos
341
71%
Arbitraje
12
42% / 25%
Caducado
12
4%
Libre
Ha publicado: 17 ejemplos
16
Desarrollador 16
Evaluación
(189)
Proyectos
234
35%
Arbitraje
8
63% / 38%
Caducado
6
3%
Libre
Ha publicado: 1 artículo, 8 ejemplos
17
Desarrollador 17
Evaluación
(156)
Proyectos
280
35%
Arbitraje
14
29% / 50%
Caducado
42
15%
Libre
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(5)
Proyectos
5
0%
Arbitraje
2
50% / 0%
Caducado
1
20%
Libre
21
Desarrollador 21
Evaluación
(279)
Proyectos
330
51%
Arbitraje
12
42% / 0%
Caducado
18
5%
Trabajando
22
Desarrollador 22
Evaluación
(20)
Proyectos
26
38%
Arbitraje
2
50% / 50%
Caducado
2
8%
Libre
23
Desarrollador 23
Evaluación
(59)
Proyectos
81
43%
Arbitraje
23
13% / 61%
Caducado
8
10%
Trabaja
24
Desarrollador 24
Evaluación
(43)
Proyectos
65
11%
Arbitraje
12
58% / 42%
Caducado
1
2%
Libre
25
Desarrollador 25
Evaluación
(22)
Proyectos
30
20%
Arbitraje
8
63% / 13%
Caducado
9
30%
Libre
26
Desarrollador 26
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
27
Desarrollador 27
Evaluación
(462)
Proyectos
907
76%
Arbitraje
25
16% / 68%
Caducado
99
11%
Libre
Ha publicado: 1 artículo, 6 ejemplos
28
Desarrollador 28
Evaluación
(291)
Proyectos
521
36%
Arbitraje
62
34% / 35%
Caducado
187
36%
Trabajando
29
Desarrollador 29
Evaluación
(190)
Proyectos
233
56%
Arbitraje
12
17% / 50%
Caducado
43
18%
Trabaja
30
Desarrollador 30
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
31
Desarrollador 31
Evaluación
(50)
Proyectos
73
21%
Arbitraje
11
18% / 27%
Caducado
6
8%
Trabaja
32
Desarrollador 32
Evaluación
(5)
Proyectos
8
13%
Arbitraje
0
Caducado
0
Trabaja
33
Desarrollador 33
Evaluación
(138)
Proyectos
170
53%
Arbitraje
10
80% / 0%
Caducado
0
Trabaja
Ha publicado: 1 ejemplo
34
Desarrollador 34
Evaluación
(101)
Proyectos
122
30%
Arbitraje
5
40% / 20%
Caducado
5
4%
Libre
35
Desarrollador 35
Evaluación
(3)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Ocupado
36
Desarrollador 36
Evaluación
(4)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
1
50%
Trabaja
37
Desarrollador 37
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
38
Desarrollador 38
Evaluación
(8)
Proyectos
12
0%
Arbitraje
22
0% / 77%
Caducado
4
33%
Libre
39
Desarrollador 39
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
40
Desarrollador 40
Evaluación
(15)
Proyectos
20
35%
Arbitraje
2
0% / 100%
Caducado
0
Libre
Ha publicado: 1 ejemplo
41
Desarrollador 41
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
42
Desarrollador 42
Evaluación
(164)
Proyectos
212
20%
Arbitraje
18
44% / 17%
Caducado
0
Trabaja
43
Desarrollador 43
Evaluación
(1)
Proyectos
0
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
44
Desarrollador 44
Evaluación
(11)
Proyectos
11
18%
Arbitraje
1
0% / 0%
Caducado
1
9%
Libre
45
Desarrollador 45
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
46
Desarrollador 46
Evaluación
(287)
Proyectos
293
70%
Arbitraje
2
100% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
47
Desarrollador 47
Evaluación
(84)
Proyectos
115
70%
Arbitraje
5
80% / 0%
Caducado
11
10%
Libre
48
Desarrollador 48
Evaluación
(77)
Proyectos
232
73%
Arbitraje
6
100% / 0%
Caducado
1
0%
Libre
Solicitudes similares
Общая информация о Box EA Эта система — коробочная стратегия . Каждый день в заданное время строится диапазон ( коробка ) по цене. После окончания этого интервала советник выставляет стоп-ордера на пробой коробки. Есть три режима работы: Trend — вход по направлению тренда (определяется по EMA30/60). CounterTrend — вход против тренда. Random (OCO) — ставятся оба ордера, при срабатывании одного второй удаляется. Риск
I need an MQL4 developer to create two projects on MT4. The first is a grid trading EA that should not use martingale, but allow customizable settings such as grid step, lot size, maximum trades, take profit, stop loss, trading hours, and include risk management features. The second is a reverse trade copier that mirrors trades from one MT4 account to another in the opposite direction (for example, if the master
I'm seeking a highly skilled MQL5 developer to backtest and optimize an existing Expert Advisor (EA) for consistent and stable performance on XAUUSD (Gold), M5 timeframe . Project Scope: Conduct detailed backtesting using high-quality, accurate historical data Perform advanced optimization of key parameters: Risk settings Stop Loss / Take Profit Trailing stop Lot sizing Other relevant EA settings Ensure robust
Hello, I’m currently looking to hire a professional and experienced developer to help create a custom trading bot (Expert Advisor) for the MetaTrader platform (MT5). What I Need: I’m looking for someone who can: Develop a fully automated trading bot based on my strategy (which I will provide in detail)
Hello, I’m looking for an MQL5 or MQL4 EA that trades EURUSD (optionally other majors or XAUUSD). The broker applies a 4-pip spread on EURUSD and higher on other symbols. The sole objective is to generate at least 45–60 lots of volume within 2 weeks or max one month (more is better; a bonus is paid for every additional 10 lots traded). The account has 1000 USD starting balance. Capital preservation is not required
I need help building a successful trading strategy on QuantConnect. The goal is to achieve a sharp ratio greater than 2 and returns above 100% per annum, with the strategy scripted and backtested on the platform. Scope of work - Develop a trading strategy with a sharp ratio greater than Ensure returns exceed 100% annually. - Draft and backtest the strategy using QuantConnect platform. Additional information Build &
Hello, I run a service providing Expert Advisors (EAs) and trading tools to clients, and I am looking for a skilled developer to partner with on a long-term basis. The key requirements include: MT4/MT5 Development – Creating new EAs, editing existing ones, and managing licensing. TradingView Indicators – Developing and modifying indicators with licensing solutions. As my client base grows, there will be a steady flow
EA Specification (Updated with Risk Control Options) 1. General Concept The Expert Advisor (EA) should open trades at the close of a candlestick , based on: The market bias (user-defined: Buy or Sell only). The timeframe selected by the trader. The EA should include a dashboard panel on the chart that allows the trader to interact with and control the EA’s behavior. 2. Dashboard / User Interface The on-chart
1. Project Overview Name : BB Channel Trading EA Objective : Execute reversal trades based on price action (engulfing patterns and liquidity sweeps) at the extremes defined by Bollinger Bands. Trades will be taken when price breaks volatility bounds, indicating potential exhaustion and reversal. 2. Functional Components 2.1 Bollinger Bands Channel Purpose : Identify overbought and oversold zones. Indicator : Custom
I am looking for an experience MQL4 developer for making a profitable prop firm compatible MT4 gold scalper EA on a 5 Minute time frame. The EA should have a win rate of not less than 90% on back testing. The EA should be able to pass all prop firm challenges like Funded Next, FTMO, Funding Pips within 1-2 weeks. The EA should also work on live funded account. Any strategy can be used to develop the EA. Proper risk

Información sobre el proyecto

Presupuesto
30+ USD
IVA (21%): 6.3 USD
Total: 36 USD
Para el ejecutor
27 USD

Cliente

(1)
Encargos realizados2
Número de arbitrajes0