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.
    • B
      BBMess last edited by

      Good day everyone,

      I have tried this out in a bit of a different method and I'm either missing something or I'm unsuccessful somehow. Are you able to Spot what I've done incorrect?;

      image.png

      image.png

      Thanks for any and all help in advanced!

      roar P 2 Replies Last reply Reply Quote 0
      • roar
        roar @BBMess last edited by

        @BBMess MA method is always an enumeration by itself, that might cause problems.
        https://www.mql5.com/en/docs/constants/indicatorconstants/enum_ma_method

        Please send a shared link of your example

        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
        • B
          BBMess last edited by

          Yep, wasn't thinking this through correctly. I changed it to this and used the correct values and it obviously worked. Thank you for the nudge. I needed that!
          image.png

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

            @BBMess dont made you life complicated. for MA just write down what it suggest on the box. dont need to create manual enum
            38836d49-6b93-4620-8aef-9482eb8d0d31-image.png

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

              @Paihdt That is telling you, if you want to adjust in inputs, you need to create a MA enum in your costants.

              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
              • A
                ARAVIND last edited by

                thanks a lot

                1 Reply Last reply Reply Quote 0
                • F
                  faisalfiaz2002 last edited by

                  would u please help me out to make enum for timeframe thanks

                  1 Reply Last reply Reply Quote 0
                  • F
                    faisalfiaz2002 last edited by

                    would u please help me out to make enum for timeframe thanks

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

                      @faisalfiaz2002
                      ENUM_TIMEFRAMES <-- data type

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

                      Online Users

                      N

                      15
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors