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

MQL5 Scripts Integração Forex

Trabalho concluído

Tempo de execução 18 horas
Comentário do desenvolvedor
Had a wonderful time working together, hopefully we can do it again in future! thanks a lot!
Comentário do 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.

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(166)
Projetos
189
10%
Arbitragem
37
38% / 35%
Expirado
5
3%
Carregado
2
Desenvolvedor 2
Classificação
(67)
Projetos
79
33%
Arbitragem
6
50% / 33%
Expirado
7
9%
Livre
3
Desenvolvedor 3
Classificação
(2)
Projetos
3
33%
Arbitragem
1
0% / 100%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(19)
Projetos
24
17%
Arbitragem
7
0% / 71%
Expirado
3
13%
Livre
5
Desenvolvedor 5
Classificação
(79)
Projetos
111
37%
Arbitragem
0
Expirado
4
4%
Livre
6
Desenvolvedor 6
Classificação
(183)
Projetos
325
32%
Arbitragem
33
42% / 27%
Expirado
96
30%
Trabalhando
7
Desenvolvedor 7
Classificação
(17)
Projetos
24
33%
Arbitragem
5
20% / 40%
Expirado
8
33%
Livre
8
Desenvolvedor 8
Classificação
(188)
Projetos
212
58%
Arbitragem
9
11% / 89%
Expirado
8
4%
Livre
9
Desenvolvedor 9
Classificação
(258)
Projetos
395
28%
Arbitragem
69
19% / 49%
Expirado
120
30%
Livre
10
Desenvolvedor 10
Classificação
(28)
Projetos
47
23%
Arbitragem
13
31% / 15%
Expirado
12
26%
Livre
11
Desenvolvedor 11
Classificação
(3)
Projetos
1
100%
Arbitragem
1
0% / 0%
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
13
Desenvolvedor 13
Classificação
(12)
Projetos
14
29%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(2)
Projetos
2
50%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(100)
Projetos
125
23%
Arbitragem
12
0% / 67%
Expirado
22
18%
Trabalhando
16
Desenvolvedor 16
Classificação
(144)
Projetos
198
42%
Arbitragem
20
25% / 55%
Expirado
9
5%
Livre
17
Desenvolvedor 17
Classificação
(426)
Projetos
483
34%
Arbitragem
25
40% / 44%
Expirado
6
1%
Ocupado
18
Desenvolvedor 18
Classificação
(144)
Projetos
231
61%
Arbitragem
3
67% / 0%
Expirado
6
3%
Livre
19
Desenvolvedor 19
Classificação
(251)
Projetos
402
38%
Arbitragem
82
41% / 20%
Expirado
70
17%
Trabalhando
20
Desenvolvedor 20
Classificação
(26)
Projetos
23
39%
Arbitragem
26
8% / 38%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(3)
Projetos
4
50%
Arbitragem
1
100% / 0%
Expirado
2
50%
Livre
22
Desenvolvedor 22
Classificação
(62)
Projetos
140
46%
Arbitragem
19
42% / 16%
Expirado
32
23%
Livre
23
Desenvolvedor 23
Classificação
(96)
Projetos
143
76%
Arbitragem
0
Expirado
2
1%
Livre
24
Desenvolvedor 24
Classificação
(82)
Projetos
86
57%
Arbitragem
25
0% / 84%
Expirado
19
22%
Livre
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
(12)
Projetos
12
0%
Arbitragem
0
Expirado
1
8%
Livre
27
Desenvolvedor 27
Classificação
(65)
Projetos
71
30%
Arbitragem
8
0% / 88%
Expirado
5
7%
Livre
Pedidos semelhantes
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
hi, I need to convert my MT5 robot to Python for the freqtrade framework, https://www.freqtrade.io/en/stable/strategy-customization/ For trading futures on Bybit or Binance, I can also send the MT4 version if it is more convenient
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
THE DEVELOPER MUST NOT HAVE ANY PENDING JOBS TIME IS OF THE ESSENCE I ALREADY HAVE SORUCE CODE, ADD ENTRIES AND CONDITIONS TO CODE I NEED THIS DONE BY TODAY OR TOMORROW MORNING THE LATEST The MT4 EA will work simultaneously on multi pairs the broker has to offer. The opening procedure will begin as follows: In this example I will use a BUY order. The same for SELL order. When the EA is dragged/ double clicked/ added
Hi 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
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

Informações sobre o projeto

Orçamento
100 - 500 USD
Desenvolvedor
90 - 450 USD