fxDreema

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

    Constant input

    Questions & Answers
    2
    4
    172
    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.
    • W
      William 1 last edited by

      Hello everyone

      Im new to the constant input so i have a question about it. Where can i all the different kind of type and name.

      For example: if i want a tp, sl, adjust. Should i use double or int and does the name needs to begin with "My" with a caps?

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

        @William-1 name can be anything, doesnt matter.

        Datatype is usually double, unless you want a text setting. https://www.mql5.com/en/docs/basis/types

        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
        • W
          William 1 last edited by William 1

          Does goes with adjust. Cause it have number and tekst. For example "+100 pips"

          Whats the difference between "int" and "doub".

          The reason i ask is i dont understand the link you gave to me

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

            If your constant name is "myconstant" write this in the adjust: "+myconstant pips"

            int = integer, whole number

            double = any number or fraction

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

            Online Users

            A
            E
            B
            P
            S

            21
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors