Adding BUY-SELL option with layering based on two TP's

MQL5 Scripts

Job finished

Execution time 6 days
Feedback from customer
My requirements were correctly understood, developed and tested like i wanted

Specification

I want the following to be possible as extra option


When selecting the option BUY/SELL with two TP'S I want that

1. The order is started within the range included layering with TP 1 and SL 

2. When TP 1reached, the order should change the SL to TP 1 and set TP 2 as TP

In this way i am not loosing any money

example to test 

XauUsd Sell Now @ 2775 - 2778


Sl:2780


Tp1 :2773

Tp2 :2770



Responded

1
Developer 1
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
2
Developer 2
Rating
(307)
Projects
551
35%
Arbitration
79
32% / 42%
Overdue
199
36%
Loaded
3
Developer 3
Rating
(102)
Projects
105
60%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
5
Developer 5
Rating
(542)
Projects
624
33%
Arbitration
39
36% / 49%
Overdue
11
2%
Busy
6
Developer 6
Rating
(4)
Projects
2
0%
Arbitration
5
0% / 80%
Overdue
1
50%
Free
7
Developer 7
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
8
Developer 8
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
9
Developer 9
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
218
15%
Free
Published: 1 code
10
Developer 10
Rating
(338)
Projects
407
53%
Arbitration
20
55% / 15%
Overdue
29
7%
Loaded
11
Developer 11
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
12
Developer 12
Rating
(270)
Projects
552
49%
Arbitration
57
40% / 37%
Overdue
228
41%
Working
13
Developer 13
Rating
(24)
Projects
31
19%
Arbitration
4
50% / 25%
Overdue
4
13%
Free
14
Developer 14
Rating
(2630)
Projects
3345
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code

Project information

Budget
30+ USD