fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Multi Currencies with 1 EA

    Questions & Answers
    2
    4
    942
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wapen last edited by

      Hi All,

      An excellent EA creator. The best I have used.

      Is it possible to wright a EA that can trade multiple currencies all at ones?

      Regards
      Wapen

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Well, MT4 cannot backetst multiple currencies by itself. Otherwise you can create and manipulate orders from another currencies, but being under the ticks flow of the current one.

        1 Reply Last reply Reply Quote 0
        • W
          wapen last edited by

          __Well, MT4 cannot backetst multiple currencies by itself. Otherwise you can create and manipulate orders from another currencies, but being under the ticks flow of the current one.[/quote😠sjb199o]

          I do understand that you will not be able to back-test. But to have 1 EA looking at 10 currencies will requite a lot less computer power, compares to 10 EA running.

          wapen

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            I'm not sure about that. Normally the EA receives OnTick (and other) events for the currency where it is added on - when a tick comes for the current currency, OnTick() is executed.

            In theory, if you really want to control all currencies the same way under the same EA, you should have some infinite cycle to detect tick events by all currencies. And this is not impossible, but when you have to work with some currency, all the others will wait. This is called "blocking".

            Actually I don't know what will be the behaviour of such an EA, I never tried this. This is something that I had an idea to make, but it's still only an idea. I guess that if you have multiple EAs they does not wait for each other.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Online Users

            P
            M
            S
            P
            H
            N
            1
            B
            R

            15
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors