Script for close order automatically

MQL5 Scripts C++

Tâche terminée

Temps d'exécution 2 jours

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(192)
Projets
232
30%
Arbitrage
1
100% / 0%
En retard
9
4%
Gratuit
Publié : 2 codes
2
Développeur 2
Évaluation
(12)
Projets
12
25%
Arbitrage
0
En retard
1
8%
Gratuit
3
Développeur 3
Évaluation
(20)
Projets
29
55%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(430)
Projets
606
55%
Arbitrage
48
23% / 56%
En retard
176
29%
Gratuit
5
Développeur 5
Évaluation
(349)
Projets
463
51%
Arbitrage
41
24% / 49%
En retard
149
32%
Gratuit
6
Développeur 6
Évaluation
(19)
Projets
27
19%
Arbitrage
6
33% / 33%
En retard
2
7%
Gratuit
7
Développeur 7
Évaluation
(34)
Projets
51
43%
Arbitrage
5
40% / 20%
En retard
14
27%
Gratuit
Publié : 2 codes
8
Développeur 8
Évaluation
(65)
Projets
71
30%
Arbitrage
8
0% / 88%
En retard
5
7%
Gratuit
9
Développeur 9
Évaluation
(7)
Projets
10
60%
Arbitrage
4
0% / 75%
En retard
3
30%
Gratuit
Publié : 74 articles, 5 codes
10
Développeur 10
Évaluation
(12)
Projets
13
23%
Arbitrage
7
0% / 71%
En retard
3
23%
Travail
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(45)
Projets
91
13%
Arbitrage
34
26% / 59%
En retard
37
41%
Gratuit
13
Développeur 13
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
Publié : 313 articles, 1 code
14
Développeur 14
Évaluation
(54)
Projets
65
52%
Arbitrage
5
40% / 60%
En retard
22
34%
Travail
15
Développeur 15
Évaluation
(64)
Projets
144
46%
Arbitrage
20
40% / 20%
En retard
32
22%
Gratuit
Commandes similaires
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
Hello there , I have an paid indicator on ctrader that show swing high lows breakout(Adding Image as reference) . I want some one to build a cbot for this indicator like cbot that can place the buy sell stops at the dotted green and red lines or can be programmed to take market execution one brick close after breakout . Must have sl and tp settings too and market timing too . moreover I will tell in details
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

Informations sur le projet

Budget
30 - 40 USD