Automatically close all open trades when a cumulative open profit/loss threshold gets breached

MQL5 Sripts Integración Fórex

Trabajo finalizado

Plazo de ejecución 18 horas
Comentario del Ejecutor
Had a wonderful time working together, hopefully we can do it again in future! thanks a lot!
Comentario del Cliente
Excellent work, very receptive to feedback and responsive when I had questions (of which I had a lot, being completely new to the world of trading automation). Would definitely recommend.

Tarea técnica

Ok so I'm completely new to the MT world, and know absolutely nothing about coding.  I've always just been a chart it out on tradingview kinda guy.  But I have this different technique for Taking profit/loss I really want to try, and it would require some automation to do it.  What i'm looking for is, if  9 trades open, and I have a take profit value in mind that i want to reach, say $1500.  If my portfolio of open trades reaches my desired target of $1500 combined across all my open trades, to have that event automatically trigger liquidation of all my open trades?  Basically, instead of having a target in mind for each individual trade, I want to try setting a general profit target/loss limit, that once its reached, i quit while i'm ahead/cut my losses, so to speak.   Has to be MT5 not MT4, as my system requires the use of Buy/sell stop limit orders

Han respondido

1
Desarrollador 1
Evaluación
(174)
Proyectos
199
12%
Arbitraje
38
37% / 34%
Caducado
5
3%
Trabaja
Ha publicado: 2 ejemplos
2
Desarrollador 2
Evaluación
(67)
Proyectos
79
33%
Arbitraje
6
50% / 33%
Caducado
7
9%
Libre
3
Desarrollador 3
Evaluación
(2)
Proyectos
3
33%
Arbitraje
1
0% / 100%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(19)
Proyectos
24
17%
Arbitraje
7
0% / 71%
Caducado
3
13%
Libre
Ha publicado: 2 artículos, 4 ejemplos
5
Desarrollador 5
Evaluación
(79)
Proyectos
111
37%
Arbitraje
0
Caducado
4
4%
Libre
6
Desarrollador 6
Evaluación
(214)
Proyectos
365
32%
Arbitraje
34
41% / 29%
Caducado
108
30%
Libre
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(17)
Proyectos
24
33%
Arbitraje
5
20% / 40%
Caducado
8
33%
Libre
8
Desarrollador 8
Evaluación
(188)
Proyectos
212
58%
Arbitraje
9
11% / 89%
Caducado
8
4%
Libre
9
Desarrollador 9
Evaluación
(258)
Proyectos
396
28%
Arbitraje
69
19% / 49%
Caducado
121
31%
Libre
10
Desarrollador 10
Evaluación
(29)
Proyectos
49
22%
Arbitraje
14
29% / 21%
Caducado
13
27%
Libre
11
Desarrollador 11
Evaluación
(3)
Proyectos
1
100%
Arbitraje
1
0% / 0%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
13
Desarrollador 13
Evaluación
(12)
Proyectos
14
29%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(2)
Proyectos
2
50%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(100)
Proyectos
125
23%
Arbitraje
12
0% / 75%
Caducado
22
18%
Libre
16
Desarrollador 16
Evaluación
(144)
Proyectos
199
42%
Arbitraje
20
25% / 55%
Caducado
10
5%
Libre
17
Desarrollador 17
Evaluación
(556)
Proyectos
643
33%
Arbitraje
42
40% / 45%
Caducado
11
2%
Ocupado
18
Desarrollador 18
Evaluación
(163)
Proyectos
258
61%
Arbitraje
4
50% / 25%
Caducado
10
4%
Libre
19
Desarrollador 19
Evaluación
(296)
Proyectos
475
40%
Arbitraje
105
40% / 24%
Caducado
80
17%
Ocupado
Ha publicado: 2 ejemplos
20
Desarrollador 20
Evaluación
(26)
Proyectos
23
39%
Arbitraje
26
8% / 38%
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(3)
Proyectos
4
50%
Arbitraje
1
100% / 0%
Caducado
2
50%
Libre
22
Desarrollador 22
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 15%
Caducado
32
22%
Trabaja
23
Desarrollador 23
Evaluación
(96)
Proyectos
143
76%
Arbitraje
0
Caducado
2
1%
Libre
24
Desarrollador 24
Evaluación
(82)
Proyectos
86
57%
Arbitraje
25
0% / 84%
Caducado
19
22%
Libre
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(12)
Proyectos
12
0%
Arbitraje
0
Caducado
1
8%
Libre
27
Desarrollador 27
Evaluación
(65)
Proyectos
71
30%
Arbitraje
8
0% / 88%
Caducado
5
7%
Libre
Solicitudes similares
Hola, estoy buscando un desarrollador MQL5 con experiencia real en trading algorítmico. Necesito un EA para XAUUSD con: Control de Drawdown filtro de mercado (tendencia vs rango) gestión de riesgo dinámica optimización para sesiones específicas Antes de avanzar quisiera saber: ¿Qué experiencia tienes con EAs en MT5? ¿Has trabajado con estrategias de oro (XAUUSD)? ¿Cómo gestionas el drawdown en un bot? ¿Puedes mostrar
Double ma 30+ USD
Create an EA on moving averages. The EA will open a trade when the price is above the averages. It will open another when it is below the averages. Ability to work on any timeframe. Ability to use a news filter and a martingale...or to work on a grid
There is a programming god without EA here. I want to find someone to make an EA to operate gold and silver. There is a model, but it can't run. So I want to find someone to make professional improvements to make my EA run. If you are interested, you can WECHAT: 15113958263. Please note EA when adding friends
Iam seeking for a good trade robot/indicator debugging developer to finalize and close profits for me,in both my exneas blocker and MT5,for expert advisor for trading both gold xausd and sliver xagusd,l really want a perfect robot that can herence and risk management principles,not to leave out am a beginner
I am looking for non-repainting indicator to run in all sessions for scalping gold , happy to discuss if you have developed such indicators which can show profit and stop loss levels
Hello! I want to buy two indicators: A Support and Resistence Indicator and a Trendline Indicator. Support and Resistence Indicators needs to automatically draws Support and Resistance lines based on High and Low Candle in every time-frame (If possible time-frame needs to be in inputs and choose by me what time-frame i want indicator to draw lines) Trendline Indicator needs to automatically draws Trendline Channels
Title: SEEKING: Proven SMC/Order Block EA for XAUUSD – Live Track Record Required (<5% Max DD) ​ Job/Request Description: I am looking to acquire or license a high-performance, fully automated Expert Advisor (EA) specifically optimized for XAUUSD (Gold) . The strategy must be strictly based on Smart Money Concepts (SMC) , utilizing Order Blocks, Liquidity sweeps, and Market Structure Shifts (MSS). ​ Technical
A SPECIFICATION: NESTED MULTI-TIMEFRAME MOMENTUM (NMTM) 1. CORE OBJECTIVE The EA is designed to identify institutional Supply and Demand zones on the H4 timeframe that are "nested" within Daily (D1) zones. It filters for high- momentum "Leg-Out" moves and only trades in the direction of the Daily trend. 2. PHASE 1: TREND & CONTEXT FILTERS (DAILY) The EA must first confirm the Daily bias. No H4 zones are valid if they
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
FireDire 30+ USD
I want a prop-firm–compliant trading robot, not a fast or aggressive one. Objectives: – Pass a prop firm challenge safely within 2–4 weeks, not 1 week. – Focus on capital protection first, profit second. Risk & Money Management: – Risk per trade: 0.25%–0.5% max – No martingale, no grid, no recovery trading – One position per signal (optional scaling only after BE) – Global daily risk cap: 1%–1.5% – Respect both daily

Información sobre el proyecto

Presupuesto
100 - 500 USD