Function to Close all orders where Magic Number = 0

MQL4 脚本 其它

工作已完成

执行时间14 小时

指定

I need the FOR/LOOP portion only  that will iterate through all  OPEN and PENDING (buy and sell) orders that automatically close any of these orders where the MagicNumber = 0.

I'll be integrating this into some other scripts that I already have so I only need this Loop functionality and nothing else.  You can build it as a Void function.


Pretty basic and simple.

thank you

Devon

反馈

1
开发者 1
等级
(71)
项目
156
44%
仲裁
22
41% / 14%
逾期
16
10%
空闲
发布者: 10 代码
2
开发者 2
等级
(103)
项目
205
41%
仲裁
17
29% / 71%
逾期
45
22%
空闲
3
开发者 3
等级
(106)
项目
314
49%
仲裁
42
52% / 19%
逾期
22
7%
空闲
4
开发者 4
等级
(330)
项目
540
66%
仲裁
53
21% / 40%
逾期
169
31%
空闲
发布者: 1 代码
5
开发者 5
等级
(225)
项目
285
41%
仲裁
15
13% / 47%
逾期
67
24%
空闲
6
开发者 6
等级
(118)
项目
217
49%
仲裁
1
0% / 0%
逾期
25
12%
空闲
发布者: 1 代码

项目信息

预算
10 - 20 USD
截止日期
 1  3 天