I tested EA ma_cross_advanced.mq4 in ERUUSD H4 and had good results. But he only has good results in EURUSD tried in other timeframes but zeroing the account using the same parameters
It is possible to be a problem in the number of digits of the broker?
I tested EA ma_cross_advanced.mq4 in ERUUSD H4 and had good results. But he only has good results in EURUSD tried in other timeframes but zeroing the account using the same parameters
It is possible to be a problem in the number of digits of the broker?
Regards,
Rogério
Rogério
No, that can not happen because of the broker digits
If it was so, then it would not work on any time frame. Usually EAs perform well on some symbols and/or time frames and that is normal "behavior " for experts
No, that can not happen because of the broker digits
If it was so, then it would not work on any time frame. Usually EAs perform well on some symbols and/or time frames and that is normal "behavior " for experts
Thanks for the quick response.
I did thetestbackin2broker. A4digitsand one with5digits. The resultwith4digitswas much better.
The5digitresetthe accountusing the sameparameters.
I did thetestbackin2broker. A4digitsand one with5digits. The resultwith4digitswas much better.
The5digitresetthe accountusing the sameparameters.
See attached file.
Regards,
Rogério
I tried toadjust thepointwiththe code below. Butunfortunatelythe resultremains the same.
Inbroker5digitshave aloss of almost100%andthe4-digitgainof 86%in 3 monthsusing the sameparametersinEURUSDH4.
I could not understandwhy thisdifference between the twobrokers.
int init() { //---- digits=MarketInfo(Symbol(),MODE_DIGITS);
if (digits==2 || digits==4) PointRatio = 1; if (digits==3 || digits==5) PointRatio = 10; if (digits==6) PointRatio = 100; myPoint = MarketInfo(Symbol(),MODE_POINT) * PointRatio;
int JPY_pair=StringFind(Symbol(),"JPY",0); if(JPY_pair==-1){switch(digits) { case 4:{myPoint=Point;return(myPoint);} case 5:{myPoint=10*Point;return(myPoint);} } } if(JPY_pair==3){myPoint=0.01;return(myPoint);}
int doWhat = _doNothing; double sarUp = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,0,BarToUse); double sarDn = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,1,BarToUse+1);
int doWhat = _doNothing; double sarUp = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,0,BarToUse); double sarDn = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,1,BarToUse+1);
int doWhat = _doNothing; double sarUp = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,0,BarToUse); double sarDn = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,1,BarToUse+1);
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Dear Mladen,
You tested the EA AsctrendBuySellExpert_v1.71 broker 5 digit nmc.mq4?
Url https://www.mql5.com/en/forum/173249/page87
By posts EA is very old and at the beginning was very efficient.
I saw that you did some sort of adjustment in this latest version.
Thank you,
Rogério
Yes, I made it new metatrader 4 compatible
Do you recommend using the indicator PriceChannel_Stop_v1.3 to trailing stop?
Checked version 6 but shows nothing on the graph even though Signal=1.
I am looking for a trailing stop functioning properly.
I saw many in ATR, indicators etc.
Regards,
Rogério
Dear Mladen,
I tested EA ma_cross_advanced.mq4 in ERUUSD H4 and had good results.
But he only has good results in EURUSD tried in other timeframes but zeroing the account using the same parameters
It is possible to be a problem in the number of digits of the broker?
Regards,
Rogério
Dear Mladen,
I tested EA ma_cross_advanced.mq4 in ERUUSD H4 and had good results.
But he only has good results in EURUSD tried in other timeframes but zeroing the account using the same parameters
It is possible to be a problem in the number of digits of the broker?
Regards,
Rogério
Rogério
No, that can not happen because of the broker digits
If it was so, then it would not work on any time frame. Usually EAs perform well on some symbols and/or time frames and that is normal "behavior " for experts
Rogério
No, that can not happen because of the broker digits
If it was so, then it would not work on any time frame. Usually EAs perform well on some symbols and/or time frames and that is normal "behavior " for experts
Thanks for the quick response.
I did the test back in 2 broker.
A 4 digits and one with 5 digits.
The result with 4 digits was much better.
The 5 digit reset the account using the same parameters.
See attached file.
Regards,
Rogério
Thanks for the quick response.
I did the test back in 2 broker.
A 4 digits and one with 5 digits.
The result with 4 digits was much better.
The 5 digit reset the account using the same parameters.
See attached file.
Regards,
Rogério
I tried to adjust the point with the code below.
But unfortunately the result remains the same.
In broker 5 digits have a loss of almost 100% and the 4-digit gain of 86% in 3 months using the same parameters in EURUSD H4.
I could not understand why this difference between the two brokers.
int init()
{
//----
digits=MarketInfo(Symbol(),MODE_DIGITS);
if (digits==2 || digits==4) PointRatio = 1;
if (digits==3 || digits==5) PointRatio = 10;
if (digits==6) PointRatio = 100;
myPoint = MarketInfo(Symbol(),MODE_POINT) * PointRatio;
int JPY_pair=StringFind(Symbol(),"JPY",0);
if(JPY_pair==-1){switch(digits)
{ case 4:{myPoint=Point;return(myPoint);}
case 5:{myPoint=10*Point;return(myPoint);}
}
}
if(JPY_pair==3){myPoint=0.01;return(myPoint);}
//----
return(0);
}
Dear Mladen,
I would like to test their two indicators in an EA.
1 - Parabolic SAR of KAMA.mq4
2 - Macd - std normalized.mq4 1_2 (Filter)
I'm trying the code below is correct?
int doWhat = _doNothing;
double sarUp = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,0,BarToUse);
double sarDn = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,1,BarToUse+1);
double macdUp= iCustom(NULL,0,"Macd - std normalized 1_2 histo","",FastMAPeriod,SlowMAPeriod,SignalPeriod,StdPeriod,Price,Filter,FilterPeriod,ColorChangeOn,0,BarToUse);
double macdDn= iCustom(NULL,0,"Macd - std normalized 1_2 histo","",FastMAPeriod,SlowMAPeriod,SignalPeriod,StdPeriod,Price,Filter,FilterPeriod,ColorChangeOn,1,BarToUse+1);
if (sarUp!=sarDn & macdUp!=macdDn)
if (sarUp==1 & macdUp==1) //buy
doWhat = _doBuy;
else doWhat = _doSell;
if (doWhat==_doNothing && !DisplayInfo) return(0);
Follow EA attached.
Thank you
Rogério
Dear Mladen,
I would like to test their two indicators in an EA.
1 - Parabolic SAR of KAMA.mq4
2 - Macd - std normalized.mq4 1_2 (Filter)
I'm trying the code below is correct?
int doWhat = _doNothing;
double sarUp = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,0,BarToUse);
double sarDn = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,1,BarToUse+1);
double macdUp= iCustom(NULL,0,"Macd - std normalized 1_2 histo","",FastMAPeriod,SlowMAPeriod,SignalPeriod,StdPeriod,Price,Filter,FilterPeriod,ColorChangeOn,0,BarToUse);
double macdDn= iCustom(NULL,0,"Macd - std normalized 1_2 histo","",FastMAPeriod,SlowMAPeriod,SignalPeriod,StdPeriod,Price,Filter,FilterPeriod,ColorChangeOn,1,BarToUse+1);
if (sarUp!=sarDn & macdUp!=macdDn)
if (sarUp==1 & macdUp==1) //buy
doWhat = _doBuy;
else doWhat = _doSell;
if (doWhat==_doNothing && !DisplayInfo) return(0);
Follow EA attached.
Thank you
Rogério
Rogério
Please read this post : https://www.forex-tsd.com/forum/announcements-forex-press/1809030-temporary-workaround-for-source-mq4-files-upload
Dear Mladen,
I would like to test their two indicators in an EA.
1 - Parabolic SAR of KAMA.mq4
2 - Macd - std normalized.mq4 1_2 (Filter)
I'm trying the code below is correct?
int doWhat = _doNothing;
double sarUp = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,0,BarToUse);
double sarDn = iCustom(NULL,0,"Parabolic SAR of KAMA 1_5","",AccStep,AccLimit,AmaPeriod,AmaPrice,FastEnd,SlowEnd,SmoothPower,JurikFDAdaptive,1,BarToUse+1);
double macdUp= iCustom(NULL,0,"Macd - std normalized 1_2 histo","",FastMAPeriod,SlowMAPeriod,SignalPeriod,StdPeriod,Price,Filter,FilterPeriod,ColorChangeOn,0,BarToUse);
double macdDn= iCustom(NULL,0,"Macd - std normalized 1_2 histo","",FastMAPeriod,SlowMAPeriod,SignalPeriod,StdPeriod,Price,Filter,FilterPeriod,ColorChangeOn,1,BarToUse+1);
if (sarUp!=sarDn & macdUp!=macdDn)
if (sarUp==1 & macdUp==1) //buy
doWhat = _doBuy;
else doWhat = _doSell;
if (doWhat==_doNothing && !DisplayInfo) return(0);
Follow EA attached.
Thank you
Rogério
Rogério
It is not correct
First parameter of the "Parabolic SAR of KAMA 1_5" is not a string (you used "") but an integer. The same goes for "Macd - std normalized 1_2 histo",
Rogério
It is not correct
First parameter of the "Parabolic SAR of KAMA 1_5" is not a string (you used "") but an integer. The same goes for "Macd - std normalized 1_2 histo",
Mladen,
I changed the parameter to 0 but unfortunately still does not work.
Do not open any order.
I need a filter to solve the false signals.
Unfortunately it is not possible to post the whole code it exceeds the limit.
Thank you.