Results 1 to 4 of 4
 0 Attachment(s)    

Thread: Running EA on Several Pairs Concurrently

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    8

    Default Running EA on Several Pairs Concurrently

    Greetings to all!

    I know we can run an EA on several currency pairs concurrently on the same MT4 platform. Is there any limit to the number?

    What cld go worng if we run the EA on too many pairs, say, 10 pairs or 20 pairs, at the same time? Are there anything that we can or need to do to ensure it runs properly without problem?

    What if it runs on 2 MT4 platforms from 2 different brokers but on same PC?

    Thanks to all.

  2. #2

    Default Very Practical Question, here is the answer.

    Quote Originally Posted by abundance View Post
    Greetings to all!

    I know we can run an EA on several currency pairs concurrently on the same MT4 platform. Is there any limit to the number?

    What cld go worng if we run the EA on too many pairs, say, 10 pairs or 20 pairs, at the same time? Are there anything that we can or need to do to ensure it runs properly without problem?

    What if it runs on 2 MT4 platforms from 2 different brokers but on same PC?

    Thanks to all.
    If EA is properly coded, then you can load single MT4 terminal pretty heavily. Run a test demo to see the limit. Check journal and Experts>Logs for errors and busy Trade Context messages. If you see them, then EA isn't properly coded and you have to check it with coder, specializing in this field. Not any coder is qualified. Most commercial and free EAs are not properly coded for live trading and give busy Trading Context errors. Again most coders don't know that and have some bazaar explaining of their own. If they do, call them rookies.
    *****
    You need magic number on anything on same pairs, if different, there is no need.
    *****
    Never set 2 terminals pointing to same account, broker server will shut one of them down.
    *****
    Always keep only one account per MT4 terminal, delete the rest, Never switch between demo and live on the same terminal. It could happen that demo will start managing your live, better avoid it. There were horror stories like that.

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    8

    Default

    Thank you MT7 (you are way ahead; we are still at MT4!).

    My friend and I are test running an EA that we developed. We run it on 6 to 10 pairs of currency on demo account to see how it performs. I don’t think 6 to 10 pairs is “heavy”. The EA has only abt 1,100 lines of code. A perennial error is Error 146: ERR_TRADE_CONTEXT_BUSY
    when the EA places pending orders esp at a certain time when such orders are triggered for all pairs. It happens also when the EA tries to cancel some pending orders.

    We made the EA to retry after a wait of 2 seconds when the error appears. After several tries the pending orders or cancellation wld go through. Is there a better way to fix this error than retrying, or to dodge it if possible?

    Many thanks.

  4. #4

    Default

    Everybody is so eager to code trading ideas and often forget about coding proper execution. without proper execution coding you can't realistically forward test your EA. All you can do is back test. And that's became the stumbling block. It's hard to forward test many EAs and most are unsuitable for live trading.
    ****
    u can play, some sell on E-bay...
    Entertain with press and see the curvy line in Strategy tester.
    ***
    should be more to it.
    ***
    by now coders realized the importance of using magic numbers, but still ignore
    1.order error checking and
    2.Trading context checking.
    **So you need to always add these 3 code components for proper order execution and handling
    Last edited by Metatrader7; 08-07-2009 at 13:15.

Similar Threads

  1. How Cross Currency Pairs Affect Dollar Pairs
    By painofhell in forum Trading discussion
    Replies: 0
    Last Post: 04-24-2015, 12:00
  2. Can Anyone Help for Running the EA
    By mrdotcom in forum Ideas for expert advisors
    Replies: 2
    Last Post: 07-15-2013, 13:51
  3. Running 2 EA's in 1 metatrader
    By italiangoose in forum Scripts and other tools
    Replies: 2
    Last Post: 02-11-2010, 07:11
  4. EA Stops Running
    By abundance in forum MQL programming
    Replies: 1
    Last Post: 09-24-2009, 10:16
  5. Running MT4 in Linux
    By mel8331 in forum Trading discussion
    Replies: 0
    Last Post: 01-12-2009, 23:31

Tags for this Thread

100, brokers, coding, currency pairs, demo, eas, experts, free, limit, live, magic, magic number, mt4, pairs, server, strategy, test, thank you, time, trading

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •