fxDreema

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

    The 5 th digit in a Global Variable disapeared ??

    Questions & Answers
    2
    6
    748
    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.
    • E
      emilio last edited by

      Hello all again.

      I need my Gloval Variable "ENTRADA1" to be with 5 digits after point. (1.31875 F.E.) and I only get 4 after fill it automatically with the "Set Global Variables in MT4" Block.

      http://prntscr.com/8gx46m

      I fill it like this --> http://prntscr.com/8gx4nv

      As consequence, this condition is not working correctly http://prntscr.com/8gx624


      But if I change the right operand instead of "VARIABLE1" to a manual entered number in "Set Global Variables in MT4" block, it works perfectly.

      http://prntscr.com/8gx741

      http://prntscr.com/8gx82n

      Is it needed to set/adjust something ???

      Thank you.

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

        Why do you still use those Terminal Variables? Do you really, really, really, really, I mean do you really want to use them instead of the regular global variables?

        This block called "Set Global Variables" was renamed to "Terminal Variables" long time ago. Well, I still need to update some naming inside it, but this block also works with the Terminal Variables. Do you really want to work with these?

        And for the question, I don't know, maybe this value has 0 at the end that is not displayed. Obviously the value above has 5 digits

        1 Reply Last reply Reply Quote 0
        • E
          emilio last edited by

          I have in my download laptop version "set global variables " block, but I don´t have "terminal variables" block, anycase I´m using Global Variables.

          The question is If I write the number manually it works but if "set global variables " is filling the field 4 digits as described above, so it means that block should not work properly , agree ??

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

            I don't remember how months ago I renamed them to Terminal Variables, I guess you are using some old version. But anyway, I will suggest to understand the difference between those two different types of variables. The normal variables exists inside the EA and it's global for all it's functions, while the other are variables used to transfer data between EAs in the same MetaTrader. Those terminal variables are like cookies in the browsers - they are stored in files.

            1 Reply Last reply Reply Quote 0
            • E
              emilio last edited by

              Sorry but

              The question is If I write the number manually it works, but if I use "set global variables " to fill a Global Variable, the 4 digits as described above appeared if F3 , so it means that block should not fill properly , agree ??

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

                https://fxdreema.com/shared/0jRPG1yJc
                http://prntscr.com/8i0ph1

                Maybe the open price has 0 at the end and it's not displayed

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

                Online Users

                J
                K
                T
                S
                E
                F
                G

                17
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors