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
(261)
Projects
326
29%
Arbitration
35
26% / 63%
Overdue
10
3%
Loaded
3
Developer 3
Rating
(107)
Projects
175
25%
Arbitration
23
13% / 78%
Overdue
16
9%
Free
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
(598)
Projects
692
33%
Arbitration
43
47% / 44%
Overdue
12
2%
Loaded
8
Developer 8
Rating
(19)
Projects
27
26%
Arbitration
2
0% / 100%
Overdue
2
7%
Free
9
Developer 9
Rating
(51)
Projects
70
36%
Arbitration
4
25% / 75%
Overdue
1
1%
Working
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
(60)
Projects
82
44%
Arbitration
27
11% / 70%
Overdue
8
10%
Free

Project information

Budget
30+ USD