fxDreema

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

    How to enable variable inputs before to attach EA to chart

    Questions & Answers
    3
    9
    2051
    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.
    • O
      okranoblues last edited by

      I'm not able to see the variables when Im attaching the EA to my chart?

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        variables are not as inputs, constants are inputs 🙂

        Between trading and gambling is a very small gap, be careful.

        1 Reply Last reply Reply Quote 0
        • O
          okranoblues last edited by

          Please see the screenshot. How can I do for my variable and which variable should I use to show in this box?![alt text?

          0_1487802703394_upload-e19cebce-ab72-495b-902c-a7ec59768162

          1 Reply Last reply Reply Quote 0
          • M
            miro1360 last edited by

            I dont understand what exactly you need ....

            Between trading and gambling is a very small gap, be careful.

            1 Reply Last reply Reply Quote 0
            • O
              okranoblues last edited by

              Ineed that this vaiable bellow:
              0_1487853336928_upload-aab44c9c-7048-4c57-8f3c-1d8ad555201f

              it shows in here:

              0_1487853387888_upload-61a0fb64-9e7e-4a24-a38c-37fe2720c0d2

              1 Reply Last reply Reply Quote 0
              • M
                miro1360 last edited by

                you need define it in Constants ... and if you will it modificable, do it like this:
                https://fxdreema.com/shared/Z3yYVSOIb
                in on Init section
                0_1487855185511_upload-d1040483-5eae-402d-9e71-35ecd8baff9c

                Between trading and gambling is a very small gap, be careful.

                1 Reply Last reply Reply Quote 0
                • O
                  okranoblues last edited by

                  Ok I'm going to try it later, I just got confuse bc ik that constants are value that cannot be change and variables are values that can be change.

                  1 Reply Last reply Reply Quote 0
                  • M
                    miro1360 last edited by

                    constants are value that can not be changed when EA is running (it does not mean when EA is inserting - while inserting you can define constants values) ... ... variables are used by EA itself and can be changed by EA ...

                    Between trading and gambling is a very small gap, be careful.

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

                      Some of the words that I use in the EA builder do not exactly describe the real thing in the MQL code. Because this tool is primarily for people who don't understand programming anyway 🙂 So, back then I added Varibales and they were really global variables in the EA. The word "Variables" sounds good enough, means something that can vary, can be changed. But the input parameters are not supposed to be changed in the EA and in MQL5 any attempt to change them will give you an error actually. So... these are named Constants (Inputs) - there is the word "Inputs" in the name really. Yes, they are inputs and they are not supposed to be changed, so they can also be called constants.

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

                      Online Users

                      M
                      N

                      12
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors