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 codes
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 code
5
開発者 5
評価
(225)
プロジェクト
285
41%
仲裁
15
13% / 47%
期限切れ
67
24%
6
開発者 6
評価
(118)
プロジェクト
217
49%
仲裁
1
0% / 0%
期限切れ
25
12%
パブリッシュした人: 1 code
類似した注文
1. The general process is: Automated online forex marketing to find potential clients -> Answering potential clients' questions -> Converting them into actual clients -> Opening accounts, depositing funds, and copying trades. 2. Developers could implement an AI Digital Twin/Shadow Agent to answer customer questions, eliminating the need for me to answer customer inquiries. 3. I have a CTA website and I'm manually
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 日