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

MQL4 Experts Scripts

Spécifications

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

 

Répondu

1
Développeur 1
Évaluation
(804)
Projets
1124
43%
Arbitrage
47
49% / 23%
En retard
84
7%
Gratuit
2
Développeur 2
Évaluation
(618)
Projets
1428
59%
Arbitrage
31
81% / 0%
En retard
10
1%
Gratuit
3
Développeur 3
Évaluation
(9)
Projets
40
58%
Arbitrage
3
33% / 0%
En retard
14
35%
Gratuit
4
Développeur 4
Évaluation
(64)
Projets
144
46%
Arbitrage
20
40% / 15%
En retard
32
22%
Travail

Informations sur le projet

Budget
10 USD
Délais
à 3 jour(s)