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: 76 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: 335 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
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
Access and confidentiality restrictions: You will receive only a separately named copy of the Commander . Existing trading EAs, presets, account credentials, Telegram credentials and proprietary entry/exit code will not be shared. The Commander intelligence must be developed using: Defined signal/input interfaces Anonymized historical logs and replay data Mock EA signals and test harnesses Documented authority and
We are looking for an expert algorithmic trading developer to build a high-performance, fully automated Custom Expert Advisor (EA) or trading bot. The bot must integrate advanced Smart Money Concepts (SMC) , Inner Circle Trader (ICT) methodologies, and Volume Spread Analysis (VSA) with a high-frequency trading (HFT) style execution and scaling model. The core objective is to program a bot that identifies
Automatic buy and sell entries. stoploss (sl) take profit (tp) risk management and adjustable lot size. Adjustable risk percentage per trade. Trailing stop maximum number of open trades. Trading hours filter. Ability to backtest and optimize the strategy. Easy to use settings. The EA should work reliably on mt5 and provide the source code. I want the developer to test the EA and provide backtest results before
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously

Informações sobre o projeto

Orçamento
30 - 40 USD