Forex
Google

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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

View Poll Results: What Data would help develop your system?
M5 4 44.44%
M15 0 0%
M30 1 11.11%
H1 2 22.22%
H4 0 0%
Other 2 22.22%
Voters: 9. You may not vote on this poll

Reply
 
LinkBack (14) Thread Tools Display Modes
  #121 (permalink)  
Old 10-30-2006, 11:22 PM
patronus patronus is offline
Junior Member
 
Join Date: Oct 2006
Posts: 1
patronus is on a distinguished road
How do I perform back testing using MQ4

I see how do let an EA trade for you but I don't understand how to get historical data and run back tests. Also how do you handle a system that uses multiple period charts for decisions to get in and out? How do you handle that? Any help would be appreciated.

I'm a newb at this but I have some programming experience.

Patronus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #122 (permalink)  
Old 10-31-2006, 01:32 AM
Eaglehawk's Avatar
Eaglehawk Eaglehawk is offline
Senior Member
 
Join Date: Jun 2006
Posts: 141
Eaglehawk is on a distinguished road
Quote:
Originally Posted by patronus
I see how do let an EA trade for you but I don't understand how to get historical data and run back tests. Also how do you handle a system that uses multiple period charts for decisions to get in and out? How do you handle that? Any help would be appreciated.

I'm a newb at this but I have some programming experience.

Patronus
to import the data into mt4 so you can bactest with the strategy tester, follow theese intructions

excuse me ,how can i get more history data of 15 minute in MT4

to use mt4 to backtest, there is a window called the strategy tester, and you can plug in which ea you want to backtest, and set which currency pair and timeframe you want to backtest it over, and how long.

however, there are many downsides to the strategy tester, they are still all over this forem, here's a fe things i've mentioned earlier about only a few of these problems.

Quote:
Originally Posted by Eaglehawk
Quote:
Originally Posted by trohoang
Hi Jozo,

I respectfulling disagree with your view on backtesting. Those who don't learn from history will bound to repeat the same mistakes again.

First of all I am not a programmer but I am a novice trader. I see several price patterns that tend to repeat itself frequently. I want to write a program that would take these trades each time. The purpose of my EA and back testing is to tell me whether my observation in correct i.e. percentage of win, profit to risk and frequency.
YES, BACKTESTING IS IMPORTANT, the problem is, the strategy tester that METATRADER4 created has a multiple number of limitations, they were noted all over the place over the past month. just look for them, mostly in the metatrader4 and expert advisers metrader 4 forums, just know that you are not alone, you're doing nothing wrong, it's just a crappy automated tester. which i why i manually backtest, even though it takes time and patience, it is well worth the effort to get accurate results, (but that's just my oppion).
now to finish your last question, the tester will run which pairs you trade in by which one you select in the tester window, and will run as you will set it, but why you would want to base descision on one currency pair from the results of another is beyond me, as if there is ANY relation, there is very little.
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk
REMEMBER,
"Genius is nothing but a greater aptitude for patience." –Benjamin Franklin

____________________________________

Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!!

http://sufx.core.t3-ism.net/ExpertAdvisorBuilder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #123 (permalink)  
Old 11-01-2006, 06:50 PM
kevmcfoster's Avatar
kevmcfoster kevmcfoster is offline
Senior Member
 
Join Date: Jul 2006
Location: Dubai
Posts: 143
kevmcfoster is on a distinguished road
How to test an EA?

How do we test an EA...
How do we attach it to the charts and how do we check the results?

Plz help

Kevin
__________________
To be the best, you have to beat the rest!!!

It is better to be approximately right than precisely wrong
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #124 (permalink)  
Old 11-01-2006, 07:24 PM
Diam0nd's Avatar
Diam0nd Diam0nd is offline
Senior Member
 
Join Date: Oct 2006
Posts: 235
Diam0nd is on a distinguished road
Quote:
Originally Posted by kevmcfoster
How do we test an EA...
How do we attach it to the charts and how do we check the results?

Plz help

Kevin
If you are using the MetaTrader (refer to my signature) platform there is a Strategy tester function (CTRL+R). There you simply choose the EA you want to test. Choose data type (always use Tick data). Choose the currency pair. Then check other setting you might need (I could explain/ describe them, but Im not sure you need all that + there is always a manual that goes with the platform). And basically that's it. You press start and wait. Also, check the www.mql4.com site. As far as I remember there was an article on testing EAs there.

You do not need to attach EA to anything when testing. For the results check the bookmars you ll see in Strategy tester.

But again, all the above applies only if you use MetaTrader as your platform (which is THE best platform available now).



Hope that helps. Cheers,
Diam0nd.
__________________
- MetaTrader v4.00 Build 216 (16 Apr 2008)
- MetaTrader MultiTerminal v4.00 Build 213 (20 Mar 2008)
- Always use the latest (^ABOVE^) MetaQuotes products, saves a lot of nerves. What's new.
"METAQUOTES FOR LIFE!"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #125 (permalink)  
Old 11-01-2006, 08:13 PM
kevmcfoster's Avatar
kevmcfoster kevmcfoster is offline
Senior Member
 
Join Date: Jul 2006
Location: Dubai
Posts: 143
kevmcfoster is on a distinguished road
Quote:
Originally Posted by Diam0nd
If you are using the MetaTrader (refer to my signature) platform there is a Strategy tester function (CTRL+R). There you simply choose the EA you want to test. Choose data type (always use Tick data). Choose the currency pair. Then check other setting you might need (I could explain/ describe them, but Im not sure you need all that + there is always a manual that goes with the platform). And basically that's it. You press start and wait. Also, check the www.mql4.com site. As far as I remember there was an article on testing EAs there.

You do not need to attach EA to anything when testing. For the results check the bookmars you ll see in Strategy tester.

But again, all the above applies only if you use MetaTrader as your platform (which is THE best platform available now).



Hope that helps. Cheers,
Diam0nd.

Hi Diamond,
Thnx for the info. This is exactly wht i was looking for. Btw I'm using mt4. Can u plz tell me how to use it in live trading then or/and forward test it in a demo.

thnx
Kevin
__________________
To be the best, you have to beat the rest!!!

It is better to be approximately right than precisely wrong
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #126 (permalink)  
Old 11-02-2006, 07:12 AM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,432
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by kevmcfoster
Hi Diamond,
Thnx for the info. This is exactly wht i was looking for. Btw I'm using mt4. Can u plz tell me how to use it in live trading then or/and forward test it in a demo.

thnx
Kevin
Check this Codersguru article. We all used it from the beginning to setup backtesting.

Last edited by newdigital : 11-02-2006 at 07:32 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #127 (permalink)  
Old 11-02-2006, 11:07 AM
Diam0nd's Avatar
Diam0nd Diam0nd is offline
Senior Member
 
Join Date: Oct 2006
Posts: 235
Diam0nd is on a distinguished road
Smile

Quote:
Originally Posted by kevmcfoster
Hi Diamond,
Thnx for the info. This is exactly wht i was looking for. Btw I'm using mt4. Can u plz tell me how to use it in live trading then or/and forward test it in a demo.

thnx
Kevin
Now, first of all, I'd suggest to make sure you have the latest MetaTrader installed (= that you are using the latest MT), which is at the moment is Build 198, dated 19 October (date MAKES a difference!). Secondly, to use an EA in live trading/demo (works the same way, since demo is basically live trading, but not with real money). You open a chart, take an EA and DRAG it onto the chart. Then you'll see a window with EA's properties/options. Change them if you like, if not press OK. That's it basically. Now, to make sure the EA is fine/ works, use this: if everything is OK, you ll see a smiley face at the top right corner of a chart. If its not a smiley but a cross, check the button on the upper panel (its has a 'stop' icon when its disabled and 'play' when its enabled), you need to have that icon as PLAY (= EAs enabled).

Well, that's basically it. Again and again, always check the help that goes with the program. Helps a lot.


Hope that helps,
Diam0nd.

Quote:
Originally Posted by newdigital
Check this Codersguru article. We all used it from the beginning to setup backtesting.
That's not really an article on how to backtest, but on how to backtest with 90+ quality Still, everyone should definately follow it. You too, kevmcfoster
__________________
- MetaTrader v4.00 Build 216 (16 Apr 2008)
- MetaTrader MultiTerminal v4.00 Build 213 (20 Mar 2008)
- Always use the latest (^ABOVE^) MetaQuotes products, saves a lot of nerves. What's new.
"METAQUOTES FOR LIFE!"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #128 (permalink)  
Old 11-05-2006, 05:20 PM
kokas's Avatar
kokas kokas is offline
Senior Member
 
Join Date: Jun 2006
Location: Portugal
Posts: 275
kokas is on a distinguished road
Post 99% Modeling Quality

Maybe you want to take a look at this ...

http://www.cubesteak.net/

I'm trying to setup this system now...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #129 (permalink)  
Old 11-09-2006, 09:50 PM
Prankie Prankie is offline
Junior Member
 
Join Date: Nov 2006
Posts: 23
Prankie is on a distinguished road
Newbie here. :)

Just until recently I got intressted in stock market and started reading heeps of book about technical analysis. By chance I stumbled to this website I started reading about ATS. Which is very intressting, been reading non stop for the last few days and did alot back testing and some forward testing. Since I equally new to both stocks and forex I decided to learn more about forex instead. I have some newbie questions thou that I hope members here can help me with.

1. How I do make a realistic back test? Difference between every tick and control point? Anyhow I never got modelling quality higher than 53%. And people here recommend over 80-90%.

2. Why do I lose alot using every tick but earn alot using control point? (Back testing with EuroX2)

3. Do you have recommendations of quality EA with high probility of profit? (EA that is worth speding time to optimazing and back and forward testing)

Sincerly Kai
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #130 (permalink)  
Old 11-09-2006, 10:02 PM
dragonfyre dragonfyre is offline
Junior Member
 
Join Date: Oct 2006
Posts: 12
dragonfyre is on a distinguished road
I'm pretty much a newbie on forex so I can't answer your questions.

http://www.forex-tsd.com/expert-advi...ew-thread.html

The phoenix EA is doing pretty good.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/1799-backtesting-optimization.html
Posted By For Type Date
FXforum • Téma megtekintése - Hogyan teszteljünk EA-t? This thread Refback 04-14-2008 01:38 PM
ßíÝíÉ ÑÝÚ Çá modeling quality Ýí ÇáãíÊÇ - ãäÊÏíÇÊ ÇáãÊÏÇæá ÇáÚÑÈí This thread Refback 03-27-2008 08:12 PM
ÇÓÊÝÓÇÑ ÈÎÕæÕ ÇáÇßÓÈÑÊÇÊ - ãäÊÏíÇÊ ÇáãÊÏÇæá ÇáÚÑÈí This thread Refback 03-09-2008 07:27 PM
FXforum • Téma megtekintése - Hogyan teszteljünk EA-t? This thread Refback 03-01-2008 09:33 AM
Metatrader Untuk This thread Refback 01-25-2008 12:42 AM
GoldenLine.pl: Dyskusja - czy gracie na systemach realnymi pieniedzmi? Post #111 Refback 12-27-2007 07:47 PM
trading-systematique : Weblog This thread Refback 12-17-2007 07:31 PM
¤ï¤é¤·¤ÙĹ¼Ô¤Ø¤ÎÆ» ¤Á¤ã¤ó¤È¤ä¤Ã¤Æ¤Þ¤¹¤è¡© This thread Refback 11-01-2007 11:56 AM
Forex Expert Advisor EA Indicator MT4 Message Forum OTCSmart This thread Refback 10-29-2007 10:32 AM
Tutorial pour Metatrader (Forex) - Trading Systématique This thread Refback 08-13-2007 11:01 PM
Portal khas untuk EA - Nogold.com This thread Refback 08-07-2007 01:16 PM
ÇÓÊÝÓÇÑ ÈÎÕæÕ ÇáÇßÓÈÑÊÇÊ - ãäÊÏíÇÊ ÇáãÊÏÇæá ÇáÚÑÈí This thread Refback 06-30-2007 08:26 PM
Trading Systématique This thread Refback 06-26-2007 09:21 PM
MT4 Tester jest OK - test porówn.z Amibroker.i Tradestation Post #91 Refback 06-21-2007 02:42 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Phoenix optimization Prankie Phoenix 173 10-17-2007 07:24 AM
Optimization cpu usage, need help Big Joe Indicators - Metatrader 4 4 08-16-2007 10:46 PM
Martingale Optimization pelele79 Expert Advisors - Metatrader 4 19 05-07-2007 10:27 AM
How do I use the optimization? huhenyo Metatrader 4 1 03-15-2007 08:39 AM
Optimization cardio Metatrader 4 1 01-25-2006 12:30 PM


All times are GMT. The time now is 09:34 AM.