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
(191)
Projets
232
30%
Arbitrage
1
100% / 0%
En retard
9
4%
Gratuit
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
178
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
49
43%
Arbitrage
3
0% / 33%
En retard
14
29%
Gratuit
8
Développeur 8
Évaluation
(65)
Projets
71
30%
Arbitrage
8
0% / 88%
En retard
5
7%
Gratuit
9
Développeur 9
Évaluation
(5)
Projets
7
43%
Arbitrage
4
0% / 75%
En retard
3
43%
Gratuit
10
Développeur 10
Évaluation
(9)
Projets
8
0%
Arbitrage
5
0% / 80%
En retard
1
13%
Travail
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(40)
Projets
86
13%
Arbitrage
29
31% / 48%
En retard
35
41%
Chargé
13
Développeur 13
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
14
Développeur 14
Évaluation
(54)
Projets
65
52%
Arbitrage
5
40% / 60%
En retard
22
34%
Travail
15
Développeur 15
Évaluation
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
Commandes similaires
i want close on reserve signal, auto lots, time fiter , TP SL TS ETC. I GET PAID ON THE 12TH, SO I WOULD LIKE A DEMO UNTIL 12/05/24 TO TEST IM WILL TOO PAY 60 USD FOR THE LONG WAIT
I am in search of a skilled MQL5 developer with a proven ability to optimize trading robots across various assets, including synthetic indices like V75, Boom and Crash, gold, US30, US100, and more. I'm looking for an experienced developer to enhance my multi-asset trading EA, which was originally developed exclusively for V75 and is based on the smart money concept. This comprehensive EA, based on an market indicator
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

Informations sur le projet

Budget
30 - 40 USD
Pour le développeur
27 - 36 USD