MT4 EA/Script to automatically close positions based on size

MQL5 专家 脚本

工作已完成

执行时间1 一天
客户反馈
Very Very Happy with Arkadii Zagorulko - quick turn around and EA worked perfectly 1st time.
员工反馈
Thank you very much for job!

指定

Looking for an MT4 EA / Script to do the following;

when a trade is executed above a user definable size it will then close all open positions of that pair that are below a user definable size.

eg:

EA is set to close positions below 0.05 when a new position of over 0.06 is opened

there are 6 X open sell positions on USDJPY at 0.04

a new position is opened at 0.7 

the EA will close the 6 X positions that are 0.04


inputs:

max size of positions to be closed

min size of the position to trigger close

magic number of positions to be closed

magic number of trigger position to trigger close

反馈

1
开发者 1
等级
(620)
项目
680
57%
仲裁
25
16% / 60%
逾期
228
34%
空闲
2
开发者 2
等级
(885)
项目
1410
67%
仲裁
123
32% / 41%
逾期
218
15%
空闲
发布者: 1 代码
3
开发者 3
等级
(392)
项目
545
40%
仲裁
30
57% / 3%
逾期
57
10%
工作中
发布者: 11 代码
4
开发者 4
等级
(251)
项目
400
54%
仲裁
9
67% / 22%
逾期
36
9%
空闲
发布者: 2 代码
5
开发者 5
等级
(89)
项目
137
24%
仲裁
35
9% / 40%
逾期
52
38%
空闲
6
开发者 6
等级
(53)
项目
79
18%
仲裁
13
15% / 54%
逾期
5
6%
空闲
7
开发者 7
等级
(1121)
项目
1808
61%
仲裁
14
64% / 7%
逾期
84
5%
空闲
8
开发者 8
等级
(590)
项目
789
71%
仲裁
9
33% / 33%
逾期
22
3%
空闲
发布者: 8 代码
9
开发者 9
等级
(298)
项目
427
26%
仲裁
18
61% / 33%
逾期
26
6%
空闲
发布者: 8 代码
10
开发者 10
等级
(66)
项目
95
28%
仲裁
20
25% / 55%
逾期
24
25%
空闲
11
开发者 11
等级
(2)
项目
2
0%
仲裁
0
逾期
1
50%
空闲
12
开发者 12
等级
(119)
项目
127
41%
仲裁
3
33% / 67%
逾期
0
空闲
13
开发者 13
等级
(588)
项目
1062
50%
仲裁
39
28% / 41%
逾期
49
5%
工作中
发布者: 1 文章, 8 代码

项目信息

预算
30 - 40 USD
截止日期
 1  5 天