EA that create multiple trades (different TP) and auto update SL

2019.07.12 Experts

Specification

I need someone to create EA script that can create 3 trades with different Target Profit (TP). When the price reach a TP, SL for other trades updated to the previous TP. Below is the details.

// Input
TP1 qty= e.g 0.10
TP2 qty=
TP3 qty=
TP1 price= 
TP2 price=
TP3 price=
SL price=

When the price reached TP1, obviously the trade#1 will be closed. Then I need the script to change, Trade#2 and Trade#3, SL changed to TP1.

When the price reached TP2, obviously the trade#2 will be closed. Then I need the script to change, Trade#3, SL changed to TP2.

Note:
- In the "Comment" field of the trade, I need the script to add a unique number (so I can identify the "trade group") and TP goal (TP1 or TP2 or TP3) eg:
Trade#1=19071230-tp1
Trade#2=19071230-tp2
Trade#3=19071230-tp3
- I need to able to create multiple "trade groups"

Responded

1
Developer 1
2019.07.12
Rating
4.96
(300)
Projects
335
33%
Arbitration
28
21% / 61%
Overdue
68
20%
Busy
2
Developer 2
2019.07.12
Rating
4.89
(57)
Projects
82
38%
Arbitration
3
33% / 67%
Overdue
1
1%
Busy
3
Developer 3
2019.07.12
Rating
4.87
(30)
Projects
32
9%
Arbitration
7
0% / 86%
Overdue
3
9%
Working
4
Developer 4
2019.07.12
Rating
4.75
(63)
Projects
94
19%
Arbitration
43
5% / 60%
Overdue
42
45%
Loaded

Project information

Budget
50+ USD