Jump to content

How To Optimize an EA


Recommended Posts

Re: [REQ] How To Optimize an EA

 

Hello everyone,

 

Could someone please explain - What does "Optimizing an Expert Advisor on MT4" mean and How to do this optimization?

 

Many thanks in advance for your help!

 

"Optimizing an Expert Advisor on MT4" mean representation of successive passes of the same expert advisor with different inputs on the same data. At that, such parameters can be sorted out at which the expert efficiency will be maximal.

 

:D :D :D

 

HOW TO:

 

http://www.easyexpertforex.com/backtesting-optimization.html

Link to comment
Share on other sites

  • 3 months later...

Re: [REQ] How To Optimize an EA

 

This is a very good thread.. MODS how about making it a sticky...

 

How many times have we seen people throw an EA on a chart and 5 minutes late say it doesnt work.. I am runnin an opti on an EA right now that has already take over an hour.. In the origional EA thread people were saying crap, worthless etc.. But im gettin profits of over 5K in one month so far and the opti aint finished yet.. OHH Im sorry. The opti just finished and the end was a profit of 6600 in 30 days.. Guess maybe that EA wasnt as crappy as the poster thought.. But of course that only just gives us a baseline to start.. And the EA perimenters from the opti are no where near what the default settin is...

Link to comment
Share on other sites

Re: [REQ] How To Optimize an EA

 

With optimization you can get some nice results but when you go live the question is how often do you reoptimize?

I spent some time on automated optimization with metatrader which yields some really interessting results but it is not easy to decide how often, on which time period, for what parameters and with what goal you optimize. Does anybody has some more experience on automated optimizated?

Link to comment
Share on other sites

  • 3 months later...

Re: How To Optimize an EA

 

Now that an EA has been optimized, how should the optimized values for stoploss and takeprofit be treated? Obviously they have worked for the start date through the end date that the optimization was performed. Once the chosen variable parameters are now evaluated to maximize profit, drawdown, etc. There should be comfort in keeping some values such as a moving average period but stoploss and takeprofit appear to be another issue, or should there be any comfort?

 

Should the takeprofit value be reduced by some amount (say 25%) to increase the probability it will get hit? This would be assuming that simulation shows that reducing the SL to the reduced value still shows reasonable profitability.

 

What should be done to the stoploss value? One would think increasing the stoploss may cause bigger losses but decreasing it may also cause trades to be stopped out more often.

 

Should one look at each trade made in the simulation for a given set of parameters and evaluate how it performed? One would suspect this is a good idea to evaluate how much wiggle room the SL and TP have.

 

A parameter such as a moving average period should also be evaluated for sensitivity. Example: 15 period works superior but 14 and 16 fail miserably. Although 15 is the optimal value there is no tolerance. Any value between 20 and 30 works reasonably well even though 25 is worse than 24 or 26. Can it be assumed the system will not perform over time if 15 is chosen? (25 at least allows for the most variance).

 

Questions, questions...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...