fxDreema

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

    how to choose methods in indicators

    Questions & Answers
    3
    6
    168
    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.
    • D
      danieleipj last edited by

      Hi, I'm creating an EA, I would like to be able to choose some indicator parameters when I load the EA. For example, if I use the "adx" indicator, I would like to be able to choose "adx mode" and "apply price" from a drop-down menu in the EA, or when I use the "alligator" indicator I would like to be able to choose "MA method " and "Apply price". Could anyone help me? Thanks everyone.

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

        You can do any of this, generally create a constant that will change these values

        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
          danieleipj last edited by

          An example?

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

            Make a start, test, then add a shared link if something's not working, and say what you are trying to do

            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
              thatkyle last edited by thatkyle

              It seems to me that you would need to have multiple inputs for each of the constants that you want to have all parameters available in the EA. This link might help www.mql5.com/en/docs/constants/indicatorconstants/lines

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

                The link doesn't help, the choice is yours, you can create an enum to have choices in an enum dropdown, or separate inputs.

                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
                • 1 / 1
                • First post
                  Last post

                Online Users

                S
                H
                A
                P
                L

                11
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors