Modifications of existing script in MQL4

MQL4 专家 脚本

指定

I need to create Time Takeprofit for my existing script. The TP should to test certain time closing of trades. There should be a function True/False fot this TP.

Example:

TP format - dd:hh:mm

When is a set 00:01:00, the trade should be closed at 1 hour after opening of each trade.


Next I need to create functions True/False for TP, SL and TP-Candlesticks. 

In the script is possible to set TP and SL for each position Long/Short separately. The TP and SL is a set in points. For each position Long and Short is also possible to set, when the trade should be closed, if the TP or SL is not reached. It means that there is possible to set number of candlesticks, when the trade should be closed. 

Example:

TP candlesticks - 3

When is a set number 3, so it means that trade is closed after three candlesticks, if the TP or SL is not reached during the three candlesticks.


Example of required setting of True/False functions, for the TP and SL:

TP Long - True/False
SL Long - True/False
TP-Candlesticks Long - True/False

TP Short - True/False
SL Short - True/False
TP-Candlesticks Short - True/False


You can to preview setting of the script with description on the screen.

附加的文件:

PNG
screen.png
102.2 Kb
PNG
screen1.png
27.2 Kb

反馈

1
开发者 1
等级
(6)
项目
8
25%
仲裁
2
50% / 0%
逾期
2
25%
空闲
2
开发者 2
等级
(258)
项目
269
29%
仲裁
1
100% / 0%
逾期
3
1%
工作中
发布者: 2 代码
3
开发者 3
等级
(434)
项目
640
53%
仲裁
34
62% / 21%
逾期
6
1%
工作中
4
开发者 4
等级
(58)
项目
78
59%
仲裁
13
38% / 54%
逾期
9
12%
空闲
5
开发者 5
等级
(139)
项目
181
24%
仲裁
23
22% / 39%
逾期
13
7%
空闲
6
开发者 6
等级
(50)
项目
51
8%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
(37)
项目
59
27%
仲裁
26
19% / 54%
逾期
10
17%
工作中
发布者: 1 代码
8
开发者 8
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 9 代码
9
开发者 9
等级
(171)
项目
195
42%
仲裁
13
8% / 54%
逾期
9
5%
空闲
发布者: 3 代码

项目信息

预算
30+ USD