Max spread script to disable/ enable trading

MQL4 Scripts

Job finished

Execution time 1 hour
Feedback from employee
Thank you for your order! Great customer! Hope for further cooperation!
Feedback from customer
Very happy with this developer. They worked very quickly and the product worked first time. All good.

Specification

I have old robots I want to use, but they do not have a max spread filter. So I need a script to disable auto trading when the spread goes past the max spread setting. Then re-enable auto trading when the spread goes back below the max setting. Is this possible? 

Responded

1
Developer 1
Rating
(28)
Projects
38
32%
Arbitration
3
100% / 0%
Overdue
7
18%
Working
2
Developer 2
Rating
(274)
Projects
346
29%
Arbitration
36
28% / 64%
Overdue
10
3%
Working
3
Developer 3
Rating
(109)
Projects
181
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Working
4
Developer 4
Rating
(75)
Projects
80
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
5
Developer 5
Rating
(279)
Projects
341
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Published: 5 codes
6
Developer 6
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
7
Developer 7
Rating
(613)
Projects
716
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Loaded
8
Developer 8
Rating
(19)
Projects
27
26%
Arbitration
2
0% / 100%
Overdue
2
7%
Free
9
Developer 9
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
10
Developer 10
Rating
(273)
Projects
396
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Free
11
Developer 11
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(61)
Projects
83
45%
Arbitration
27
11% / 70%
Overdue
8
10%
Free

Project information

Budget
30+ USD