have problems compiling an EA, the trouble part is this:
double manow = iMAOnArray(iWPR(NULL,0,WprPeriod,0),maTimeframe,maPeriod,maShift,maMode,maPrice,maBartoTest);
double mapre=iMAOnArray(iWPR(NULL,0,WprPeriod,0),maTimeframe,maPeriod,maShift,maMode,maPrice,maBartoTest+1);
This two lines give me "wrong parameter count" when compiling, but I can't realize where's the mistake, any help will be apreciatte
Regards
double manow = iMAOnArray(iWPR(NULL,0,WprPeriod,0),maTimeframe,maPeriod,maShift,maMode,maPrice,maBartoTest);
double mapre=iMAOnArray(iWPR(NULL,0,WprPeriod,0),maTimeframe,maPeriod,maShift,maMode,maPrice,maBartoTest+1);
This two lines give me "wrong parameter count" when compiling, but I can't realize where's the mistake, any help will be apreciatte
Regards