fxDreema

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

    What is Terminal Variables?

    Questions & Answers
    4
    10
    3590
    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.
    • J
      Jakkarin79 last edited by

      What is Terminal Variables?

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

        Global variables in MT4/MT5. These variables are shared across every chart on terminal. Hit F3 while in MT to see the global variables.

        You probably don't need them, fxdreema uses different kind of variables

        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
        • J
          Jakkarin79 last edited by

          How to use Terminal Variables? I want to connect variables between 2 EA ...

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

            Write the global variables with block "Terminal variables"
            Read the global variables with block "Modify variables" - you should set a "normal" fxdreema variable for each global variable

            https://fxdreema.com/help/working-with/terminal-variables

            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 1
            • J
              Jakkarin79 last edited by Jakkarin79

              Thank you very much Roar.

              Is it possible to connect variables between 2 running MT4(different broker)?

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

                That is much harder, you will need some custom coding.

                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
                • R
                  rafaelgrecco last edited by

                  Hi,

                  I am interested in using Terminal Variables - a Variable that can be used/changed by the EA on any/all charts it is running.

                  I noticed that the example on "working with" tutorials has been removed for this topic. Is there any example I can see to understand how this works?

                  Thanks.

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

                    In MetaTrader you can access those with F3. They are called "Global Variables" there, but this is in the scope of MetaTrader, not the EA itself. In the EA you also have global variables, but they are soemthing different. So I use the name "Terminal Variables" to describe those F3 kind of variables.

                    If you know what cookies are for the browser, I imagine that those F3 variables are pretty much the same. They are stored somewhere in a file and can be accessed from all EAs. So they are just values that MetaTrader shares between all EAs, and they are also persistent... for some time.

                    1 Reply Last reply Reply Quote 0
                    • R
                      rafaelgrecco last edited by

                      Thanks for the explanation.

                      I know we can read "Terminal Variables". But can our EA modify them?

                      1 Reply Last reply Reply Quote 0
                      • R
                        rafaelgrecco last edited by

                        Let's supose there is a GlobalVariable (MT4 Terminal Variable) that is called MT4_Variable.

                        If I want to use it's value on a formula (or condition), I would do this, correct?

                        alt text

                        If I want to change the value of MT4_Variable, do I need to use custom code, like this?

                        alt text

                        Or there is another way, using a block, the same way we change local/EA Variables?

                        Thanks.

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

                        Online Users

                        K
                        F
                        A
                        H

                        10
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors