fxDreema

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

    Multiply choice options in an external parameter

    Questions & Answers
    2
    6
    1161
    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.
    • tcanuto
      tcanuto last edited by

      Hello fxDreema.

      How do I put multiple options in a parameter external indicators instead of numbers or true and false?

      See the picture below for what I mean.

      http://trajectablog.files.wordpress.com/2013/11/trajecta-mini-robo-tela-de-setup-de-estrategia.png

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

        This can be done only in MQL5, but it's nowhere used in fxDreema.
        http://www.mql5.com/en/docs/basis/types ... numeration

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

          Could add this feature in fxDreema for MT5? With this we can make an excellent EA with practicality and more possibilities to do tests and optimizations, not having the need to make multiple versions of an EA.

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

            Where and how do you want to use this, in what cases? 🙂

            Because if you think about drop-down options in blocks, I don't think it's a good idea for them to be able to be used as input parameters.

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

              Yes .. could be done with a block would be representative of other blocks, and through this block representing the blocks would be triggered connected to this or not. An example is when I use a block "Condition" true or false to enable or disable the strategy.

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

                Well, using true/false (or 0/1) is pretty much enough I think. These enumerations are used when multiple choices exists. But I think I will skip this issue from now, mostly because this is not available in MQL4 and now I prefer to work on things that are available in both 🙂

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

                Online Users

                D
                S
                G

                14
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors