Dislikedfunction movingAverage(history: PHistory; history_size: integer; period: integer): double; stdcall;
#import "testlib.dll"
double movingAverage(double& history[][6], int history_size, int period);
#importIgnored
double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)
so the function now look like:
DLL
function movingAverage(history: PHistory; history_size: integer; period: integer: shift:integer): double; stdcall;
MQL
double movingAverage(double& history[][6], int history_size, int period, int shift);
thank in advance