Script for entering Entering Stop Loss and Take Profit

MQL5 Scripts

Job finished

Execution time 23 hours
Feedback from customer
Excellent coder, good communication, will hire again.
Feedback from employee
It was nice to work with you!

Specification

I need a simple script that will automatically check all the open trades (max 30 open trades) and places a fixed stoploss of 50 pips and a fixed take profit of 75 pips on all of them. Note that these trades can be short and long trades; hence, the code must be able to handle the stop loss and profit accordingly. Please ensure the magic numbers and the comments for each of these open trades are not changed.

Responded

1
Developer 1
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
2
Developer 2
Rating
(82)
Projects
150
29%
Arbitration
9
44% / 11%
Overdue
46
31%
Free
3
Developer 3
Rating
(29)
Projects
30
57%
Arbitration
0
Overdue
4
13%
Free
4
Developer 4
Rating
(187)
Projects
367
56%
Arbitration
45
22% / 56%
Overdue
188
51%
Free
Published: 1 article, 6 codes
5
Developer 5
Rating
Projects
2
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
6
Developer 6
Rating
(12)
Projects
17
35%
Arbitration
1
0% / 100%
Overdue
3
18%
Free
7
Developer 7
Rating
(72)
Projects
254
53%
Arbitration
17
47% / 41%
Overdue
83
33%
Working
8
Developer 8
Rating
(18)
Projects
37
43%
Arbitration
6
17% / 50%
Overdue
17
46%
Free
9
Developer 9
Rating
(1)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
1
33%
Free
10
Developer 10
Rating
(2)
Projects
3
0%
Arbitration
4
25% / 75%
Overdue
0
Free
Published: 1 code

Project information

Budget
10 - 15 USD
Deadline
5 day(s)