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
200
12%
Arbitraje
39
38% / 33%
Caducado
5
3%
Libre
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
(217)
Proyectos
369
33%
Arbitraje
34
41% / 29%
Caducado
108
29%
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
70
19% / 49%
Caducado
121
31%
Trabaja
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
(619)
Proyectos
722
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Trabajando
18
Desarrollador 18
Evaluación
(164)
Proyectos
260
62%
Arbitraje
4
50% / 25%
Caducado
10
4%
Libre
19
Desarrollador 19
Evaluación
(298)
Proyectos
478
40%
Arbitraje
105
40% / 24%
Caducado
82
17%
Trabajando
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% / 20%
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
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account

Información sobre el proyecto

Presupuesto
100 - 500 USD