MT5 Script to Close a Percentage of all Positions

MQL5 Scripts

Job finished

Execution time 20 hours
Feedback from customer
Awesome job by Peter.
Feedback from employee
Nice working with you

Specification

I need a script that will close a percentage of all open positions. For example, if the script is set to 40%, then all open positions should close 40% of the current open positions...if all positions have 1 lot open, this script would close .4 lots for each open position and .6 lots for all positions would remain.

There should be an input for the following...

- Percentage to Close All Open Positions

I will also need the source file once finished.

Files:

PNG
Capture.PNG
11.7 Kb

Responded

1
Developer 1
Rating
(209)
Projects
281
46%
Arbitration
27
59% / 37%
Overdue
36
13%
Free
2
Developer 2
Rating
(64)
Projects
68
25%
Arbitration
12
42% / 42%
Overdue
4
6%
Free
3
Developer 3
Rating
(98)
Projects
137
52%
Arbitration
5
40% / 60%
Overdue
0
Free

Project information

Budget
35+ USD