fxDreema

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

    Compilation errors: enumerator identifier already defined

    Bug Reports
    4
    8
    665
    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.
    • T
      tmk1000 last edited by

      Hi everyone,

      I'm experiencing a persistent issue with compilation errors in fxdreema, specifically related to enumeration identifiers. I've encountered this problem before and usually managed it by switching to a different indicator, ensuring only one with enumerations is used in the entire project. However, now I need to use multiple indicators with enumerations and can't find a workaround.

      I simplified the logic to isolate the problem and experimented with various solutions, but nothing has worked so far: https://fxdreema.com/shared/45lPJsgWb
      I searched the forum and found only one relevant topic: https://fxdreema.com/forum/topic/8484/compilation-errors-enumerator-identifier-already-defined?_=1721670606308

      I followed the instructions provided by @trader-philipps, but the error persists.

      Here’s what I’ve done:

      Deleted the indicator from fxdreema's custom indicators list.
      Re-added the indicator.
      Cleared all enumerations as instructed.
      Clicked "update"
      Then I go back to the project and re-selected the indicator before downloading the .ex4 file.

      Despite these steps, the same compilation error appears. It seems as if the system retains the data of the deleted indicator. sometimes I don't remember how but when playing around with it, I get the "undeclare identify error"

      Is there a known fix for this situation? From what I understand, the issue arises because enumerations can't be defined twice, yet these enumerations should be isolated to each specific indicator, not the entire project.

      Is there a way to force the system to recognize that these enumerations are unique to each indicator? Alternatively, is there a method to link all indicators requiring enumerations to a particular database to avoid this conflict?

      I appreciate any help or insights. Thanks in advance!

      84c80cb1-f965-47ce-b755-e6a817936df7-image.png

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

        Not sure if there a known fix for this situation but this might help: Previously with indicator problems I have seen data is remembered somewhere in the background, to fix this I changed the indicator name (by only adding one letter) I then added it to FX as a new custom indicator ensuring I used all the correct settings.

        The new version was installed and worked without errors.

        I hope this fixes your issues, let us know what happens.

        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! 😊

        S 1 Reply Last reply Reply Quote 1
        • T
          tmk1000 last edited by

          Thank you for your prompt reply. Yes, I have done that before. it works on some indicators but not all of them. Some indicators won't work at all and it will give you this error: " You are trying to use renamed indicator"

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

            Was just an idea, some indicators won't work, but you don't know unless you try

            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 0
            • T
              tmk1000 last edited by

              True, thank you for your assistance. It is much appreciated. I will keep trying different solutions. Hopefully, the bug will be fixed soon, or maybe someone will come up with a workaround or something.

              1 Reply Last reply Reply Quote 0
              • S
                sajjad3245 @jstap last edited by

                @jstap Tnx man, had the same problem and changing Indicator names, works for me..

                jstap 1 Reply Last reply Reply Quote 0
                • jstap
                  jstap @sajjad3245 last edited by

                  @sajjad3245 👍

                  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 0
                  • D
                    dominicsyyy last edited by dominicsyyy

                    sorry wrong topic..

                    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