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

MQL5 Scripts Intégration Forex

Tâche terminée

Temps d'exécution 18 heures
Commentaires de l'employé
Had a wonderful time working together, hopefully we can do it again in future! thanks a lot!
Commentaires du client
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.

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(174)
Projets
199
12%
Arbitrage
38
37% / 34%
En retard
5
3%
Travail
Publié : 2 codes
2
Développeur 2
Évaluation
(67)
Projets
79
33%
Arbitrage
6
50% / 33%
En retard
7
9%
Gratuit
3
Développeur 3
Évaluation
(2)
Projets
3
33%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
4
Développeur 4
Évaluation
(19)
Projets
24
17%
Arbitrage
7
0% / 71%
En retard
3
13%
Gratuit
Publié : 2 articles, 4 codes
5
Développeur 5
Évaluation
(79)
Projets
111
37%
Arbitrage
0
En retard
4
4%
Gratuit
6
Développeur 6
Évaluation
(214)
Projets
365
32%
Arbitrage
34
41% / 29%
En retard
108
30%
Gratuit
Publié : 1 code
7
Développeur 7
Évaluation
(17)
Projets
24
33%
Arbitrage
5
20% / 40%
En retard
8
33%
Gratuit
8
Développeur 8
Évaluation
(188)
Projets
212
58%
Arbitrage
9
11% / 89%
En retard
8
4%
Gratuit
9
Développeur 9
Évaluation
(258)
Projets
396
28%
Arbitrage
69
19% / 49%
En retard
121
31%
Gratuit
10
Développeur 10
Évaluation
(29)
Projets
49
22%
Arbitrage
14
29% / 21%
En retard
13
27%
Gratuit
11
Développeur 11
Évaluation
(3)
Projets
1
100%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
12
Développeur 12
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
338
26%
Gratuit
13
Développeur 13
Évaluation
(12)
Projets
14
29%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
(2)
Projets
2
50%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
(100)
Projets
125
23%
Arbitrage
12
0% / 75%
En retard
22
18%
Gratuit
16
Développeur 16
Évaluation
(144)
Projets
199
42%
Arbitrage
20
25% / 55%
En retard
10
5%
Gratuit
17
Développeur 17
Évaluation
(556)
Projets
643
33%
Arbitrage
42
40% / 45%
En retard
11
2%
Occupé
18
Développeur 18
Évaluation
(163)
Projets
258
61%
Arbitrage
4
50% / 25%
En retard
10
4%
Gratuit
19
Développeur 19
Évaluation
(296)
Projets
475
40%
Arbitrage
105
40% / 24%
En retard
80
17%
Occupé
Publié : 2 codes
20
Développeur 20
Évaluation
(26)
Projets
23
39%
Arbitrage
26
8% / 38%
En retard
0
Gratuit
21
Développeur 21
Évaluation
(3)
Projets
4
50%
Arbitrage
1
100% / 0%
En retard
2
50%
Gratuit
22
Développeur 22
Évaluation
(64)
Projets
144
46%
Arbitrage
20
40% / 15%
En retard
32
22%
Travail
23
Développeur 23
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
24
Développeur 24
Évaluation
(82)
Projets
86
57%
Arbitrage
25
0% / 84%
En retard
19
22%
Gratuit
25
Développeur 25
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
26
Développeur 26
Évaluation
(12)
Projets
12
0%
Arbitrage
0
En retard
1
8%
Gratuit
27
Développeur 27
Évaluation
(65)
Projets
71
30%
Arbitrage
8
0% / 88%
En retard
5
7%
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
100 - 500 USD