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
  #381 (permalink)  
Old 04-16-2008, 01:01 AM
omelette omelette is offline
Senior Member
 
Join Date: Jan 2006
Posts: 1,017
omelette is on a distinguished road
Look again - Tools\History Center...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #382 (permalink)  
Old 04-16-2008, 01:14 AM
jimven's Avatar
jimven jimven is offline
Senior Member
 
Join Date: Mar 2007
Location: Upstate New York
Posts: 117
jimven is on a distinguished road
Thanks. I missed that! Note that the data doesn't come from your broker, but from Metaquotes, and a warning screen comes up that states that it may differ from your broker's data. So backtesting will reflect this difference, as well.
__________________
Success is more perspiration than inspiration . . .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #383 (permalink)  
Old 04-22-2008, 09:31 PM
Lonestar Lonestar is offline
Junior Member
 
Join Date: Feb 2008
Posts: 5
Lonestar is on a distinguished road
Backtesting data

Why is there nine years of 5 min data in the history center and when I backtest with 5 min, it only goes back a couple weeks? Date range is set for the past year and max bars in history is maxed out. How can I access this data for backtesting? Am I missing something?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #384 (permalink)  
Old 04-23-2008, 04:07 AM
Linuxser's Avatar
Linuxser Linuxser is offline
Moderator
 
Join Date: May 2006
Location: Helliconia (Autumn)
Posts: 2,182
Linuxser has disabled reputation
Quote:
Originally Posted by Lonestar View Post
Why is there nine years of 5 min data in the history center and when I backtest with 5 min, it only goes back a couple weeks? Date range is set for the past year and max bars in history is maxed out. How can I access this data for backtesting? Am I missing something?
Sorry to ask but for you Backtest = Strategy stester? or just looking back?

If you are doing manual backtest and you want to see all history in your chart set your max bars in chart too not only max bars in history.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #385 (permalink)  
Old 04-25-2008, 05:53 PM
lolpie lolpie is offline
Member
 
Join Date: Apr 2008
Posts: 30
lolpie is on a distinguished road
Help a newbie - read this thread

I'm new to Forex trading, and I'm confused about these results. If someone could help me out I would REALLY appreciate it.

Backtest on Demo:
I ran a backtest on an EA and the results look good, it only loses one trade at the end. However the drawdown is really high, and I don't know what drawdown means , but people say its bad without explaining

Backtest on Live account:
Because the results looked good, I made the mistake of opening a real account and lost $200 immediately. I then ran a backtest lost $200 there as well. Can someone explain why? All the settings are the exact same in both the demo and live account

My broker is forex.com, I signed up through forexte.com.

Any help would be appreciated

