Change the "CloseOrders" function.

MQL4 Experts Forex

Job finished

Execution time 3 minutes

Specification

Hi
I want to change how "CloseWhenOpen_No" works.
if I write 5, all trades close when trades 6 opens.
I want this to happen.
if I write 5. trades 1 closes when trades 6 opens
and there are still 5 trades open.
Thanks, Per.

Files:

Responded

1
Developer 1
Rating
(599)
Projects
932
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Free
2
Developer 2
Rating
(5)
Projects
9
0%
Arbitration
5
20% / 20%
Overdue
1
11%
Free
3
Developer 3
Rating
(879)
Projects
1393
67%
Arbitration
117
32% / 42%
Overdue
215
15%
Working
4
Developer 4
Rating
(13)
Projects
13
15%
Arbitration
9
0% / 78%
Overdue
0
Free
5
Developer 5
Rating
(213)
Projects
246
45%
Arbitration
42
10% / 57%
Overdue
5
2%
Free
6
Developer 6
Rating
(199)
Projects
287
52%
Arbitration
0
Overdue
1
0%
Free
7
Developer 7
Rating
(1134)
Projects
1436
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
8
Developer 8
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
9
Developer 9
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
10
Developer 10
Rating
(514)
Projects
776
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
11
Developer 11
Rating
(21)
Projects
24
17%
Arbitration
15
20% / 40%
Overdue
6
25%
Free
12
Developer 12
Rating
(468)
Projects
703
56%
Arbitration
45
29% / 31%
Overdue
115
16%
Working
13
Developer 13
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
14
Developer 14
Rating
(114)
Projects
154
47%
Arbitration
2
0% / 50%
Overdue
4
3%
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(564)
Projects
933
47%
Arbitration
302
59% / 25%
Overdue
125
13%
Loaded
Similar orders
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Hi Guys, I am looking to someone that can generate an indicator for MT4 as explained below. Basically I would need that the indicator point out the price that will close my position in stop out/margin call. The indicator should pick automatically the level of trade out for the broker (which can be different from a broker to another broker) It should write (ideally on the bottom on the left) the following information
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later
I am looking for an experienced MQL5 developer to help me finalize and optimize an Expert Advisor (EA) for the FTMO challenge. I have already built a significant portion of the code, but it requires further refinement and optimization to ensure it functions according to the trading strategy I intend to use. I am happy to share all the resources, including the current code, reference materials, and detailed
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk

Project information

Budget
30 - 50 USD
VAT (25%): 7.5 - 12.5 USD
Total: 37.5 - 62.5 USD
For the developer
27 - 45 USD
Deadline
from 5 to 20 day(s)