Script for entering Entering Stop Loss and Take Profit

MQL5 脚本

工作已完成

执行时间23 小时
客户反馈
Excellent coder, good communication, will hire again.
员工反馈
It was nice to work with you!

指定

I need a simple script that will automatically check all the open trades (max 30 open trades) and places a fixed stoploss of 50 pips and a fixed take profit of 75 pips on all of them. Note that these trades can be short and long trades; hence, the code must be able to handle the stop loss and profit accordingly. Please ensure the magic numbers and the comments for each of these open trades are not changed.

反馈

1
开发者 1
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
2
开发者 2
等级
(82)
项目
150
29%
仲裁
9
44% / 11%
逾期
46
31%
空闲
3
开发者 3
等级
(29)
项目
30
57%
仲裁
0
逾期
4
13%
空闲
4
开发者 4
等级
(187)
项目
367
56%
仲裁
45
22% / 56%
逾期
188
51%
空闲
发布者: 1 文章, 6 代码
5
开发者 5
等级
项目
2
0%
仲裁
0
逾期
0
空闲
发布者: 2 代码
6
开发者 6
等级
(12)
项目
17
35%
仲裁
1
0% / 100%
逾期
3
18%
空闲
7
开发者 7
等级
(72)
项目
254
53%
仲裁
17
47% / 41%
逾期
83
33%
工作中
8
开发者 8
等级
(18)
项目
37
43%
仲裁
6
17% / 50%
逾期
17
46%
空闲
9
开发者 9
等级
(1)
项目
3
33%
仲裁
2
0% / 100%
逾期
1
33%
空闲
10
开发者 10
等级
(2)
项目
3
0%
仲裁
4
25% / 75%
逾期
0
空闲
发布者: 1 代码

项目信息

预算
10 - 15 USD
截止日期
5 天