How to compare 2 MAs one of them with negative shift in EA

MQL4 Experts Scripts

Specification

Hi,

 

I need  advise on how to compare to MAs one of them with 0 shift and the second with -10 shift in an EA. whenever I try to do so, it just considers the one that is shifted as zero

 

thanks,

Mohamed

 

Responded

1
Developer 1
Rating
(803)
Projects
1123
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
2
Developer 2
Rating
(617)
Projects
1427
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
3
Developer 3
Rating
(9)
Projects
40
58%
Arbitration
3
33% / 0%
Overdue
14
35%
Free
4
Developer 4
Rating
(64)
Projects
144
46%
Arbitration
19
42% / 16%
Overdue
32
22%
Free

Project information

Budget
10 USD
Deadline
to 3 day(s)