fxDreema

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

    Easy way to make ENUM

    Tutorials by Users
    12
    29
    6256
    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.
    • roar
      roar last edited by roar

      When searching the forum for ENUM declaration, some threads mention additional custom indicators or custom blocks. There is a simplier way too:

      • Make enum-type constant, put its values to curly brackets separated by comma.
      • Use that enum to create an input: Type must be the Name of 1st constant, Value must be some of the values inside the brackets.

      This method doesnt seem to allow for Descriptions, though...

      0_1677015953341_0a8985e7-c106-4a51-b4ab-5fcd98cec019-image.png
      0_1677015968623_a761d304-3b2e-4d79-9542-db3c2d350bd5-image.png

      Need small help? Tag me in your post
      Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

      l'andorrà OntradingX R S 4 Replies Last reply Reply Quote 13
      • l'andorrà
        l'andorrà @roar last edited by

        @roar Thank you very much for sharing, as always.

        (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 1
        • OntradingX
          OntradingX @roar last edited by

          @roar How can I create a condition using these drop down menu options?
          Would it be "Text" or " Text code input" in the condition block?

          Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
          Site: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Boa sorte a todos nós!

          English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
          Website: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Good luck to all of us!

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

            "Code input" or "Numeric" should work.
            Enumerations can be in used as their name or as integers according to their place in the list
            image.png

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

              Great, work here with numeric https://fxdreema.com/shared/Msfdavdbe

              Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
              Site: https://www.ontradingx.com.br
              Youtube: https://www.youtube.com/@ontradingx
              Boa sorte a todos nós!

              English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
              Website: https://www.ontradingx.com.br
              Youtube: https://www.youtube.com/@ontradingx
              Good luck to all of us!

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

                @roar I tested it here and it worked perfectly.
                Thanks for this valuable tip.

                Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                Site: https://www.ontradingx.com.br
                Youtube: https://www.youtube.com/@ontradingx
                Boa sorte a todos nós!

                English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                Website: https://www.ontradingx.com.br
                Youtube: https://www.youtube.com/@ontradingx
                Good luck to all of us!

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

                  I think this method was already posted somewhere, I just can't find the thread anymore to give the credit they deserve.

                  Need small help? Tag me in your post
                  Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rem1978 @roar last edited by Rem1978


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

                      I will add this, make sure enum is on top, before adding the named type, so the code as added to meta platform before it tries to use.

                      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
                      • I
                        Ipod last edited by

                        This is pretty epic thank you

                        1 Reply Last reply Reply Quote 0
                        • P
                          Paihdt last edited by

                          great, so i dont need to edit on metaeditor anymore

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

                            I don't know if it's Fxdreema, but I had a problem with my projects that had these functions, stay tuned.

                            Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                            Site: https://www.ontradingx.com.br
                            Youtube: https://www.youtube.com/@ontradingx
                            Boa sorte a todos nós!

                            English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                            Website: https://www.ontradingx.com.br
                            Youtube: https://www.youtube.com/@ontradingx
                            Good luck to all of us!

                            1 Reply Last reply Reply Quote 0
                            • Q
                              QuantEngineer last edited by

                              Hey Roar ! Thank you so much ! You are amazing !

                              Quant Engineer
                              www.abfs.tech

                              1 Reply Last reply Reply Quote 0
                              • S
                                sktsec @roar last edited by sktsec

                                @roar
                                loop Thanks n times

                                1 Reply Last reply Reply Quote 1
                                • P
                                  Paihdt last edited by

                                  So here how I do https://fxdreema.com/shared/m0jqWXIxe

                                  image.png

                                  image.png

                                  roar 1 Reply Last reply Reply Quote 0
                                  • roar
                                    roar @Paihdt last edited by

                                    @Paihdt you can do the condition like this:
                                    fd302648-3721-473e-93d4-3491552e5345-image.png

                                    Need small help? Tag me in your post
                                    Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                                    1 Reply Last reply Reply Quote 1
                                    • Q
                                      QuantEngineer last edited by

                                      About the inputs of the EA, is anyone here familiar with the groups feature ?
                                      on the MQL5 documentation, it is mentioned an input type called group, to make the user inputs panel more organized... https://www.mql5.com/en/docs/basis/variables/inputvariables

                                      Quant Engineer
                                      www.abfs.tech

                                      S 1 Reply Last reply Reply Quote 1
                                      • S
                                        sktsec @QuantEngineer last edited by

                                        @QuantEngineer
                                        It seems just for display a line of text without any actual function. Good for visual only.

                                        roar 1 Reply Last reply Reply Quote 0
                                        • roar
                                          roar @sktsec last edited by

                                          @sktsec there is a function, clicking on the "folder" will hide a section of the inputs list. I haven't got it working on fxdreema, though

                                          Need small help? Tag me in your post
                                          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                                          1 Reply Last reply Reply Quote 1
                                          • Q
                                            QuantEngineer last edited by

                                            Exactly !
                                            It is good to match the interior beauty with some exterior beauty when possible!

                                            Quant Engineer
                                            www.abfs.tech

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

                                            Online Users

                                            M
                                            C
                                            E
                                            L
                                            G
                                            K
                                            E
                                            S
                                            E
                                            P
                                            G
                                            R
                                            N
                                            S
                                            E
                                            E
                                            M

                                            30
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors