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
(191)
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%
Gratuito
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
(40)
Progetti
86
13%
Arbitraggio
29
31% / 48%
In ritardo
35
41%
Caricato
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
I Want a bot that will work for my tradingview strategy and also works perfectly, Kindly reach out to me so I can explain the project more further and get started without any further delay
Looking for EA's that can pass prop firms Only message me if you are serious thank you https://t.me/ marketkillerrr Message me on tele^Gram thanks Or you can msg me here it doesn't matter please do not waste my time... Price is negotiable i can pay up to 30,000$
Hello .I have existing Tradingview strategy that I will like to automate to Mt4 EA based on my specification . I need an expert in the field that have experience in both tradingview and MT4
my style of trade is to manually scale position size up & down from 1 to 100+ micros as the market moves, so the indicator I need has nothing to do with scaling in & out of the position, but I need an indicator that dynamically trails the position P&L, And has a trailing daily max loss that will reject new order entry if triggered. Example is setting a $350 Position auto stop-loss so as I scale in & out of contracts
Hi, i have a simple strategy which has 4 different types of entries based on parabolic sar and moving average that I would like to be coded into an EA. I would also like some inputs for it like news filter, time start and time end, risk % and so on. Will discuss further upon application
Hey there, I need to convert an indicator from ninja to mt4 I will attach the ninjatrader indicator script to be converted into mt4 If you can do this kindly bid and let's discuss about the project Thanks
Hello developers, Thanks in advance for checking my order. I have been creating and trying to mastering this strategies for a long time and finally it's time to automate it. I’m not sure if everything I imagined can be done. I tried my best to explain whats needed for the ea and how it should performance but due my lack of knowledge in programming probably you will have some questions soo feel free to ask.. Only
Looking for a well versed Tradingview and python expert with good reviews to take up this project I have multiple watchlists with 10-50 stocks in each watchlist I have an indicator (pine script ) Plus 2-3 other parameters can we code an indicator or a system in python or wherever , giving alert every 15 mins and scanning for all buy signals every 15 mins ?? any platform .. python / excel / vb/ trading view
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help
Create MT5 deriv EA 30 - 35 USD
Hello . Am in need of a developer that can Create deriv EA .I need to create a Deriv Bot with Martingale 1 min candles 30 martingale plus I can change the amount of martigale with the option of 1 min up or down . Kindly bid and let discuss about the project

Informazioni sul progetto

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