MQL4 iATR and iMA (previous indicator's data)

 
Hello friends.

I'm a beginner in mql4 programming, I have a question.
I put in a graph the ATR and next to the MA (Apply to PREVIOUS INDICATOR'S DATA)
and I want to make an EA with the crossing of both
I do not know what data to MA (apply to PREVIOUS INDICATOR'S DATA) uses from ATR to do EA. Thank you
I did the ATR EA and this is OK I know how to do the MA as well is to apply the previous indicator's date that I can not do.


Ola Amigos.

Sou iniciante em programação mql4, tenho uma duvida.

coloquei em um grafico o ATR e junto o MA (Aplicar a PREVIOUS INDICATOR'S DATA)

e eu quero fazer um EA com o cruzamento de ambos 

eu não sei que dados a MA (aplicar a PREVIOUS INDICATOR'S DATA) utiliza do ATR para fazer o EA. Obrigado

Eu fiz o EA do ATR e esta OK eu sei fazer as MA tambem mais é o aplicar a previous indicator's data que eu nao estou conseguindo.

Print

Razão: