CREATE CLOSE ALL BY P&L MT5 EA

Specification

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).



Files:

PNG
cab.png
162.9 Kb

Responded

1
Developer 1
Rating
(282)
Projects
353
29%
Arbitration
37
27% / 65%
Overdue
10
3%
Loaded
2
Developer 2
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
3
Developer 3
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
5
Developer 5
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 2 articles
6
Developer 6
Rating
(6)
Projects
8
38%
Arbitration
1
100% / 0%
Overdue
2
25%
Free
7
Developer 7
Rating
(319)
Projects
570
35%
Arbitration
83
30% / 45%
Overdue
206
36%
Working
8
Developer 8
Rating
(369)
Projects
451
55%
Arbitration
24
54% / 17%
Overdue
30
7%
Busy
9
Developer 9
Rating
(619)
Projects
722
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Loaded
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(2)
Projects
3
33%
Arbitration
1
0% / 100%
Overdue
0
Free
12
Developer 12
Rating
(2)
Projects
11
18%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(1)
Projects
1
0%
Arbitration
3
0% / 100%
Overdue
1
100%
Free
15
Developer 15
Rating
(3)
Projects
6
17%
Arbitration
0
Overdue
1
17%
Free
Published: 3 codes
16
Developer 16
Rating
(510)
Projects
977
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Working
Published: 1 article, 6 codes
17
Developer 17
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
18
Developer 18
Rating
(6)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
1
14%
Free
19
Developer 19
Rating
(170)
Projects
203
47%
Arbitration
5
20% / 60%
Overdue
3
1%
Free
20
Developer 20
Rating
(159)
Projects
215
76%
Arbitration
4
50% / 25%
Overdue
18
8%
Free
Published: 2 articles
21
Developer 21
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
22
Developer 22
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
26
Developer 26
Rating
(515)
Projects
554
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
Similar orders
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
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also

Project information

Budget
50 - 100 USD