Pause EA script

MQL4 Scripts

Job finished

Execution time 1 minute
Feedback from customer
Really fast, within an hour!

Specification

I need a script that can automatically pause an EA from opening new order: if x% drawdown of account balance or equity has been reached.

If the EA has been paused, print on screen says "EA paused" or give me any indication so i know it is paused.

If drawdown improved, resume the EA automatically.


Setting i can change is:  Drawdown percentage, balance or equity.

Responded

1
Developer 1
Rating
(1121)
Projects
1808
61%
Arbitration
14
64% / 7%
Overdue
84
5%
Free
2
Developer 2
Rating
(229)
Projects
339
49%
Arbitration
21
5% / 33%
Overdue
24
7%
Free
3
Developer 3
Rating
(97)
Projects
121
25%
Arbitration
5
20% / 60%
Overdue
17
14%
Free
4
Developer 4
Rating
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
5
Developer 5
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
6
Developer 6
Rating
(620)
Projects
680
57%
Arbitration
25
16% / 60%
Overdue
228
34%
Free
7
Developer 7
Rating
(65)
Projects
87
39%
Arbitration
3
0% / 33%
Overdue
29
33%
Free

Project information

Budget
30+ USD
Deadline
from 1 to 2 day(s)