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
等级
(333)
项目
543
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 代码
相似订单
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or

项目信息

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