Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Lessons


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
  #11 (permalink)  
Old 12-07-2005, 12:05 AM
Maratha's Avatar
Junior Member
 
Join Date: Dec 2005
Posts: 13
Maratha is on a distinguished road
Different Data

Yes, I've also seen the same problem with EA testing using strategy tester...for the same set-up, each run provides different outcome (sometimes no trades at all!).

This problem increases as you try to test your strategy on older data and also on exotic crosses (non-major pairs). I have posted a question in MetaQuotes forum, but so far no reply.

My current solution is to run the test multiple times (takes more time) and then eye-ball the average statistics to get an idea about how effective your EA is.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 12-10-2005, 06:57 PM
Member
 
Join Date: Dec 2005
Posts: 44
jwhite1319 is on a distinguished road
newbie

Hello everyone, I was just introduced to MT4 this past week and I am so excited to find this series of lessons. I intend to spend the next couple of weeks poring over these lesson plans you have so graciously put together. Thank you so much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 12-17-2005, 05:26 PM
Junior Member
 
Join Date: Dec 2005
Posts: 1
smitht7993 is on a distinguished road
Thumbs up Change short and Long EA

Quote:
Originally Posted by Audio
ok guru but if we reverse the contain of it may be good?
Hi All,

I'm using 8 & 21 EMA. By making the 21 the shortEma and 8 the longEma it works over 70% on the four hour chart.

shortEma = iMA(NULL,0,21,0,MODE_EMA,PRICE_CLOSE,0);
longEma = iMA(NULL,0,8,0,MODE_EMA,PRICE_CLOSE,0);

Best Wishes,
Tom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 12-18-2005, 07:28 PM
Junior Member
 
Join Date: Dec 2005
Posts: 1
moneyquest is on a distinguished road
Tom,

have you checked average win and loss in term of $?

Thanks,

moneyquest
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 12-18-2005, 07:58 PM
Administrator
 
Join Date: Sep 2005
Posts: 15,946
Blog Entries: 64
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
I was reading some trading strategy and they are using 8, 21 and 55 EMA: enter on 8 and 55 EMA crossing and exit on crossing 8 and 21 EMA. They call it Fibo-EMA trading strategy (because of Fibonacci numbers 8, 21 and 55).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 12-18-2005, 11:07 PM
Willis11of12's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 105
Willis11of12 is on a distinguished road
Question Newbie lost!

Hey all,
Has anyone had a problem with their EA looking really good on the graph, but then leveling off around the begining of 2005 and either only going up slowly after that or going down slowly? I seem to have seem this same thing happening on different pairs and with different EAs but almost everytime I see it, it's always right there around Jan 2005! Is the data less complete when going back further than this year and has errors that make it look like it would have done better than it really would have?

Also, I downloaded data from Forexite on the H1 and imported it to my Metatrader 4 and it shows up on the charts, but when I try to test it with any EA it doesn't use the two previous year's data (2001-2002)! Am I doing something wrong? PLease let me know if anyone knows. I have one minute data going back to Jan 3 2001, do I need to import all of that to get it work? Does anyone have any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 12-20-2005, 04:04 AM
Junior Member
 
Join Date: Dec 2005
Location: Portland, Oregon, USA
Posts: 7
mcintyd1 is on a distinguished road
Quote:
Originally Posted by Willis11of12
...Also, I downloaded data from Forexite on the H1 and imported it to my Metatrader 4 and it shows up on the charts, but when I try to test it with any EA it doesn't use the two previous year's data (2001-2002)! Am I doing something wrong? PLease let me know if anyone knows. I have one minute data going back to Jan 3 2001, do I need to import all of that to get it work? Does anyone have any suggestions?
To get the most realistic historical strategy testing, use the one minute data. (I've heard this matches real-time testing to 90% accuracy. If you use only time period longers than a minute, the % accuracy lowers.) Then use the Metatrader script Period_converter to convert the one-minute data into the history for the larger time frames M5, M15, M30, H1, H4, Daily, etc. This is just an overview of the procedure...I've only done this once, and the step-by-step instruction are on another forum, if you care to web search.

As far as losing profitability in your strategy testers starting January, 2005, this could be because
1) the historical data was not all using the same time-frame as you suggest or
2) your currency pair market had a significant change such as changing between a ranging market, a trending market, or a volatile market. Most strategies work best in one type of market.

I am still a novice at Forex and Metatrader, so my remarks come from limited study and experience.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 12-20-2005, 11:04 AM
Willis11of12's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 105
Willis11of12 is on a distinguished road
Thanks Mcintyd1! I hadn't thought about using the period converter. Is doing so a simple process or do you have to know what you are doing to use it? Also, the one minute data I have is in individual days and has all the pairs in the same file, so I have to copy and paste each pair out of each day and put it into a seperate file before I can get it to work properly with Metatrader 4. Does anyone have such files that are ready to be put into Metatrader 4? Thanks in advance! =)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 12-20-2005, 06:18 PM
Audio's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 140
Audio is an unknown quantity at this point
ea

Quote:
Originally Posted by codersguru
Audio,

What do you mean? Do you mean increasing the number of history bars? Or changing the broker?
Yes the histo bar.thanks A
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 12-27-2005, 09:04 PM
Senior Member
 
Join Date: Sep 2005
Location: St Louis, MO, USA
Posts: 176
cardio is an unknown quantity at this point
Databank

Quote:
Originally Posted by Willis11of12
Does anyone have such files that are ready to be put into Metatrader 4? Thanks in advance! =)
Hi Willis

Follow this link
http://www.alpari-idc.com/en/dc/databank.php

Please note that you might have to have patiences and be willing to fool around abit to get the imports to work - I was having problems - but now the imports work perfectly for me.
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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lesson 14 - Your First Expert Advisor (Part 2) codersguru Lessons 12 07-04-2008 09:35 AM
Lesson 16 - Your First Expert Advisor (Part 4) codersguru Lessons 16 10-05-2006 05:42 AM
CCI Expert Advisor rodrigokaus Expert Advisors - Metatrader 4 10 09-29-2006 06:31 PM
Lesson 15 - Your First Expert Advisor (Part 3) codersguru Lessons 5 12-27-2005 10:00 PM


All times are GMT. The time now is 08:21 AM.



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