fxDreema

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

    mql5 not accepting my EA: The amount of open and pending orders has reached the limit set by the broker

    Questions & Answers
    2
    5
    455
    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.
    • refaey
      refaey last edited by

      Hi All,

      The mql5 market is not accepting an EA that I built using fxdreema!

      It's giving me this error: The amount of open and pending orders has reached the limit set by the broker

      Does anyone what that is, and how to fix it, please?

      4ad8f264-a278-4855-8b57-9da37e660c63-image.png

      It takes me to the following page when I click on 'How to fix': https://www.mql5.com/en/articles/2555#account_limit_pending_orders

      I still don't understand what's wrong or how to fix it. The EA successfully passed a 21 years backtest using tickdata on MT4.

      Your help is much appreciated.

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

        I found the solution!

        I copied the function on the mql5 website (https://www.mql5.com/en/articles/2555#account_limit_pending_orders) and added it near the end of the mq4 file

        image.png

        And then updated the only OrderSend call as follows:

        image.png

        Code has now been accepted, and my EA is live in the mql5 market 🙂

        l'andorrà 1 Reply Last reply Reply Quote 1
        • refaey
          refaey last edited by

          Here's the EA by the way: https://www.mql5.com/en/market/product/117073

          MT5 version coming soon 😉

          1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà @refaey last edited by

            @refaey Thank you very much for sharing.

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

            1 Reply Last reply Reply Quote 2
            • refaey
              refaey last edited by

              Now I'm getting this for the MT5 version! 😞

              image.png

              Well, I guess I need to do something similar to the above 🙂

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

              Online Users

              E
              S
              I
              G
              F
              A
              I
              E
              D
              O
              A
              J
              M
              R

              32
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors