Script for close order automatically

MQL5 Komut dosyaları C++

İş tamamlandı

Tamamlanma süresi: 2 gün

İş Gereklilikleri

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

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(192)
Projeler
232
30%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
9
4%
Serbest
Yayınlandı: 2 kod
2
Geliştirici 2
Derecelendirme
(12)
Projeler
12
25%
Arabuluculuk
0
Süresi dolmuş
1
8%
Serbest
3
Geliştirici 3
Derecelendirme
(20)
Projeler
29
55%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(430)
Projeler
606
55%
Arabuluculuk
48
23% / 56%
Süresi dolmuş
176
29%
Serbest
5
Geliştirici 5
Derecelendirme
(349)
Projeler
463
51%
Arabuluculuk
41
24% / 49%
Süresi dolmuş
149
32%
Serbest
6
Geliştirici 6
Derecelendirme
(19)
Projeler
27
19%
Arabuluculuk
6
33% / 33%
Süresi dolmuş
2
7%
Serbest
7
Geliştirici 7
Derecelendirme
(34)
Projeler
51
43%
Arabuluculuk
5
40% / 20%
Süresi dolmuş
14
27%
Serbest
Yayınlandı: 2 kod
8
Geliştirici 8
Derecelendirme
(65)
Projeler
71
30%
Arabuluculuk
8
0% / 88%
Süresi dolmuş
5
7%
Serbest
9
Geliştirici 9
Derecelendirme
(7)
Projeler
10
60%
Arabuluculuk
4
0% / 75%
Süresi dolmuş
3
30%
Serbest
Yayınlandı: 67 makale, 6 kod
10
Geliştirici 10
Derecelendirme
(12)
Projeler
13
23%
Arabuluculuk
7
0% / 71%
Süresi dolmuş
3
23%
Çalışıyor
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(45)
Projeler
91
13%
Arabuluculuk
34
26% / 59%
Süresi dolmuş
37
41%
Serbest
13
Geliştirici 13
Derecelendirme
(49)
Projeler
134
27%
Arabuluculuk
62
13% / 53%
Süresi dolmuş
58
43%
Serbest
Yayınlandı: 266 makale, 1 kod
14
Geliştirici 14
Derecelendirme
(54)
Projeler
65
52%
Arabuluculuk
5
40% / 60%
Süresi dolmuş
22
34%
Çalışıyor
15
Geliştirici 15
Derecelendirme
(64)
Projeler
144
46%
Arabuluculuk
19
42% / 16%
Süresi dolmuş
32
22%
Serbest
Benzer siparişler
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

Proje bilgisi

Bütçe
30 - 40 USD