Download MetaTrader 5

mq4 ea to mq5 problem

To add comments, please log in or register
NoLifeR
105
NoLifeR  

Hello! I have a problem with ea. I want to translate this code to mq5.

   int beschleunigen = IndicatorCounted();
   if (beschleunigen < 0) return (-1);
   if (beschleunigen > 0) beschleunigen--;
   int korper = Bars - beschleunigen;
   for (int finalint = 0; finalint < korper; finalint++)

Regards!

Liping Wang
3723
Liping Wang  
Migrating from MQL4 to MQL5
Migrating from MQL4 to MQL5
  • 2010.05.17
  • Sergey Pavlov
  • www.mql5.com
This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.
To add comments, please log in or register