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

MQL5 Scripts Integration Forex

Job finished

Execution time 18 hours
Feedback from employee
Had a wonderful time working together, hopefully we can do it again in future! thanks a lot!
Feedback from customer
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.

Specification

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

Responded

1
Developer 1
Rating
(171)
Projects
194
11%
Arbitration
37
38% / 35%
Overdue
5
3%
Loaded
2
Developer 2
Rating
(67)
Projects
79
33%
Arbitration
6
50% / 33%
Overdue
7
9%
Free
3
Developer 3
Rating
(2)
Projects
3
33%
Arbitration
1
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(19)
Projects
24
17%
Arbitration
7
0% / 71%
Overdue
3
13%
Free
5
Developer 5
Rating
(79)
Projects
111
37%
Arbitration
0
Overdue
4
4%
Free
6
Developer 6
Rating
(185)
Projects
327
32%
Arbitration
33
42% / 27%
Overdue
98
30%
Working
7
Developer 7
Rating
(17)
Projects
24
33%
Arbitration
5
20% / 40%
Overdue
8
33%
Free
8
Developer 8
Rating
(188)
Projects
212
58%
Arbitration
9
11% / 89%
Overdue
8
4%
Free
9
Developer 9
Rating
(258)
Projects
395
28%
Arbitration
69
19% / 49%
Overdue
120
30%
Free
10
Developer 10
Rating
(28)
Projects
47
23%
Arbitration
13
31% / 15%
Overdue
12
26%
Free
11
Developer 11
Rating
(3)
Projects
1
100%
Arbitration
1
0% / 0%
Overdue
0
Free
12
Developer 12
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
13
Developer 13
Rating
(12)
Projects
14
29%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(100)
Projects
125
23%
Arbitration
12
0% / 75%
Overdue
22
18%
Free
16
Developer 16
Rating
(144)
Projects
198
42%
Arbitration
20
25% / 55%
Overdue
9
5%
Free
17
Developer 17
Rating
(483)
Projects
547
33%
Arbitration
27
41% / 44%
Overdue
8
1%
Busy
18
Developer 18
Rating
(154)
Projects
244
60%
Arbitration
3
67% / 0%
Overdue
6
2%
Working
19
Developer 19
Rating
(261)
Projects
423
38%
Arbitration
86
44% / 19%
Overdue
70
17%
Busy
20
Developer 20
Rating
(26)
Projects
23
39%
Arbitration
26
8% / 38%
Overdue
0
Free
21
Developer 21
Rating
(3)
Projects
4
50%
Arbitration
1
100% / 0%
Overdue
2
50%
Free
22
Developer 22
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
23
Developer 23
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
24
Developer 24
Rating
(82)
Projects
86
57%
Arbitration
25
0% / 84%
Overdue
19
22%
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(12)
Projects
12
0%
Arbitration
0
Overdue
1
8%
Free
27
Developer 27
Rating
(65)
Projects
71
30%
Arbitration
8
0% / 88%
Overdue
5
7%
Free
Similar orders
I want to convert my EA from MQ4 to MQ5. The EA strategy must function the same. The EA must work with back tester. EA function with no errors. MQL5 source when the job is completed
Hello, I'm seeking a freelancer with access to a ready-made server solution for an educational forex project. Requirements: Ability to control or manipulate live or historical trading data. Platform to execute simulated trades with exaggerated outcomes. Tools for real-time trade simulation (white-label or virtual dealer solutions). If you have a suitable server or can help me find one, please reach out with details
I want to deal in triangular forex arbitrage trading. I want an automated trading robot for the same. It is also expected that the developer advises me about the setting up the operations. I live in India, so he/she must know the ethical way to do it, be it international broker account or whatever. I just need to start this sooner but in the efficient way. The developer is expected to have some experience and should
hello here am looking for someone that can assist me in removing validation form my demo file and if anyone is interested dm the for more details i will be waiting to get any reply by some on that can assist me with this
Hey developers! It is my pleasure to meet you. I am looking for a developer to help meet build and develop a simple EA robot that works based on EMAs. If you are a professional and expierenced MT4 programmer looking to work on this project, do bid for this project so that we can proceed and work on it. Thank you
A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point. If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price. If there is at least one H point
RRB 50 - 400 USD
The overbought zone is determined as candlesticks, at which the indicator value Value > Lmax (Lmax=-20). The oversold zone is determined as candlesticks, at which the indicator value Value < Lmin (Lmin=-80). The values of Lmax and Lmin should be included in indicator parameters. A yellow point should be added at the High point of candlesticks in the overbought zone—it is the H point. A green point should be added at
Hello, I am looking for developer who develops me a renko trading robo with following requirement Time :1 sec Box assignment method : Percentage change LTP Source : Close/OHLC Auto Break-even setup option after certain box Trialling Profit Pips after certain box profit with auto Sl set in PIPs Auto open reverse trade after hitting Sl with given conditions . It is very simple trading tool
At bot 30+ USD
Help me to trade create orders for me and analyze the markets and decide when is a good time to buy or sell. Determine which pairs are best to use to trade with and indicate trading signals to me
I currently have a Forex trading script in .txt format that I want to be converted to a functional/working robot (in .mq4), without altering the strategy of the script. The strategy of the script is already in and shouldn't be changed unless with mutual understanding

Project information

Budget
100 - 500 USD
For the developer
90 - 450 USD