Seeking script to close all trades profit figure is achieved

MQL4 脚本

工作已完成

执行时间26 天

指定

Hi, I currently have a scalper EA running, however as I have multiple accounts, it is difficult for me to monitor them all. As such, I'm seeking a script to be created that will close all current open positions when the account reaches $400 profit for the month and turn off auto trading. For example, 1st of March starting balance is $1k....on march 10th the account balance is $1,405, however the running loss is $610, so script will not be triggered. On march 20th, the acount balance is 1800 and on the day, the running loss hits $400: 1800-400=1,400 (1k+400 profit), all trades are closed and auto trading is turned off

反馈

1
开发者 1
等级
(209)
项目
281
46%
仲裁
27
59% / 37%
逾期
36
13%
空闲
2
开发者 2
等级
(374)
项目
480
23%
仲裁
59
54% / 25%
逾期
55
11%
已载入
3
开发者 3
等级
(366)
项目
414
55%
仲裁
12
50% / 42%
逾期
1
0%
空闲
4
开发者 4
等级
(2)
项目
4
0%
仲裁
4
25% / 75%
逾期
1
25%
空闲
5
开发者 5
等级
(568)
项目
641
41%
仲裁
25
48% / 36%
逾期
46
7%
工作中
6
开发者 6
等级
项目
0
0%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
(7)
项目
14
21%
仲裁
1
0% / 100%
逾期
3
21%
空闲
8
开发者 8
等级
(1)
项目
2
0%
仲裁
1
0% / 100%
逾期
0
空闲
9
开发者 9
等级
(248)
项目
310
28%
仲裁
33
27% / 64%
逾期
10
3%
工作中
10
开发者 10
等级
(298)
项目
427
26%
仲裁
18
61% / 33%
逾期
26
6%
空闲
发布者: 8 代码
11
开发者 11
等级
(176)
项目
227
19%
仲裁
20
40% / 20%
逾期
0
繁忙
12
开发者 12
等级
(33)
项目
36
0%
仲裁
2
50% / 0%
逾期
0
空闲
13
开发者 13
等级
(52)
项目
57
60%
仲裁
4
0% / 25%
逾期
1
2%
空闲
14
开发者 14
等级
(7)
项目
12
42%
仲裁
1
0% / 0%
逾期
0
空闲

项目信息

预算
35+ USD