Script for close order automatically

MQL5 Sripts C++

Trabajo finalizado

Plazo de ejecución 2 días

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(191)
Proyectos
232
30%
Arbitraje
1
100% / 0%
Caducado
9
4%
Libre
2
Desarrollador 2
Evaluación
(12)
Proyectos
12
25%
Arbitraje
0
Caducado
1
8%
Libre
3
Desarrollador 3
Evaluación
(20)
Proyectos
29
55%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(430)
Proyectos
606
55%
Arbitraje
48
23% / 56%
Caducado
178
29%
Libre
5
Desarrollador 5
Evaluación
(349)
Proyectos
463
51%
Arbitraje
41
24% / 49%
Caducado
149
32%
Libre
6
Desarrollador 6
Evaluación
(19)
Proyectos
27
19%
Arbitraje
6
33% / 33%
Caducado
2
7%
Libre
7
Desarrollador 7
Evaluación
(34)
Proyectos
49
43%
Arbitraje
3
0% / 33%
Caducado
14
29%
Libre
8
Desarrollador 8
Evaluación
(65)
Proyectos
71
30%
Arbitraje
8
0% / 88%
Caducado
5
7%
Libre
9
Desarrollador 9
Evaluación
(5)
Proyectos
7
43%
Arbitraje
4
0% / 75%
Caducado
3
43%
Libre
10
Desarrollador 10
Evaluación
(9)
Proyectos
8
0%
Arbitraje
5
0% / 80%
Caducado
1
13%
Trabaja
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(40)
Proyectos
86
13%
Arbitraje
29
31% / 48%
Caducado
35
41%
Trabajando
13
Desarrollador 13
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
14
Desarrollador 14
Evaluación
(54)
Proyectos
65
52%
Arbitraje
5
40% / 60%
Caducado
22
34%
Trabaja
15
Desarrollador 15
Evaluación
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
Libre
Solicitudes similares
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Firstly Indicator (1) or the first part \\ Draw a red line at the top of the zero candle _ M1 \\ Draw a blue line at the bottom of the zero _ M1 candle \\ Draw a red line at the top of the zero _ M2 candle \\ Draw a blue line at the bottom of the zero _ M2 candle \\ Draw a red line at the top of the zero candle _ M3 \\ Draw a blue line at the bottom of the zero _ M3 candle \\ Draw a red line at the top of the zero
HFT Scalper EA needed 50 - 500 USD
Overview Develop a high-frequency trading scalper EA for Forex markets Goal: exploit small price movements for rapid profits Key Requirements Trading Strategy Scalping strategy: buy/sell quickly to capture small price movements Use technical indicators (e.g., Moving Averages, RSI) to identify trading opportunities Risk Management Set stop-loss and take-profit levels Implement risk-reward ratio (e.g., 1:2) Order
Trend killer 30 - 200 USD
I Will thanks for allowing me to create and that's good for me and u thanks u very muchand I Will make a good job to work and no to scheme people
Hello, developer is requested to work only remotely by anydesk who has rich experience in debugging and generic variables I need to convert my code to mq5 For more information in private, thank you
I am looking to have a specific strategy of mine based off a mean reversion indicator in trading view, developed into a EA on MQL5. An understanding of pine script and MQL5 is mandatory for this project. It is a martingale strategy. I am only using one indicator off of trading view, no more
Please convert the TradingView strategy Pine Script into an MT5 Expert Advisor (EA) auto trader. (Ill provide the pine script) The EA should be based on identifying order blocks and imbalances. Trades should trigger whenever there's a wick candle break in an imbalance area or within an order block area
Please convert the TradingView strategy Pine Script into an MT5 Expert Advisor (EA) auto trader. (I'll provide pine script code) The EA should be based on identifying order blocks and imbalances. Trades should trigger whenever there's a wick candle break in an imbalance area or within an order block area
Nt8 30+ USD
I trade in NT8 and would like to code an Elliott wave measurment tool, which is very easy because I have the major Script for that.We need only to add some aspects into it. If you are interested,if you can do this do well to bid on it
Hey Greetings. Am in need of a developer with experience in Tradingview that have successfully developed a profitable strategy for tradingview . I willing to buy already made profitable strategy for tradingview. If you have one or had develop some . Kindly apply for the job and let discuss about the price and timeline. Thanks

Información sobre el proyecto

Presupuesto
30 - 40 USD
Para el ejecutor
27 - 36 USD