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
(250)
Projects
313
28%
Arbitration
34
26% / 65%
Overdue
10
3%
Working
2
Developer 2
Rating
(442)
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
(549)
Projects
636
33%
Arbitration
42
40% / 45%
Overdue
11
2%
Busy
6
Developer 6
Rating
(511)
Projects
549
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
(69)
Projects
79
29%
Arbitration
8
13% / 63%
Overdue
4
5%
Free
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
Similar orders
Job Description: We are looking for an experienced MQL5 developer to create a script or Expert Advisor (EA) that automatically updates the price of a token CFD on MT5, using a live BTCUSD feed. The goal is to make token fully CFD-tradable , with real-time price updates, charts, and client P/L. Clients should be able to trade long or short and view live candles, just like other MT5 CFDs. Scope of Work / Requirements

Project information

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