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
(166)
Proyectos
189
10%
Arbitraje
37
38% / 35%
Caducado
5
3%
Trabajando
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
5
Desarrollador 5
Evaluación
(79)
Proyectos
111
37%
Arbitraje
0
Caducado
4
4%
Libre
6
Desarrollador 6
Evaluación
(183)
Proyectos
325
32%
Arbitraje
33
42% / 27%
Caducado
96
30%
Trabaja
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
395
28%
Arbitraje
69
19% / 49%
Caducado
120
30%
Libre
10
Desarrollador 10
Evaluación
(28)
Proyectos
47
23%
Arbitraje
13
31% / 15%
Caducado
12
26%
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% / 67%
Caducado
22
18%
Trabaja
16
Desarrollador 16
Evaluación
(144)
Proyectos
198
42%
Arbitraje
20
25% / 55%
Caducado
9
5%
Libre
17
Desarrollador 17
Evaluación
(428)
Proyectos
485
33%
Arbitraje
25
40% / 44%
Caducado
6
1%
Trabajando
18
Desarrollador 18
Evaluación
(144)
Proyectos
231
61%
Arbitraje
3
67% / 0%
Caducado
6
3%
Libre
19
Desarrollador 19
Evaluación
(251)
Proyectos
402
38%
Arbitraje
82
41% / 20%
Caducado
70
17%
Trabaja
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
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
Libre
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
EA 30 - 75 USD
I would like my robot to open up to 2000 trades. It should be 90-97% accurate at all times. It should trade currency pairs, Indexes and Gold. It must analyze the chart automatically and it must be easy to be set up. It must not lose any money. Profitable all the way. I would like someone who is highly experienced to do the job. NB!! MOBILE ROBOT. It must have automated TP and SL. all trades should be trigger anytime
will create Show Balance script in MQL4 on MT4 and. I will Create: Copy trade from mt4 to OKX SPOT API WEBSITE https://www. okx .com/docs-v5/en/#overview I want When open position buy on mt4 >> will buy on OKX spot When close this position on mt4 >> will sell on OKX spot When open position sell on mt4 >> will sell on OKX spot When close this position on mt4 >> will buy on OKX spot just one file MQL4 / exe work on mt4
I bought FXSSI.com tools (sentiment indicator) including the following indicator: FXSSI.Ratio.ex4 (.mq4 versions are not provided) Now I am trying to export the indicators' output values in an EA in order to generate trading signals and to backtest strategies based on various combinations of some of these indicators but I can't make it work. I use iCustom() but it always returns either: > 2147483647 if indicator is
I need a trading robot that will be about to enter and get out of trades automatically following a set of conditions that will be provided. it will be determining the trend on a higher time frame and making trades on a lower timeframe
Trade Copier 1. Copy same Trade. 2. Also TP and SL 3. Need reverse trading Master to Slave 4. Adjust TP and SL future on Slave if you agree send sample copy first
Convert Pine Script Trading view To MT4 Convert Attach Script to mt4 with buy and sell signals on Chart and Data Window. The buy and sell signal must be the SAME signals, on the same candles. No deviation. Must Match BTC 1 hr to buy and sell signals... no deviation
hello 👋 great developer am looking for developer that will help me to convert pinescript strategy to mt4 strategy I will be looking for your bid soon Best regards Ayofe
Hello! I need to make the indicator for Forex Tester 5. The platform supports indicators/strategies/scripts which are written in .dll format and can be created in Delphi or C++ programming languages. Are you interested in the task? In the attached files the Task is explained, and in the file in Excel you can see the formulas and data. The task is to make an indicator for Forex Tester 5. If you want to fulfil the
There is an indicator on tradingview under the name of "Rob Booker - ADX Breakout". I need to convert it to an mql4 expert advisor. Plus adding regular standard settings of EA as tp,sl,lots,etc
EA (mq4 file) needs customization: 1. Add 2 params and their functionality. 2. Fix Global Variables (GV) so EA will NEVER miss a trade for any reason. Should not take more than an hour to complete the job

Información sobre el proyecto

Presupuesto
100 - 500 USD
Para el ejecutor
90 - 450 USD