Thread: The Greed ea
View Single Post
The Greed ea
  #1 (permalink)  
Old 01-02-2008, 10:52 PM
hayseed hayseed is offline
Sophomore
 
Join Date: Nov 2006
Posts: 73
Thanks: 1
Thanked 22 Times in 18 Posts
hayseed is on a distinguished road
Default The Greed ea

this is a stripped down version of my greed ea...... the name is misleading….. rather than make it all, it is trying to evalulate it all….. and evalulate it all in a truly level playing field manner….. many times fellow traders will present us with rules , take oilxpro’s recent hma rules for example….. the rules may be excellent but how do they stack up to other rules we might know of…… better, worse, equal,….. how do drawdowns, payout, number of trades and such compare…… how do we compare the results all of the hundreds of rules with a wide varity of differeing filters applied to each.... the greed ea can do it.........

the reason for the reduced version is that the full version is truely huge and needs computer resources not available to us all…. what would be the point in me presenting an ea that only few could get to load….. even this reduced version will be slow on most computers….. you can of course remove lines of code of no use to you to speed things up…..

rather than use my money management, position size, and trailing stop codes, I’ve used the code version’s we commonly see in other ea’s on the net….. again , this is to lower the computer resource load….

when we toss oilxpro’s rules into greed and run a full test we can see just how things add up and in a test that’s truly fair to all …… numbers 201 to 280 represent oilxpro’s hma rule or at least my version of them….. what I did was to take the rule string

//--------------------------------------------------------------
hma4_1 > hma4_2 &&
hma6_1 > hma6_2 &&
hma8_1 > hma8_2 &&
hma10_1 > hma10_2 &&
hma20_1 > hma20_2 &&
hma40_1 > hma40_2 &&
hma80_1 > hma80_2 &&
hma200_1 > hma200_2 &&
hma420_1 > hma420_2 &&
long
//-------------------------------------------------------------
and reduce them 1 line at a time which turned that 1 rule into 9 …..

so now as an example, we run an optimized test where buy ranges from 1 to 280….. run that on the eurusd for the entire 2007 , long trades only….. the test should reveal many of oilxpro’s hma rules at the top of the profit list….. which to me implies further study of those rules should be considered….. below is my backtest report....

of course we can just run a backtest on a single number and vary the stoploss, profit and such…. but if you try to run a full test on all numbers and vary profit, stop, trailing stop and such, be prepared to have a good machine or plenty of time…..



the periods and/or levels for the indicators for the chart under test are set in the chart settings section….. the settings for the day filters are set under the day filter settings…… and the week settings are under week filter settings……

i’ve removed two thirds of the rules and filters but enough is left to give you a feel of what’s going on ….. h
Attached Files
File Type: mq4 greed fxfisherman version.mq4 (76.9 KB, 113 views)
File Type: htm greed fxfisherman.htm (294.9 KB, 144 views)
Shark EA Ultimate
Actual Profits on Live Account: +975%
Since Jan 2007. View Live Statements.
Reply With Quote
The Following 2 Users Say Thank You to hayseed For This Useful Post:

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast