Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2007, 03:58 AM
elitecamper's Avatar
Senior Member
 
Join Date: May 2007
Posts: 132
elitecamper is on a distinguished road
EA Question for smarties

Is it possible to make an EA, that at a set time will run the mt4 optimizer and
then update its parameters with a new set of optimized parameters?

Last edited by elitecamper; 07-17-2007 at 04:00 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-17-2007, 04:45 AM
Senior Member
 
Join Date: Nov 2006
Location: Ukraine
Posts: 491
Shinigami is on a distinguished road
Its possible to make an EA that works fine for the last 3 years without change in parameters.
Yeah, its not a scalper.
__________________
MQL4 programming is easy ^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-17-2007, 05:24 AM
elitecamper's Avatar
Senior Member
 
Join Date: May 2007
Posts: 132
elitecamper is on a distinguished road
no its not a scalper i was planning to use the artificial intelligence EA and it has 4 variables but i want to apply the optimization from the last 3 weeks to tomorrow. and i wanted to know if it is possible to make an ea that can run the optimizer and update the parameters? a simple yes, no. would be much apprieciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-17-2007, 05:31 AM
elitecamper's Avatar
Senior Member
 
Join Date: May 2007
Posts: 132
elitecamper is on a distinguished road
in other words is automatic walk-forward optimization a possibility in mt4?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-17-2007, 05:54 AM
elitecamper's Avatar
Senior Member
 
Join Date: May 2007
Posts: 132
elitecamper is on a distinguished road
why do i even bother asking
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-17-2007, 06:15 AM
Senior Member
 
Join Date: Nov 2006
Location: Ukraine
Posts: 491
Shinigami is on a distinguished road
It is possible. But you don't know what is mql4 language, do you?
Lets make it simple - for the EA to run optimization automatically, you should make a car that makes gasoline and uses it to run
In other words its possible but it requires lots of effort.
Besides few that know -how- to do that also know -why- nobody wants to do it.

Want to know why?
__________________
MQL4 programming is easy ^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-17-2007, 06:17 AM
jlpi's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 293
jlpi is an unknown quantity at this point
In my opinion it is not possible without writing a lot of code outside MT4 but maybe it is just because I don't know how to do it.
To have the final word you should ask Metaquotes: in their Forum their technical guys will give you the final answer forum.mql4.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-17-2007, 06:28 AM
elitecamper's Avatar
Senior Member
 
Join Date: May 2007
Posts: 132
elitecamper is on a distinguished road
go ahead dont hold back on me. enlighten me. i think i can program it. it will just take me a wile. i want to test this for my own curious reasons. maybe it wont be profitable but i see something here that many ppl dont. alright.
there is inteiligence in the perceptron algorithm. im just trying to bring it out. even if i cant with all my optimizations its still there i just have to find a way to it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-17-2007, 06:38 AM
elitecamper's Avatar
Senior Member
 
Join Date: May 2007
Posts: 132
elitecamper is on a distinguished road
thank u jlpi for the suggestion. i will ask there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-17-2007, 06:50 AM
Senior Member
 
Join Date: Nov 2006
Location: Ukraine
Posts: 491
Shinigami is on a distinguished road
The problem is not with the code. You don't need external programs to optimize it. You don't need to run optimization wizard either - it can all be done within the EA itself.
Don't run to their forum either - that was discussed numerous times already (how can an MQL4 programmer not know of MQL4.com? ) but no solution was found.
The problem is not with optimization. You can run it manually.
The problem is with the result of the optimization. Or rather with data you use for it.
There are a couple of scenarios you need to optimize to get results:
1. Trending market - high volatility.
2. Ranging market - high volatility.
3. Trending market - low volatility.
4. Ranging market - low volatility.
5. No volatility.
How will you know what will be tomorrow? How will you identify which setting you should use or what period of the past should be used?

The problem is you need optimized settings for one of the scenarios. Not everyday optimization. Its the same as having no stop-loss. You'll be kicked out of the market sooner or later and become a member of 95% who lose.
Its the problem of not knowing what should you expect tomorrow. If you use settings for ranging market - low volatility, you'll end up with loss if tomorrow happens to be trending market - high volatility.

Besides if you optimize a period with different kinds of market conditions you'll end up either with a system that works no matter what the market brings or with a total loser. For scalpers its almost always the second.

Be careful if you are up to it. It would be wiser to find a way to determine market conditions for the near future and wait for a confirmation and then manually set all settings for a specific scenario rather then optimize ranging market with low volatility which lasted 2 last weeks together with trending market of the last week. In this case you'll have a system that is either optimized for ranging market or simply no profitable results.

I hope you get my point. If you have a goal, work for it and don't let anyone stand in your way.
__________________
MQL4 programming is easy ^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT. The time now is 01:30 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.