StepMAExpert_EAs - page 6

 
maje:
Did some among you test, in real time (not backtesting), the strategy style ema_cross_2, cross of average 10 and 80 in daily.

PS:Excuse my English, mechanical translation.

Thanks

Hi maje,

Actually I've stopped testing Ema Cross because of the time limited!

But I'll resume my work in the Ema Cross ( I love the all kind of Moving Average Expert Advisors which inclulde: MA Cross, MA Channels and MA Breaks).

Please post the EA and I'll forward test it to you!

Thanks for your interest in my EA!

PS: Please post your question about the Ema Cross in this thread:

https://www.mql5.com/en/forum/173468

 

Statements for all the versions were updated.

Files:
stepea.zip  21 kb
 

Statements for all the versions of thos Step EA were updated.

Files:
 

Updated statements for these 2 versions.

Files:
 

Please find updated statements for all the versions of this EA.

 

Updated statements for all the versions of this EA.

Files:
 

StepMAExpertv1.45 - code confusion

I was trying to understand the code of StepMAExpertv1.45 & not sure

whether the following statement is correct in the code:

double line1longexit = line0long;

if (MomPeriodShort == 1 ) prevtrendlong = matrendlong;

....

double line1shortexit = line0short;

if (MomPeriodShort == 1 ) prevtrendshort = matrendshort;

The default setting for MomPeriodShort is same as MonPeriodLong(=1) &

it won't matter. But it seems to me the first if statement was typo error.

It probably meant to be MomPeriodLong ?

Thanks.

Albert

 
awu:
I was trying to understand the code of StepMAExpertv1.45 & not sure

whether the following statement is correct in the code:

double line1longexit = line0long;

if (MomPeriodShort == 1 ) prevtrendlong = matrendlong;

....

double line1shortexit = line0short;

if (MomPeriodShort == 1 ) prevtrendshort = matrendshort;

The default setting for MomPeriodShort is same as MonPeriodLong(=1) &

it won't matter. But it seems to me the first if statement was typo error.

It probably meant to be MomPeriodLong ?

Thanks.

Albert

I think Igorad may answer. Because he coded this EA.

 
awu:
I was trying to understand the code of StepMAExpertv1.45 & not sure

whether the following statement is correct in the code:

double line1longexit = line0long;

if (MomPeriodShort == 1 ) prevtrendlong = matrendlong;

....

double line1shortexit = line0short;

if (MomPeriodShort == 1 ) prevtrendshort = matrendshort;

The default setting for MomPeriodShort is same as MonPeriodLong(=1) &

it won't matter. But it seems to me the first if statement was typo error.

It probably meant to be MomPeriodLong ?

Thanks.

Albert

Hi,

You are right, it's a bug. Please change MomPeriodShort on MomPeriodLong in the first condition.

Thanks,

Igor

 

Updated statements for all the versions.

Files: