Hi,
this is about translating a MQL4 code snippet into MQL5.
Please let me know if this is the wrong forum for this question, anyway.
The code line written in MQL4:
I assume this basically can be translated into MQL5 using this construct:
However, even if that was true, I have no idea how the parameters from the MQL4 line correspond to the parameters
in the MQL5 construct.
Do you know how to translate this?
Sven
this is about translating a MQL4 code snippet into MQL5.
Please let me know if this is the wrong forum for this question, anyway.
The code line written in MQL4:
Inserted Code
my_array=iMAOnArray(Num,Bars,s,0,MODE_EMA, i);
I assume this basically can be translated into MQL5 using this construct:
Inserted Code
#include <MovingAverages.mqh> int ExponentialMAOnBuffer(const int rates_total,const int prev_calculated,const int begin, const int period,const double& price[],double& buffer[]);
However, even if that was true, I have no idea how the parameters from the MQL4 line correspond to the parameters
in the MQL5 construct.
Do you know how to translate this?
Sven