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
(166)
Projets
189
10%
Arbitrage
37
38% / 35%
En retard
5
3%
Chargé
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
5
Développeur 5
Évaluation
(79)
Projets
111
37%
Arbitrage
0
En retard
4
4%
Gratuit
6
Développeur 6
Évaluation
(183)
Projets
325
32%
Arbitrage
33
42% / 27%
En retard
96
30%
Travail
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
395
28%
Arbitrage
69
19% / 49%
En retard
120
30%
Gratuit
10
Développeur 10
Évaluation
(28)
Projets
47
23%
Arbitrage
13
31% / 15%
En retard
12
26%
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% / 67%
En retard
22
18%
Travail
16
Développeur 16
Évaluation
(144)
Projets
198
42%
Arbitrage
20
25% / 55%
En retard
9
5%
Gratuit
17
Développeur 17
Évaluation
(426)
Projets
483
34%
Arbitrage
25
40% / 44%
En retard
6
1%
Occupé
18
Développeur 18
Évaluation
(144)
Projets
231
61%
Arbitrage
3
67% / 0%
En retard
6
3%
Gratuit
19
Développeur 19
Évaluation
(251)
Projets
402
38%
Arbitrage
82
41% / 20%
En retard
70
17%
Travail
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
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
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
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
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

Informations sur le projet

Budget
100 - 500 USD
Pour le développeur
90 - 450 USD