fxDreema

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

    Enum Type Error URGENT

    Bug Reports
    3
    4
    292
    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.
    • K
      kekhumbo last edited by

      Hie,

      Enum Type Error.JPG

      They seem to be a problem with the enum type.

      Note that i initially found the shared link of the attached link project through the forum tab (https://fxdreema.com/shared/yeSPn6oYb). The EA Runs fine but i added the enum variable called test with the values {Here,There,Come}, The EA is able to compile and produce the executable file .ex5 or ex4 files without any errors, but when i load the EA on the chart, the first two declared enum types TYPE and BULLS_SELLS variables are able to produce the desired output on the inputs when loading it to a chart while the last enum called test is not displaying the inputs when i loaded to a chart.

      This problem is the same on MT4 and MT5.

      Below is the shared Link for my project.

      https://fxdreema.com/shared/YfTWd8r8

      Kindly fix the problem with Enum Types on the Charts Input options. Or helo me why the test option is not visible on the inputs when i load the EA to the chart while the other two Enum types are visible.

      1 Reply Last reply Reply Quote 1
      • jstap
        jstap last edited by

        ennum values need to be declared above the condition that's using them, move your 2 ennums to the top of your constants list.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 1
        • K
          kekhumbo last edited by

          Thanks for your urgent response and support, its now working based on your advice @jstap. This is resolved.

          N 1 Reply Last reply Reply Quote 0
          • N
            newloner @kekhumbo last edited by

            @kekhumbo SHARE

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

            Online Users

            N
            S
            T
            A

            19
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors