fxDreema

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

    enum MA methods

    Questions & Answers
    4
    10
    833
    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.
    • Y
      yarandish last edited by

      hi .all
      problem is simple...
      photo_5931524821789819149_x.jpg

      when export error :
      Compilation errors
      'MA_Meth' - cannot convert enum

      what is problem ?

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

        You only have 1/2 the words: ENUM_MA_METHOD

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

          You only have 1/2 the words: ENUM_MA_METHOD

          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
          • Y
            yarandish last edited by

            I don't really understand what you mean, can you explain more?

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

              I just looked again at what you have done and that is how to create an enum, but those 2 are already native to MT, add what I put in type, and MODE_SMA in value, delete the enum you have

              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
              • Y
                yarandish last edited by

                Yes,It is true , Thanks
                More Enum help is in https://www.mql5.com/en/docs/constants/indicatorconstants/enum_ma_method

                1 Reply Last reply Reply Quote 0
                • D
                  Dave Sapphire last edited by

                  hi there can you please send a pic from the enum you created in correct mode.

                  KLG 1 Reply Last reply Reply Quote 1
                  • KLG
                    KLG @Dave Sapphire last edited by

                    @Dave-Sapphire

                    Hello mate,
                    look at the example below

                    MA type ENUM.jpg

                    1 Reply Last reply Reply Quote 1
                    • D
                      Dave Sapphire last edited by

                      great thanks a lot

                      KLG 1 Reply Last reply Reply Quote 1
                      • KLG
                        KLG @Dave Sapphire last edited by

                        @Dave-Sapphire You are welcome mate,
                        good luck
                        😊

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

                        Online Users

                        N
                        S
                        T
                        A
                        Y

                        16
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors