Script for close order automatically

MQL5 Skripte C++

Auftrag beendet

Ausführungszeit 2 Tage

Spezifikation

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

Bewerbungen

1
Entwickler 1
Bewertung
(192)
Projekte
232
30%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
9
4%
Frei
Veröffentlicht: 2 Beispiele
2
Entwickler 2
Bewertung
(12)
Projekte
12
25%
Schlichtung
0
Frist nicht eingehalten
1
8%
Frei
3
Entwickler 3
Bewertung
(20)
Projekte
29
55%
Schlichtung
0
Frist nicht eingehalten
0
Frei
4
Entwickler 4
Bewertung
(430)
Projekte
606
55%
Schlichtung
48
23% / 56%
Frist nicht eingehalten
176
29%
Frei
5
Entwickler 5
Bewertung
(349)
Projekte
463
51%
Schlichtung
41
24% / 49%
Frist nicht eingehalten
149
32%
Frei
6
Entwickler 6
Bewertung
(19)
Projekte
27
19%
Schlichtung
6
33% / 33%
Frist nicht eingehalten
2
7%
Frei
7
Entwickler 7
Bewertung
(34)
Projekte
51
43%
Schlichtung
5
40% / 20%
Frist nicht eingehalten
14
27%
Frei
Veröffentlicht: 2 Beispiele
8
Entwickler 8
Bewertung
(65)
Projekte
71
30%
Schlichtung
8
0% / 88%
Frist nicht eingehalten
5
7%
Frei
9
Entwickler 9
Bewertung
(7)
Projekte
10
60%
Schlichtung
4
0% / 75%
Frist nicht eingehalten
3
30%
Frei
Veröffentlicht: 67 Artikel, 6 Beispiele
10
Entwickler 10
Bewertung
(12)
Projekte
13
23%
Schlichtung
7
0% / 71%
Frist nicht eingehalten
3
23%
Arbeitet
11
Entwickler 11
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(45)
Projekte
91
13%
Schlichtung
34
26% / 59%
Frist nicht eingehalten
37
41%
Frei
13
Entwickler 13
Bewertung
(49)
Projekte
134
27%
Schlichtung
62
13% / 53%
Frist nicht eingehalten
58
43%
Frei
Veröffentlicht: 266 Artikel, 1 Beispiel
14
Entwickler 14
Bewertung
(54)
Projekte
65
52%
Schlichtung
5
40% / 60%
Frist nicht eingehalten
22
34%
Arbeitet
15
Entwickler 15
Bewertung
(64)
Projekte
144
46%
Schlichtung
19
42% / 16%
Frist nicht eingehalten
32
22%
Frei
Ähnliche Aufträge
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Project Overview We are seeking an experienced MetaTrader 5 (MT5) / MQL5 developer to design and build a production-ready Expert Advisor intended for live trading with capital at risk . This is not a hobby, experimental, or retail-grade EA. We are only interested in developers with proven experience delivering robust, well-tested MT5 systems . Project Objective Design and implement a high-quality MT5 Expert Advisor
I want developer who know how to create bot which immediately transfer specific crypto coin deposit to one crypto address to another specific address in just a second,, if you know about this then only comment on this post
Hey bro, can you help with NT8. On a vps, multiple algos and prop account but the strategies keep getting out of sync, going from true to false for no reason….. mid trade it pops errors.The algo codes are locked… other than that it’s open VPs, NT8 and strategy is open You will notice in the strategies xml that there are standard, then 100k and 50k versions…… Also I did version that are in strategy labeled "Apex"
Hello Developers, I need ready made MT5 HFT Gold Scalper. Must pass in backtesting lower DD work with minimum $50 if you have ready made scalper than send file for Demo test and than we Final the deal. Thanks
I would like to create an indicator for my strategy on trading view , my strategy involves a liquidity sweep , wick or candle body closure , this needs to happen inside a higher time frame pd array such as a fair value gap that’s atleast 5m + and there needs to be an inversion fair value gap for my entry , I want the fair value gaps on all time frames so I can see them all on the 1 minute chart but i want the fair
can you help me with making a simple tradingview/script that draws boxes labeling consolidation areas according to my specifications? IF anyone can help with this kindly do well to bid to this so we can discuss more about the project thanka

Projektdetails

Budget
30 - 40 USD