CREATE CLOSE ALL BY P&L MT5 EA

Tarea técnica

The EA is very simple with just a few parameters to make it lightweight, fast, and above all safe when closing.

The EA must close all open positions and cancel all pending orders for the basket when a certain profit or loss is reached, with the trailing profit feature.


Capabilities:


  • Closing all open positions and canceling all pending orders for the current symbol or for all symbols.
  • Closing individual order or whole basket of orders using magic numbers.
  • Trailing function for total profit con trailing step, that is, lock in the preset initial profit and continue locking in every step reached, and close and cancel all orders if the profit decreases!

Which means if the initial profit is set to 100 dollars and the step is 50 dollars, the EA locks 100 dollars and closes everything if it decreases but if the profit reaches the next step i.e. another 50 dollars, it locks 150 dollars and closes everything if it decreases, but if the profit reaches the next step it locks 200 dollars and so on.

  • Safe closing: configurable number of close/cancel attempts + retcode handling + OnTimer retries.
  • Email notification.
  • Minimalist user interface (see the image).



Archivos adjuntos:

PNG
cab.png
162.9 Kb

Han respondido

1
Desarrollador 1
Evaluación
(282)
Proyectos
353
29%
Arbitraje
37
27% / 65%
Caducado
10
3%
Trabajando
2
Desarrollador 2
Evaluación
(34)
Proyectos
35
40%
Arbitraje
0
Caducado
3
9%
Libre
3
Desarrollador 3
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
4
Desarrollador 4
Evaluación
(258)
Proyectos
269
29%
Arbitraje
2
50% / 0%
Caducado
3
1%
Trabaja
Ha publicado: 2 ejemplos
5
Desarrollador 5
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
Ha publicado: 2 artículos
6
Desarrollador 6
Evaluación
(6)
Proyectos
8
38%
Arbitraje
1
100% / 0%
Caducado
2
25%
Libre
7
Desarrollador 7
Evaluación
(319)
Proyectos
570
35%
Arbitraje
83
30% / 45%
Caducado
206
36%
Trabaja
8
Desarrollador 8
Evaluación
(369)
Proyectos
451
55%
Arbitraje
24
54% / 17%
Caducado
30
7%
Ocupado
9
Desarrollador 9
Evaluación
(619)
Proyectos
722
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Trabajando
10
Desarrollador 10
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(2)
Proyectos
3
33%
Arbitraje
1
0% / 100%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(2)
Proyectos
11
18%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(1)
Proyectos
1
0%
Arbitraje
3
0% / 100%
Caducado
1
100%
Libre
15
Desarrollador 15
Evaluación
(3)
Proyectos
6
17%
Arbitraje
0
Caducado
1
17%
Libre
Ha publicado: 3 ejemplos
16
Desarrollador 16
Evaluación
(510)
Proyectos
977
74%
Arbitraje
27
19% / 67%
Caducado
100
10%
Trabaja
Ha publicado: 1 artículo, 6 ejemplos
17
Desarrollador 17
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(6)
Proyectos
7
14%
Arbitraje
1
0% / 100%
Caducado
1
14%
Libre
19
Desarrollador 19
Evaluación
(170)
Proyectos
203
47%
Arbitraje
5
20% / 60%
Caducado
3
1%
Libre
20
Desarrollador 20
Evaluación
(159)
Proyectos
215
76%
Arbitraje
4
50% / 25%
Caducado
18
8%
Libre
Ha publicado: 2 artículos
21
Desarrollador 21
Evaluación
(78)
Proyectos
246
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
22
Desarrollador 22
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
23
Desarrollador 23
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
24
Desarrollador 24
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
(45)
Proyectos
53
57%
Arbitraje
2
100% / 0%
Caducado
1
2%
Libre
Ha publicado: 5 ejemplos
26
Desarrollador 26
Evaluación
(515)
Proyectos
554
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
Solicitudes similares
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
Investor Account (Read-Only Access) ‎ ‎📌 Platform: MT5 ‎📌 Broker: Fusion Markets Pty Ltd ‎📌 Server: Fusion Markets Demo ‎📌 Login: 422204 ‎📌 Investor Password: Gen@2026 please check this demo account, which strategy added here and understand how to work this robot. i need this kind trading robot. only expert developer needed. no need apply new developer. I will test robot in demo account, when we see bot
Poverty 30+ USD
Develop the EA according to my provided trading strategy and rules. The EA must open and close trades automatically according to the specified conditions. Include configurable Stop Loss, Take Profit, lot size and risk-management settings. Include an option for fixed lot size or percentage-based risk. Include Magic Number and trade-comment settings. The EA must work correctly on the requested MT4/MT5 platform and
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or

Información sobre el proyecto

Presupuesto
50 - 100 USD