Download MetaTrader 5

Experts: MA Cross

To add comments, please log in or register
Find and download Code Base apps via MetaTrader. It is fast!
MetaQuotes Software Corp.
MetaQuotes Software Corp. 2008.12.02 08:03 

MA Cross:

My first EA.

Author: Duke3D

bobby 2008.12.04 17:35  

Thanks for sharing this nice code, here are the best settings.

MQL4 Comments
MQL4 Comments 2009.04.17 03:51  

VERY GOOD CODE. It needs some adjustments. After the cross it opnes 1 or 2 positions. It later opens a few more positions in the same direction which at the end are usually loosers. I CANNOT READ THE COMMENTS ON THE CODE. Can you please fix.

MQL4 Comments
MQL4 Comments 2009.06.22 02:01  

i think this EA is very good than other, just try it

MQL4 Comments
MQL4 Comments 2010.04.06 11:59  

Very Basic and IDEAL, it completes its task well, but as a 'noobie' is anyone able to provide the description to the code in English?
Thankyou in advance and happy trading!!!

TheDC 2010.04.26 05:38  

TheDC highly recommends JPY H1 with MA1_Period = 12, MA2_Period = 44, default for the rest

Backtesting Results:
I use high quality 1 min data from fxdd 90% modeling
I use a different way of testing than most here in the forum
I tested individually on 40 months from DEC06 to MAR10

Initial Deposit: 500$
Percentage of winning months: 68%
Average Net Profit per month [inc. losses by losing months]: 218$
Percentage of months where Balance < 250$ : 15% [6 over 40]

I choose the minimum deposit amount to better assess risk
I test individual months simply because I think that the order of the events/patterns happening during several years renders the testing very specific to one particular sequence
Therefore breaking the sequence and taking months individually increases the sampling quality

And Oh yeah... Brilliant work Duke!
this is my absolute favorite EA ever!

God Bless You Man!

For those of you who prefer the "traditional" way of testing below are the results:

jgray110 2010.11.23 08:01  
Just curious, are yoiu a broker? I tested it on SmartTrade demo EURUSD, EURJpY, EURCHF 1H and several other timefrmaes, I'm very sorry it was dead right out of the bag, I think it needs a cross at Forex Lawn.
MQL4 Comments
MQL4 Comments 2011.11.23 18:34  

I found that it cannot make a good lomg trade?? it must be optimized for each pair. wish I could read comments. when it's goog it very good.


Rasoul Mojtahedzadeh
Rasoul Mojtahedzadeh 2014.03.25 12:01  
A backtest on EUR/USD shows a poor performance.
52444 2014.12.06 19:58  
hello there i am new to the code and cant quite figure out how to add a sl and tp function, could you please add this as i think profit factor could be greatly increased, thanks in advance nice little ea ....rob
bhakti arifianto
bhakti arifianto 2014.12.06 22:20  
have u try it on GJ? :)
To add comments, please log in or register