Script for close order automatically

MQL5 Скрипты C++

Работа завершена

Время выполнения 2 дня

Техническое задание

I trade multiple pairs with a automated signal provided from another platform.


Existing method: when mt4/mt5 receives the buy or sell signal it will execute the order automatically. But it doesn't close the previously running position in the same pair.


Requirement:

Script should work @ each order is executed(buy/sell).

Only one trade will be there per symbol at any point of time. if mt4/mt5 receives a signal it will execute the orders. Now script will check for more than one order in any symbol. If there is more than one order in a symbol the script should close the older order.

For example: if mt4/mt5 receives a sell signal it will be executed automatically. now the script should check for the more than one order condition in that symbol if there is more than one trade (Sell executed now and a buy is running already and its a older order) the script should close older orders and the latest should be active and running.


NOTE: need this script in both mt4 and mt5

Откликнулись

1
Разработчик 1
Оценка
(192)
Проекты
232
30%
Арбитраж
1
100% / 0%
Просрочено
9
4%
Свободен
Опубликовал: 2 примера
2
Разработчик 2
Оценка
(12)
Проекты
12
25%
Арбитраж
0
Просрочено
1
8%
Свободен
3
Разработчик 3
Оценка
(20)
Проекты
29
55%
Арбитраж
0
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(430)
Проекты
606
55%
Арбитраж
48
23% / 56%
Просрочено
176
29%
Свободен
5
Разработчик 5
Оценка
(349)
Проекты
463
51%
Арбитраж
41
24% / 49%
Просрочено
149
32%
Свободен
6
Разработчик 6
Оценка
(19)
Проекты
27
19%
Арбитраж
6
33% / 33%
Просрочено
2
7%
Свободен
7
Разработчик 7
Оценка
(34)
Проекты
51
43%
Арбитраж
5
40% / 20%
Просрочено
14
27%
Свободен
Опубликовал: 2 примера
8
Разработчик 8
Оценка
(65)
Проекты
71
30%
Арбитраж
8
0% / 88%
Просрочено
5
7%
Свободен
9
Разработчик 9
Оценка
(7)
Проекты
10
60%
Арбитраж
4
0% / 75%
Просрочено
3
30%
Свободен
Опубликовал: 74 статьи, 5 примеров
10
Разработчик 10
Оценка
(12)
Проекты
13
23%
Арбитраж
7
0% / 71%
Просрочено
3
23%
Работает
11
Разработчик 11
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(45)
Проекты
91
13%
Арбитраж
34
26% / 59%
Просрочено
37
41%
Свободен
13
Разработчик 13
Оценка
(49)
Проекты
134
27%
Арбитраж
62
13% / 53%
Просрочено
58
43%
Свободен
Опубликовал: 314 статей, 1 пример
14
Разработчик 14
Оценка
(54)
Проекты
65
52%
Арбитраж
5
40% / 60%
Просрочено
22
34%
Работает
15
Разработчик 15
Оценка
(64)
Проекты
144
46%
Арбитраж
20
40% / 20%
Просрочено
32
22%
Свободен
Похожие заказы
Mambo 30+ USD
I need a bot that can trade weltrade synthetic indices that can be consistently making profits if you have one for deriv its also fine a bot that executes and closes trades automat Will be ideal
MT5 Expert Advisor Specification: Asian Liquidity Sweep & M5 FVG Entry ​Project Overview ​Automated Expert Advisor for EUR/USD on MT5. The strategy maps structural liquidity (Fractal Swings) for entry triggers but targets absolute session extremes for Take Profit. It enters on the first opposite M5 Fair Value Gap (FVG) and features a dynamic, user-controlled risk engine. ​1. Timezone & News Filter Requirements ​The
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
Intraday Trade Ninja EA — Complete Logic Structure This document maps the full architecture, execution logic, signal flow, trade management, and safety structure of the Intraday Trade Ninja MT4 Expert Advisor. 1. Core Indicators · ©Price Border (TMA bands) · MA-X Arrows · MA-Y Arrows · LeManSignal · EMA 49 & 89 - Per Candle Color Switching 2. EA Entry Architecture ·
📌 Project Overview: I need a full Smart Trade Management System for MetaTrader 4/5. This is a complete trading ecosystem, not a simple EA. 📌 Core Features: Smart Money Management (risk-based lot calculation) Advanced Trading Toolbox (TradingView-style drawing tools) Central Master Dashboard (risk, filters, account control) Multi-account monitoring (MT4/MT5 synchronization) Real-time monitoring (spread, equity
Hello, i would like to have a ninjatrader indicator. I wanna to have a footprint indicator with delta, imbalances and big trades identifiable. Also I wanna sell it on whop. And it should be fully customisable in NT8
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
I am looking for an experienced MQL5 developer to create a custom technical indicator for MetaTrader 5. The indicator should combine Supertrend logic with Support/Resistance pullback levels to generate high-probability entry signals. 1. Core Logic The indicator must follow a two-step confirmation process: Trend Identification: Use the Supertrend indicator to determine the primary trend. Entry Signal (The

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

Бюджет
30 - 40 USD