fxDreema

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

    unable to resolve EA Critical Error

    Bug Reports
    2
    7
    1181
    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.
    • J
      jlakins last edited by

      I am getting the following error when running the tester:
      2021.03.25 22:49:42 trial EURUSD,M15: zero divide in 'trial.mq4' (2866,24)

      The 2866 line of code is :
      if (size==EMPTY_VALUE) {size=0;}

      Can anyone help me resolve this.

      M 1 Reply Last reply Reply Quote 0
      • M
        miki @jlakins last edited by

        @jlakins can you share the project?

        J 1 Reply Last reply Reply Quote 0
        • J
          jlakins @miki last edited by

          @miki certainly. Please note I am brand new to robots.!
          0_1619606288643_Screenshot (2).png !
          0_1619606299411_Screenshot (1).png
          0_1619606315684_trial.mq4 .

          Here is the message I am receiving. Tried changing lot sizes and other items with no success. I am calling my broker today as well for more info.

          1 Reply Last reply Reply Quote 0
          • M
            miki last edited by

            @jlakins testing it, i haven't any error. Error in question refers when you use fixed ratio by Ryan Jones in money management, have you used this method in buy now block?

            Ps:sensitive information better hide it.

            J 1 Reply Last reply Reply Quote 0
            • J
              jlakins @miki last edited by

              @miki NO I havent . As stated I have never built or traded with a bot. This will be my first so wanted to use something simple to familiarize myself with EA, strategy tester, ect. Is Ryan Jones written into the code?

              1 Reply Last reply Reply Quote 0
              • J
                jlakins last edited by

                I See the "Ryan Jones" text. This was straight from the platform. I don't know how or what it is exactly.

                M 1 Reply Last reply Reply Quote 0
                • M
                  miki @jlakins last edited by

                  @jlakins I don't know what to tell you, I don't have that error

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

                  Online Users

                  S
                  N
                  S
                  E
                  H
                  E
                  S
                  A
                  T

                  24
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors