Forex
Google

Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum FAQ Members List Calendar 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

 
 
LinkBack Thread Tools
 
Old 02-26-2008, 02:27 AM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Lightbulb How to link together multiple EA’s in under 15 minutes!

Step 1: Turn EA in a library file by adding #property library to the start of the file and save it in the library folder.
Step 2: Change the name of the start() to something different.
Step 3: Make sure ALL constants are the same
Step 4: Write an include file to include all the EA libraries you’ve just created.
Step 5: Modify each library to return Signals or Make trades based on your desired criteria.
Step 6: Write master handling EA

Wham bam thank you ma’am
Attached Files
File Type: mq4 MACD Sample lib.mq4 (4.9 KB, 26 views)
File Type: mq4 MACD testlib ea.mq4 (1.5 KB, 22 views)
File Type: mqh MACDSamplemqh.mqh (1.6 KB, 22 views)
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein

Last edited by Nicholishen : 02-26-2008 at 05:15 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 02-26-2008, 09:13 AM
drgoodvibe drgoodvibe is offline
Senior Member
 
Join Date: Dec 2005
Location: Null
Posts: 534
drgoodvibe is on a distinguished road
so now all you need is a Master handling EA that can determine trending vs ranging and turn on or off either EA's depending on the market condition.

haha sorry I was dreaming.. Thanks Nicholishen.
__________________
Metatrader 4 - EA Live and Demo Hosting Solutions http://www.omegasupreme.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 02-26-2008, 12:41 PM
Ronald Raygun Ronald Raygun is offline
Member
 
Join Date: Sep 2007
Posts: 39
Ronald Raygun is on a distinguished road
Interesting solution Nicholishen thank you.

Is there any I can apply that to .ex4 files? Or is that out of the picture?

I only have the .ex4 version of the Swiss Army EA, and I'd like to--in one chart/one EA--add my entry rules.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 02-26-2008, 03:53 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
Quote:
Originally Posted by Ronald Raygun View Post
Interesting solution Nicholishen thank you.

Is there any I can apply that to .ex4 files? Or is that out of the picture?

I only have the .ex4 version of the Swiss Army EA, and I'd like to--in one chart/one EA--add my entry rules.
Not with this method because you will need to modify the code...
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 
Old 02-26-2008, 05:33 PM
Nicholishen's Avatar
Nicholishen Nicholishen is offline
Senior Member
 
Join Date: Dec 2005
Posts: 531
Nicholishen is on a distinguished road
@goodvibe haha I wish too!
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
MT4 Will Not Connect at Work cochran1 Metatrader 4 4 08-02-2007 02:36 AM
Best settings for NonLag Macdi - 15 minutes iscuba11 Indicators - Metatrader 4 2 09-20-2006 03:28 AM
Connect failed [6] TheExponential Questions 18 01-30-2006 03:09 PM
[ASK]10 minutes Chart in MT4 smarttrader General Discussion 4 11-01-2005 05:24 PM


All times are GMT. The time now is 11:07 AM.