Function to Close all orders where Magic Number = 0

MQL4 Scripts Autre

Tâche terminée

Temps d'exécution 14 heures

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(71)
Projets
156
44%
Arbitrage
22
41% / 14%
En retard
16
10%
Gratuit
Publié : 10 codes
2
Développeur 2
Évaluation
(103)
Projets
205
41%
Arbitrage
17
29% / 71%
En retard
45
22%
Gratuit
3
Développeur 3
Évaluation
(106)
Projets
314
49%
Arbitrage
42
52% / 19%
En retard
22
7%
Gratuit
4
Développeur 4
Évaluation
(333)
Projets
543
66%
Arbitrage
53
21% / 40%
En retard
169
31%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(225)
Projets
285
41%
Arbitrage
15
13% / 47%
En retard
67
24%
Gratuit
6
Développeur 6
Évaluation
(118)
Projets
217
49%
Arbitrage
1
0% / 0%
En retard
25
12%
Gratuit
Publié : 1 code
Commandes similaires
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

Informations sur le projet

Budget
10 - 20 USD
Délais
de 1 à 3 jour(s)