Thanks
Attached Files
File Type: htm StrategyTester_demo.htm (15.2 KB, 36 views)
File Type: htm StrategyTester_real.htm (5.3 KB, 43 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #386 (permalink)  
Old 04-26-2008, 12:48 AM
Linuxser's Avatar
Linuxser Linuxser is offline
Moderator
 
Join Date: May 2006
Location: Helliconia (Autumn)
Posts: 2,182
Linuxser has disabled reputation
Quote:
Originally Posted by lolpie View Post
I'm new to Forex trading, and I'm confused about these results. If someone could help me out I would REALLY appreciate it.

Backtest on Demo:
I ran a backtest on an EA and the results look good, it only loses one trade at the end. However the drawdown is really high, and I don't know what drawdown means , but people say its bad without explaining

Backtest on Live account:
Because the results looked good, I made the mistake of opening a real account and lost $200 immediately. I then ran a backtest lost $200 there as well. Can someone explain why? All the settings are the exact same in both the demo and live account

My broker is forex.com, I signed up through forexte.com.

Any help would be appreciated

Thanks
I've moved you post to this thread. Please take some time to read, there are many answers to your questions.

Backtest if for past data, in the other hand forward test is with coming data (real time).

EAs could have different behaviors within back test and forward text. For forward test it also could have different results between demo and real accounts.

Draw Down: Drawdown (economics - Wikipedia, the free encyclopedia)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #387 (permalink)  
Old 04-27-2008, 09:14 PM
daraknor's Avatar
daraknor daraknor is offline
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Quote:
Originally Posted by lolpie View Post
I'm new to Forex trading, and I'm confused about these results. If someone could help me out I would REALLY appreciate it.

Backtest on Live account:
Because the results looked good, I made the mistake of opening a real account and lost $200 immediately. I then ran a backtest lost $200 there as well. Can someone explain why? All the settings are the exact same in both the demo and live account
A very important thing to keep in mind is that Forex is a game of statistics. Gambling is also a game of statistics, but the casino always wins in the end. In Forex, there is a chance that we can have the odds on our side. Your trade size was too large for your account size. The 0.2 lot trade size means that each pip = $2. A 200 pip StopLoss means each trade can lose up to $400 (200pip * $2). If your broker lets you, start with 0.01 lots if you want to try something out.

Also, backtest, forward test and live $$$ trading will not get you the same results. The backtest guesses what the market did to make those prices, and it isn't very reliable (quality on upper right hand side should be 90%). The forward test is almost the same as live money trading but you have new things like dealing desks, slippage, changes during news, and in some cases different rules for how you can trade.

Turn off money management for your EAs, and run with 0.01 lots. I manually set the lotsize and leave it there for a few weeks. If your money management is too aggressive you can have -$$ with +pips.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #388 (permalink)  
Old 05-09-2008, 03:30 PM
sonyirwana sonyirwana is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
sonyirwana is on a distinguished road
Exclamation Hi Linuxer

Quote:
Originally Posted by Linuxser View Post
I've moved you post to this thread. Please take some time to read, there are many answers to your questions.

Backtest if for past data, in the other hand forward test is with coming data (real time).

EAs could have different behaviors within back test and forward text. For forward test it also could have different results between demo and real accounts.

Draw Down: Drawdown (economics - Wikipedia, the free encyclopedia)
Can you help me or anyone programmer here put the logical manual entry pending stop order become EA (mq4) for backtest data from 2004 - 2008 year ?

I just so confused if i do bacward of data too much manually, and if it's have profitable ( even <= 30% per month or not) i very thank you to you all.

this is entry rule:

Daily Time Frame

Buy Stop on H + 5 previous days
Sell Stop on L - 5 previous day

StopLoss Sell order on H + 3 previous days
StopLoss Buy order on L - 3 previous days

Take Profit 100 pips ( optionally to find optimum target backtest )

Also we reset our Buy (or sell) order which is now going to be just above (or below) the highest high (or lowest low) of the current bar/today for next order daily bar. Now, when one of the orders is filled, Stoploss can move to current day always move till the position(s) not tp or sl on tomorrow.

If one position execute today, example, BUY. next days pending order only open pending Sell Stop at Low - 5 today.

Range H - L previous days must be >= 90 pips

for detail click hereAdvanced system #1 (Midnight setup) | Forex strategies revealed

sorry admin for the link above, i just want some help here..

email : sony.irwana@gmail.com

Last edited by sonyirwana : 05-09-2008 at 03:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #389 (permalink)  
Old 05-09-2008, 04:21 PM
Linuxser's Avatar
Linuxser Linuxser is offline
Moderator
 
Join Date: May 2006
Location: Helliconia (Autumn)
Posts: 2,182
Linuxser has disabled reputation
Quote:
Originally Posted by sonyirwana View Post
Can you help me or anyone programmer here put the logical manual entry pending stop order become EA (mq4) for backtest data from 2004 - 2008 year ?

I just so confused if i do bacward of data too much manually, and if it's have profitable ( even <= 30% per month or not) i very thank you to you all.

this is entry rule:

Daily Time Frame

Buy Stop on H + 5 previous days
Sell Stop on L - 5 previous day

StopLoss Sell order on H + 3 previous days
StopLoss Buy order on L - 3 previous days

Take Profit 100 pips ( optionally to find optimum target backtest )

Also we reset our Buy (or sell) order which is now going to be just above (or below) the highest high (or lowest low) of the current bar/today for next order daily bar. Now, when one of the orders is filled, Stoploss can move to current day always move till the position(s) not tp or sl on tomorrow.

If one position execute today, example, BUY. next days pending order only open pending Sell Stop at Low - 5 today.

Range H - L previous days must be >= 90 pips

for detail click hereAdvanced system #1 (Midnight setup) | Forex strategies revealed

sorry admin for the link above, i just want some help here..

email : sony.irwana@gmail.com
I remember I've asked for something similar back in 2006 but with BB.

I did not write EAs because it's too dangerous for members posting a code coming form a non expert programmer. What if code is wrong and somebody tries it with a real account?

Maybe an EA expert programmer could put hands at work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #390 (permalink)  
Old 05-09-2008, 05:01 PM
JJLL JJLL is offline
Member
 
Join Date: Dec 2005
Posts: 55
JJLL is on a distinguished road
Stand alone backtesting application

Just curious if any uses a stand alone application for back testing?

I'm one of the guys who is using the newer versions of MT4 and the strategy tester, I don't think, is as good as it use to be.

If anyone has, has used or knows of a separate back testing application please post.

Thank You.
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:44 AM.