Move SL Automatic to TP

MQL4 Experts Scripts

Specification

Can you help me to program automatic SL move to BE, TP1 or TP2 and so on?


Condition:
We choose how many order open with TP. each will move SL automatic when TP is reach.

We can choose 2 order then 2TP(TP1 & TP2), or 3 order and 3TP, or 4 order and 4TP and so on.


Example:
we choose open 3 order with selected lot and 3TP (TP1, TP2, TP3):

When TP1 reach, All SL move to BE.
When TP2 reach, SL move to TP1

When 50% reach to TP3, SL move to TP2

if we choose to open 5 order with 5TP, then

When TP1 reach, All SL move to BE.
When TP2 reach, SL move to TP1
When TP3 reach, SL move to TP2
When TP4 reach, SL move to TP3

When 50% reach to TP5, SL move to TP4

and so on with any other order open.
Thanks

Responded

1
Developer 1
Rating
(209)
Projects
281
46%
Arbitration
27
59% / 37%
Overdue
36
13%
Free
2
Developer 2
Rating
(34)
Projects
60
23%
Arbitration
11
73% / 9%
Overdue
3
5%
Free
3
Developer 3
Rating
(74)
Projects
73
47%
Arbitration
2
50% / 50%
Overdue
2
3%
Free
4
Developer 4
Rating
(9)
Projects
19
16%
Arbitration
3
67% / 0%
Overdue
0
Free
5
Developer 5
Rating
(68)
Projects
72
21%
Arbitration
6
50% / 33%
Overdue
1
1%
Free
6
Developer 6
Rating
(7)
Projects
6
17%
Arbitration
3
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(77)
Projects
241
73%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
8
Developer 8
Rating
(176)
Projects
227
19%
Arbitration
21
38% / 24%
Overdue
0
Working
9
Developer 9
Rating
(361)
Projects
643
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
10
Developer 10
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
11
Developer 11
Rating
(101)
Projects
122
30%
Arbitration
6
33% / 33%
Overdue
5
4%
Working
12
Developer 12
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
13
Developer 13
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
14
Developer 14
Rating
(70)
Projects
91
25%
Arbitration
26
19% / 54%
Overdue
25
27%
Free
15
Developer 15
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free

Project information

Budget
30+ USD