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

MQL4 전문가 스크립트

명시

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

 

응답함

1
개발자 1
등급
(803)
프로젝트
1123
43%
중재
47
49% / 23%
기한 초과
84
7%
무료
2
개발자 2
등급
(617)
프로젝트
1427
59%
중재
31
81% / 0%
기한 초과
10
1%
무료
3
개발자 3
등급
(9)
프로젝트
40
58%
중재
3
33% / 0%
기한 초과
14
35%
무료
4
개발자 4
등급
(64)
프로젝트
144
46%
중재
19
42% / 16%
기한 초과
32
22%
무료

프로젝트 정보

예산
10 USD
기한
 3 일