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

MQL4 脚本

指定

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



反馈

1
开发者 1
等级
(250)
项目
313
28%
仲裁
34
26% / 65%
逾期
10
3%
工作中
2
开发者 2
等级
(442)
项目
570
37%
仲裁
106
39% / 33%
逾期
17
3%
空闲
3
开发者 3
等级
(10)
项目
6
33%
仲裁
6
0% / 67%
逾期
1
17%
工作中
4
开发者 4
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
5
开发者 5
等级
(550)
项目
637
33%
仲裁
41
41% / 46%
逾期
11
2%
繁忙
6
开发者 6
等级
(511)
项目
549
53%
仲裁
13
69% / 15%
逾期
3
1%
空闲
7
开发者 7
等级
(30)
项目
38
29%
仲裁
1
0% / 100%
逾期
2
5%
工作中
8
开发者 8
等级
(2)
项目
1
0%
仲裁
2
0% / 100%
逾期
0
工作中
9
开发者 9
等级
(69)
项目
79
29%
仲裁
8
13% / 63%
逾期
4
5%
空闲
10
开发者 10
等级
(21)
项目
28
36%
仲裁
7
14% / 71%
逾期
2
7%
空闲
11
开发者 11
等级
(45)
项目
63
52%
仲裁
5
0% / 40%
逾期
1
2%
空闲
相似订单
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

项目信息

预算
30 - 200 USD
截止日期
 1  10 天