Need expert can auto close order when new opposite order placed

MQL4 Experts Scripts

Specification

Hi everyone, as i mention in title. I need an ea can auto close orders of a symbol when new opposite order of that symbol placed. Example: i have 3 orders are running: BUY GBPUSD, SELL XAUUSD, SELL BTCUSD. If SELL GBPUSD is placed after that, BUY GBPUSD is immediately closed but SELL XAUUSD, SELL BTCUSD are still running with BUY GBPUSD. When new opposite orders of XAUUSD or BTCUSD received, ea will do similar.

Thank you very much !

Responded

1
Developer 1
Rating
(600)
Projects
935
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Free
2
Developer 2
Rating
(1101)
Projects
1783
61%
Arbitration
14
64% / 7%
Overdue
84
5%
Free
3
Developer 3
Rating
(42)
Projects
47
30%
Arbitration
12
17% / 75%
Overdue
6
13%
Free
4
Developer 4
Rating
(879)
Projects
1394
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Working
5
Developer 5
Rating
(126)
Projects
151
48%
Arbitration
6
83% / 17%
Overdue
2
1%
Free
6
Developer 6
Rating
(40)
Projects
58
22%
Arbitration
10
10% / 70%
Overdue
13
22%
Free
7
Developer 7
Rating
(60)
Projects
79
25%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
8
Developer 8
Rating
(65)
Projects
85
26%
Arbitration
23
22% / 48%
Overdue
24
28%
Working
9
Developer 9
Rating
(252)
Projects
453
34%
Arbitration
57
37% / 37%
Overdue
166
37%
Free
10
Developer 10
Rating
(15)
Projects
17
6%
Arbitration
1
0% / 100%
Overdue
1
6%
Free
11
Developer 11
Rating
(12)
Projects
14
0%
Arbitration
1
100% / 0%
Overdue
1
7%
Free
12
Developer 12
Rating
(54)
Projects
53
17%
Arbitration
7
0% / 100%
Overdue
5
9%
Free
13
Developer 13
Rating
(204)
Projects
302
38%
Arbitration
34
32% / 29%
Overdue
81
27%
Working
14
Developer 14
Rating
(15)
Projects
20
15%
Arbitration
3
0% / 67%
Overdue
2
10%
Free
15
Developer 15
Rating
(568)
Projects
641
41%
Arbitration
22
55% / 32%
Overdue
47
7%
Working
16
Developer 16
Rating
(267)
Projects
542
50%
Arbitration
55
40% / 36%
Overdue
225
42%
Loaded
17
Developer 17
Rating
(48)
Projects
51
43%
Arbitration
1
0% / 0%
Overdue
0
Free
18
Developer 18
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
19
Developer 19
Rating
(67)
Projects
144
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
Similar orders
I want to pull a fib, with set entry price at a certain percentage, with stopploss set at another percentage of the fib. Risk is set in USD. Risk to match stop loss level. TP is set as ratio to stop loss. Calculate no. of contracts. A hot key for buy and one for sell. Illustration: In settings Inputs: Fib% to be displayed Entry level fib% stop loss fib percentage TP ratio Risk in USD or account percentage Operation
FUNCTION 1 When I set max open orders to one it won't close the order. Changed should work as following When max open order is True and set to one it should still be able to close the open order. Finish today within next hour //+------------------------------------------------------------------+ //| Function to count orders | //+------------------------------------------------------------------+
I need help with creating a website traders chatroom, it must show traders online,offline,inactive. the chatroom top section must show four clocks with different times and time scale like this.. the chatroom must have a history data of up to 10days, then longer history must be deleted automatically. if you have better chatroom please say your recommendations
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price

Project information

Budget
30 - 40 USD
For the developer
27 - 36 USD
Deadline
from 2 to 6 day(s)