
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.
ThanksHi 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.
Statements for all the versions of thos Step EA were updated.
Updated statements for these 2 versions.
Please find updated statements for all the versions of this EA.
Updated statements for all the versions of this EA.
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
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.
AlbertI think Igorad may answer. Because he coded this EA.
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.
AlbertHi,
You are right, it's a bug. Please change MomPeriodShort on MomPeriodLong in the first condition.
Thanks,
Igor
Updated statements for all the versions.