Script for close order automatically

MQL5 脚本 C++

工作已完成

执行时间2 天

指定

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

反馈

1
开发者 1
等级
(192)
项目
232
30%
仲裁
1
100% / 0%
逾期
9
4%
空闲
2
开发者 2
等级
(12)
项目
12
25%
仲裁
0
逾期
1
8%
空闲
3
开发者 3
等级
(20)
项目
29
55%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(430)
项目
606
55%
仲裁
48
23% / 56%
逾期
178
29%
空闲
5
开发者 5
等级
(349)
项目
463
51%
仲裁
41
24% / 49%
逾期
149
32%
空闲
6
开发者 6
等级
(19)
项目
27
19%
仲裁
6
33% / 33%
逾期
2
7%
空闲
7
开发者 7
等级
(34)
项目
50
44%
仲裁
4
25% / 25%
逾期
14
28%
空闲
8
开发者 8
等级
(65)
项目
71
30%
仲裁
8
0% / 88%
逾期
5
7%
空闲
9
开发者 9
等级
(5)
项目
7
43%
仲裁
4
0% / 75%
逾期
3
43%
空闲
10
开发者 10
等级
(9)
项目
8
0%
仲裁
5
0% / 80%
逾期
1
13%
工作中
11
开发者 11
等级
项目
0
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(42)
项目
88
14%
仲裁
31
29% / 55%
逾期
36
41%
工作中
13
开发者 13
等级
(49)
项目
134
27%
仲裁
62
13% / 53%
逾期
58
43%
空闲
14
开发者 14
等级
(54)
项目
65
52%
仲裁
5
40% / 60%
逾期
22
34%
工作中
15
开发者 15
等级
(62)
项目
140
46%
仲裁
19
42% / 16%
逾期
32
23%
空闲
相似订单
Requirement: 1. Convert Pivot source code .mq4 to Sierra Chart mq4 source code is provided .mq4 as attached .mq4 2. upon conversion to add a button code on Sierra chart .cpp to allow display/hide the pivot line in Sierra Chart ---- *no need alert, make it light without any alert, just a button to display/hide pivot line will do :) to continue, pivot font text also no need I"ve mark with red cross to remove see
I have 2 (indicators) I coded and I use on Tradingview I just need converted to use on Ninjatrader i will be looking for great developer to bid for it and for more details
Hello, I'm seeking a freelancer with access to a ready-made server solution for an educational forex project. Requirements: Ability to control or manipulate live or historical trading data. Platform to execute simulated trades with exaggerated outcomes. Tools for real-time trade simulation (white-label or virtual dealer solutions). If you have a suitable server or can help me find one, please reach out with details
hello here am looking for someone that can assist me in removing validation form my demo file and if anyone is interested dm the for more details i will be waiting to get any reply by some on that can assist me with this
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
Hey greetings, It my pleasure to met you . I need a MT4 develop that can develop an EA based on alert . If you are a professional MT4 programmer you can kindly bid for this project and let proceed
Hi I do not know why but my other order have been deleted and it's not me... I do not know what i did wrong, let me explain again. I dont want you to crack a code or decompile. I want to create a scalper EA with the option I do ask. I had somebody built a EA called Drawdown manager for me that I do use to manage risk of any EA that I test and I have the built code. My problem is that I cannot back test this EA Fast
Wavetrend 3D by Jdehorty open source to MT4 and then to .dll format. I do not want simple wavetrend I want the multitime frame one. If you are familiar with c++ or Delphi this is necessary https://www.youtube.com/watch?v=S64LjZVr9jE code python https://github.com/artnaz/wavetrend-3d
You must have knowledge of forex tester. Don't bother unless you do The indicator to convert from trading view to FOREX TESTER 5 -- wave trend 3d by JDEHORTY Please note this is a multi time frame indicator. Im not interested in any other wave trend indicator. It has to be a conversion of this indicator. Forex tester conversion https://www.youtube.com/watch?v=S64LjZVr9jE code python
The requirements for the order of robots XAUUSD and XAGUSD EURUSD forex in the STOP loss TAKE profit signal in this order, you can bring benefits to the changes in the market, that is, when the market changes frequently, it will also help to prevent losses and bring great profits all work to trade high and low python line position

项目信息

预算
30 - 40 USD
开发人员
27 - 36 USD