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
Оценка
(328)
Проекты
538
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 пример
Похожие заказы
I am trying to use Tradingconnector to link tradingview to mt5 and I have already set everything up, but no signals are being received. I need someone that is familiar with tradingconnector that can help me finalize the set up
Telegram copier 30+ USD
Hello, I am seeking a Telegram copier bot that reads Telegram signal messages and executes the corresponding trades. If you already have an existing, operational tool of this nature, please share the relevant particulars (supported signal formats, execution/confirmation logic, risk controls, and error/failure handling), together with any verifiable performance evidence. I am in a position to proceed promptly should
I have a working MT5 Expert Advisor. I am NOT looking to change the strategy logic. I only need professional optimization and performance improvement. Requirements: • Parameter optimization • Risk adjustment • Max drawdown reduction • Forward testing report • Optimization for Gold (XAUUSD) Please provide previous optimization reports
RED DEVIL AI 30+ USD
50 EMA > 200 EMA → Uptrend confirmed Price pulls back to touch or cross below 50 EMA RSI > 50 ATR(14) > 20-period ATR average (volatility expanding) Current candle closes bullish ➡ Enter BUY at candle close50 EMA < 200 EMA → Downtrend Price pulls back to touch or cross above 50 EMA RSI < 50 ATR filter confirms volatility Current candle closes bearish ➡ Enter SELL at candle closeATR(14) Take Profit: 2.5 × ATR(14) This
Overview: I need a robust MQL5 Expert Advisor (Trade Manager) designed to manage trades initiated by external signals (TradingView via Webhook). The EA will not look for entries itself but will "take over" any trade opened with a specific Magic Number. Core Functionality: Magic Number Management: Monitor and manage all trades with Magic Number: xxxx . Grid/Martingale Logic: Initial Lot: xxxx (User-definable)
Good day to you, I am looking for someone who can convert the actual LuxAlgo smart money concepts indicator from pine script to mql5 and give me the source code what works the same as original indicator
​ Description: I am looking for a professional MQL4 developer/quant trader with a proven track record in EA optimization. This project involves optimizing a third-party EA that currently has a 2-year live track record. ​ The Task: ​ In-Sample Optimization: Optimize the EA parameters using historical data prior to January 1, 2024. ​ Out-of-Sample (Walk-Forward): Validate the optimized settings against the period of

Информация о проекте

Бюджет
10 - 20 USD
Сроки выполнения
от 1 до 3 дн.