Script for close order automatically

MQL5 Scripts C++

Trabalho concluído

Tempo de execução 2 dias

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(192)
Projetos
232
30%
Arbitragem
1
100% / 0%
Expirado
9
4%
Livre
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(12)
Projetos
12
25%
Arbitragem
0
Expirado
1
8%
Livre
3
Desenvolvedor 3
Classificação
(20)
Projetos
29
55%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(430)
Projetos
606
55%
Arbitragem
48
23% / 56%
Expirado
176
29%
Livre
5
Desenvolvedor 5
Classificação
(349)
Projetos
463
51%
Arbitragem
41
24% / 49%
Expirado
149
32%
Livre
6
Desenvolvedor 6
Classificação
(19)
Projetos
27
19%
Arbitragem
6
33% / 33%
Expirado
2
7%
Livre
7
Desenvolvedor 7
Classificação
(34)
Projetos
51
43%
Arbitragem
5
40% / 20%
Expirado
14
27%
Livre
Publicou: 2 códigos
8
Desenvolvedor 8
Classificação
(65)
Projetos
71
30%
Arbitragem
8
0% / 88%
Expirado
5
7%
Livre
9
Desenvolvedor 9
Classificação
(7)
Projetos
10
60%
Arbitragem
4
0% / 75%
Expirado
3
30%
Livre
Publicou: 74 artigos, 5 códigos
10
Desenvolvedor 10
Classificação
(12)
Projetos
13
23%
Arbitragem
7
0% / 71%
Expirado
3
23%
Trabalhando
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(45)
Projetos
91
13%
Arbitragem
34
26% / 59%
Expirado
37
41%
Livre
13
Desenvolvedor 13
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
Publicou: 313 artigos, 1 código
14
Desenvolvedor 14
Classificação
(54)
Projetos
65
52%
Arbitragem
5
40% / 60%
Expirado
22
34%
Trabalhando
15
Desenvolvedor 15
Classificação
(64)
Projetos
144
46%
Arbitragem
20
40% / 20%
Expirado
32
22%
Livre
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
30 - 40 USD