Adding option in Script to BUY/SELL With layering and two TP's

MQL4 Scripts

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
(262)
Projects
328
29%
Arbitration
35
26% / 63%
Overdue
10
3%
Loaded
2
Developer 2
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
3
Developer 3
Rating
(10)
Projects
6
33%
Arbitration
6
0% / 67%
Overdue
1
17%
Working
4
Developer 4
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
5
Developer 5
Rating
(601)
Projects
695
33%
Arbitration
43
47% / 44%
Overdue
12
2%
Loaded
6
Developer 6
Rating
(512)
Projects
552
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
7
Developer 7
Rating
(30)
Projects
38
29%
Arbitration
1
0% / 100%
Overdue
2
5%
Working
8
Developer 8
Rating
(2)
Projects
1
0%
Arbitration
2
0% / 100%
Overdue
0
Working
9
Developer 9
Rating
(79)
Projects
89
31%
Arbitration
8
13% / 63%
Overdue
4
4%
Loaded
10
Developer 10
Rating
(21)
Projects
28
36%
Arbitration
7
14% / 71%
Overdue
2
7%
Free
11
Developer 11
Rating
(45)
Projects
63
52%
Arbitration
5
0% / 40%
Overdue
1
2%
Free

Project information

Budget
30 - 200 USD
Deadline
from 1 to 10 day(s)