fxDreema

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

    Compilation Error: undeclared identifier

    Bug Reports
    2
    6
    1567
    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.
    • D
      debo_adeleke last edited by debo_adeleke

      Hello All,
      I am building an EA on MT5, i just finished and i tried compiling it and i get the error message "Compilation errors: x2 - undeclared identifier".
      I am not using any custom indicator as i only used RSI in my strategy.
      In addition, i just subscribed to the 3 months plan...
      Also as a means of troubleshoot, I tried compiling a strategy with below 10 blocks and it compiled successfully, but the EA strategy that had more than 10 condition blocks was not compiled and i kept experiencing the same compilation problem.
      I will be grateful for any help anybody can offer me as i am new here.
      Please see screenshot of the error msg below
      Thank you in advance!
      Error Screenshot 2024-10-01 180311.png

      1 Reply Last reply Reply Quote 0
      • A
        ambrogio last edited by ambrogio

        It doesn't seem like a bug, it's likely that you didn't declare some variable or constant correctly
        In case you want to multiply something the right way is *2

        D A 2 Replies Last reply Reply Quote 0
        • D
          debo_adeleke @ambrogio last edited by

          @ambrogio Thank you soo very much for the response.
          I have been trying to check all through the code and i didnt see anywhere where i made the mistake.
          But one thing that i noticed is that, I just subscribed for the 3 months plan and all the EAs that i created that are over 10 conditions, didnt compile and had that error message but the ones that had 10 conditions and below, complied successfully.

          If its not too much of a bother, can you kindly help me check it please
          Here is the shared link
          https://fxdreema.com/shared/SUUQxxtte

          I look forward to hearing back from you

          1 Reply Last reply Reply Quote 0
          • A
            ambrogio @ambrogio last edited by

            @ambrogio said in Compilation Error: undeclared identifier:

            It doesn't seem like a bug, it's likely that you didn't declare some variable or constant correctly
            In case you want to multiply something the right way is *2

            Immagine 2024-10-02 101550.jpg

            D 1 Reply Last reply Reply Quote 1
            • D
              debo_adeleke @ambrogio last edited by

              @ambrogio Thank you soo very much for this.
              I will check it and revert back to you soonest.
              I am truly grateful.

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @debo_adeleke last edited by

                @debo_adeleke 👍

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

                Online Users

                K
                A
                D
                S
                G

                13
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors