Features of the mql5 language, subtleties and tricks - page 281

 
 if ((EMA50[i] < EMA50[i+ 1 ] && EMA50[i+ 1 ] < EMA50[i+ 2 ] && EMA50[i+ 2 ] < EMA50[i+ 3 ] && EMA50[i+ 3 ] < EMA50[i+ 4 ])
      &&(EMA90[i] < EMA90[i+ 1 ] && EMA90[i+ 1 ] < EMA90[i+ 2 ] && EMA90[i+ 2 ] < EMA90[i+ 3 ] && && EMA90[i+ 3 ] < EMA90[i+ 4 ])
       &&(EMA90[i] > EMA50[i] && EMA90[i+ 1 ] > EMA50[i+ 1 ] && EMA90[i+ 2 ] > EMA50[i+ 2 ] && EMA90[i+ 3 ] > EMA50[i+ 3 ] && EMA90[i+ 4 ] > EMA50[i+ 4 ]))

Can someone please help me.

The EMA50 and EMA90 indicators have been dropping for a long period of time. How can you programme this more intelligently and add EMA slope?


 
Alexander Piechotta # :

Quelqu'un peut-il m'aider s'il vous plaît ?

Les indicateurs EMA50 et EMA90 sont en baisse depuis longtemps. Comment pouvez-vous programmer cela de manière plus intelligente et ajouter une pente EMA ?


Alexander Piechotta # :

Can someone please help me.

The EMA50 and EMA90 indicators have been dropping for a long period of time. How can you programme this more intelligently and add EMA slope?


The MACD will have a close result without developing anything