Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
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
  #1 (permalink)  
Old 02-26-2008, 03:27 AM
Nicholishen's Avatar
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, 52 views)
File Type: mq4 MACD testlib ea.mq4 (1.5 KB, 44 views)
File Type: mqh MACDSamplemqh.mqh (1.6 KB, 42 views)
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein

Last edited by Nicholishen; 02-26-2008 at 06:15 AM.
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
  #2 (permalink)  
Old 02-26-2008, 10:13 AM
Senior Member
 
Join Date: Dec 2005
Location: Null
Posts: 585
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 & Omega Trading Blog!
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
  #3 (permalink)  
Old 02-26-2008, 01:41 PM
Member
 
Join Date: Sep 2007
Posts: 69
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 02-26-2008, 04:53 PM
Nicholishen's Avatar
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 02-26-2008, 06:33 PM
Nicholishen's Avatar
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 05-18-2009, 09:23 PM
Junior Member
 
Join Date: Aug 2008
Posts: 3
airbeat is on a distinguished road
Trading Multiple EA's at the same time.

Does anyone run different EA's on different brokers MT4 platforms at the same time on the same computer?

I want to do this but am not sure if the mt4 platform will operate two different EA's at the same time. I have tried it but it seems one of the EA's will not run when the other is open.
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
  #7 (permalink)  
Old 05-18-2009, 10:24 PM
Junior Member
 
Join Date: Oct 2006
Location: Lisbon ,PORTUGAL
Posts: 9
Jotaerre is on a distinguished road
Smile diferent EA in diferent platforms

Hi. Yes you can I run 5 diferent EA in one mt4 (alpari) and another 6 in other broker without problem so far.Many pips for those who share.
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
  #8 (permalink)  
Old 05-18-2009, 10:26 PM
Junior Member
 
Join Date: Oct 2006
Location: Lisbon ,PORTUGAL
Posts: 9
Jotaerre is on a distinguished road
Thumbs up I forgot

At the same time at the same computer.
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
  #9 (permalink)  
Old 05-19-2009, 04:22 PM
Junior Member
 
Join Date: Aug 2008
Posts: 3
airbeat is on a distinguished road
Thanks. Thats what I needed to know.
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


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
MT4 Will Not Connect at Work cochran1 Metatrader 4 4 08-02-2007 03:36 AM
Best settings for NonLag Macdi - 15 minutes iscuba11 Indicators - Metatrader 4 2 09-20-2006 04:28 AM
Connect failed [6] TheExponential Questions 18 01-30-2006 04:09 PM
[ASK]10 minutes Chart in MT4 smarttrader General Discussion 4 11-01-2005 06:24 PM


All times are GMT. The time now is 10:07 PM.



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