Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Lessons
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 12-07-2005, 01: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #12 (permalink)  
Old 12-10-2005, 07: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #13 (permalink)  
Old 12-17-2005, 06: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #14 (permalink)  
Old 12-18-2005, 08: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #15 (permalink)  
Old 12-18-2005, 08:58 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #16 (permalink)  
Old 12-19-2005, 12:07 AM
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #17 (permalink)  
Old 12-20-2005, 05: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #18 (permalink)  
Old 12-20-2005, 12:04 PM
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #19 (permalink)  
Old 12-20-2005, 07:18 PM
Audio's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 139
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #20 (permalink)  
Old 12-27-2005, 10: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
lesson 13, lesson


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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


All times are GMT. The time now is 10:38 AM.



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