Modification of existing code for Virtual Trailing Stop

Specification


Hi,


Looking for a experienced friendly coder who can fix the attached virtual trailing stop.


The requirements are as follows:


1. Require minimal  modification of the existing code (trailing stop.mq4 attached)

2. Should be able to trail multiple orders of opposite directions at the same time

3. Must be able to filter based on Order ID

4. Ideally the whole code should sit inside void VirtualTrailingStop() in the attached without needing to declare a global variable on init (if possible)

5. The code needs to retain the functionality of the TrailingStartGap parameter

6. The code needs to retain the functionlity of the TrailingStop parameter


Also will require someone willing to annotate what they have done and help me understand the code. I have some understanding of code, but do not want to incorporate anything I do not fully understand, so please only apply if you are willing to answer questions on the output. But will keep questions as minimal as possible.


Thanks


Files:

Responded

1
Developer 1
Rating
5
(12)
Projects
13
69%
Arbitration
0
Overdue
0
Loaded
2
Developer 2
Rating
5
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Working
3
Developer 3
Rating
4.98
(43)
Projects
56
25%
Arbitration
2
0% / 0%
Overdue
0
Free
4
Developer 4
Rating
4.79
(141)
Projects
152
28%
Arbitration
21
24% / 62%
Overdue
30
20%
Loaded
5
Developer 5
Rating
4.97
(61)
Projects
79
33%
Arbitration
6
83% / 17%
Overdue
2
3%
Free
6
Developer 6
Rating
4.85
(258)
Projects
433
27%
Arbitration
62
68% / 15%
Overdue
14
3%
Busy
7
Developer 7
Rating
4.42
(19)
Projects
24
25%
Arbitration
4
50% / 50%
Overdue
5
21%
Free
8
Developer 8
Rating
4.96
(122)
Projects
170
32%
Arbitration
16
31% / 63%
Overdue
31
18%
Free
9
Developer 9
Rating
5
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
4.97
(369)
Projects
566
65%
Arbitration
29
31% / 52%
Overdue
42
7%
Free
11
Developer 11
Rating
4.89
(18)
Projects
24
0%
Arbitration
5
60% / 0%
Overdue
1
4%
Free
12
Developer 12
Rating
5
(6)
Projects
14
29%
Arbitration
4
0% / 25%
Overdue
3
21%
Working
13
Developer 13
Rating
5
(44)
Projects
46
85%
Arbitration
1
100% / 0%
Overdue
1
2%
Working
14
Developer 14
Rating
5
(2)
Projects
5
40%
Arbitration
0
Overdue
0
Working
15
Developer 15
Rating
4.87
(60)
Projects
132
32%
Arbitration
7
14% / 71%
Overdue
35
27%
Free
16
Developer 16
Rating
4.83
(456)
Projects
791
51%
Arbitration
263
60% / 25%
Overdue
142
18%
Working
17
Developer 17
Rating
0
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
30+ USD
For the developer
27 USD
Deadlines
to 10 day(s)