Develop a basic EA or script that close all opened position when a given EMA is touched

MQL4 Experts

Specification

Hi, i'm david, i just wanted to have a simple Script or EA that can close all opened position when an EMA is reached. That all like a trailing stop. 

The EA will be launched and run 24/24h since i will open the tarde manually. 

Responded

1
Developer 1
Rating
(30)
Projects
55
22%
Arbitration
12
67% / 8%
Overdue
2
4%
Free
2
Developer 2
Rating
(144)
Projects
219
32%
Arbitration
16
44% / 25%
Overdue
0
Free
3
Developer 3
Rating
(39)
Projects
65
34%
Arbitration
4
25% / 50%
Overdue
9
14%
Working
4
Developer 4
Rating
(535)
Projects
613
34%
Arbitration
33
39% / 45%
Overdue
9
1%
Busy
5
Developer 5
Rating
(284)
Projects
459
39%
Arbitration
95
43% / 18%
Overdue
73
16%
Working
Published: 2 codes
6
Developer 6
Rating
(120)
Projects
159
49%
Arbitration
15
53% / 27%
Overdue
4
3%
Free

Project information

Budget
30+ USD
VAT (20%): 6 USD
Total: 36 USD
For the developer
27 USD