Script for close order automatically

MQL5 Script C++

Lavoro terminato

Tempo di esecuzione 2 giorni

Specifiche

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

Con risposta

1
Sviluppatore 1
Valutazioni
(192)
Progetti
232
30%
Arbitraggio
1
100% / 0%
In ritardo
9
4%
Gratuito
2
Sviluppatore 2
Valutazioni
(12)
Progetti
12
25%
Arbitraggio
0
In ritardo
1
8%
Gratuito
3
Sviluppatore 3
Valutazioni
(20)
Progetti
29
55%
Arbitraggio
0
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(430)
Progetti
606
55%
Arbitraggio
48
23% / 56%
In ritardo
178
29%
Gratuito
5
Sviluppatore 5
Valutazioni
(349)
Progetti
463
51%
Arbitraggio
41
24% / 49%
In ritardo
149
32%
Gratuito
6
Sviluppatore 6
Valutazioni
(19)
Progetti
27
19%
Arbitraggio
6
33% / 33%
In ritardo
2
7%
Gratuito
7
Sviluppatore 7
Valutazioni
(34)
Progetti
49
43%
Arbitraggio
3
0% / 33%
In ritardo
14
29%
In elaborazione
8
Sviluppatore 8
Valutazioni
(65)
Progetti
71
30%
Arbitraggio
8
0% / 88%
In ritardo
5
7%
Gratuito
9
Sviluppatore 9
Valutazioni
(5)
Progetti
7
43%
Arbitraggio
4
0% / 75%
In ritardo
3
43%
Gratuito
10
Sviluppatore 10
Valutazioni
(9)
Progetti
8
0%
Arbitraggio
5
0% / 80%
In ritardo
1
13%
In elaborazione
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(41)
Progetti
88
14%
Arbitraggio
30
30% / 53%
In ritardo
36
41%
In elaborazione
13
Sviluppatore 13
Valutazioni
(49)
Progetti
134
27%
Arbitraggio
62
13% / 53%
In ritardo
58
43%
Gratuito
14
Sviluppatore 14
Valutazioni
(54)
Progetti
65
52%
Arbitraggio
5
40% / 60%
In ritardo
22
34%
In elaborazione
15
Sviluppatore 15
Valutazioni
(62)
Progetti
140
46%
Arbitraggio
19
42% / 16%
In ritardo
32
23%
Gratuito
Ordini simili
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
I need a trading bot, My strategy works with the 1hour timeframe .My stop-loss should be put using Atr of the candle multiply by 1.5 then the value will be added or subtracted from my entry depending on if it's a buy or sell and my entry should be a candlestick pattern also in addition to when the 3 Ema corresponds .When the 8Ema is above the 20Ema and they are both above the 100Ema it is a buy and when the 20Ema is
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
My trust wallet was hacked and I have tokens to claim which unlock almost daily but the person who hacked the wallet drains the tokens as soon as I claim them in the hacked wallet. I have contacted the support for that crypto but they were not helpful. There is no way to claim this crypto to another wallet. I need a bot or another solution that can transfer the crypto out of the hacked wallet into my other wallet as
I want to design a website like https://www.ngnrates.com/ we will change some stuff but not much, if you can deliver a website like this let me know your budget and readiness to implement
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the
Hey man Based on the tradingview pinescript strategy I sent to you . I want you to convert the Tradingview script to Metatrader expert advisor as discussed . Kindly bid for it and let proceed with the coding
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards

Informazioni sul progetto

Budget
30 - 40 USD
Per lo sviluppatore
27 - 36 USD