fxDreema

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

    Are variables in temporary memory

    Questions & Answers
    2
    6
    1533
    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.
    • T
      Traderz last edited by

      Hello ,
      I'm asking about if any value store in a variable will be in temporary memory so that if the computer or even the terminal restart it will be erased
      If that tru how can I save a value that won't be erased until I manually change it because I'm building many things on Variable but once the terminal restart it's all collapsed

      T 1 Reply Last reply Reply Quote 0
      • T
        Traderz @Traderz last edited by

        Also , Do block counters that allow to pass once will have the same way as variable so if the terminal restart it can allow to pass one more time wrongly without being reset

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

          Yes, all those variables are temporary. Take a look at those variables, they remain - https://fxdreema.com/tutorial/builder/constants-and-variables#terminal_variables

          Sometimes you can use the objects as a memory, because they remain on the chart

          T 1 Reply Last reply Reply Quote 0
          • T
            Traderz @fxDreema last edited by

            @fxdreema Thanks for your reply
            and Do counters also considered as temporary ?

            T 1 Reply Last reply Reply Quote 0
            • T
              Traderz @Traderz last edited by

              @traderz said in Are variables in temporary memory:

              @fxdreema Thanks for your reply
              and Do counters also considered as temporary ?

              @fxDreema Can you clarify this please ?
              I mean if I made a counter that won't pass trade group number 2 but once until group number 1 is closed which will reset the counter
              If the terminal restarted the group number 2 can pass again even I didn't reset the counter ?

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

                Yes, the counter blocks also use temporary variables. This is true for all blocks like this, even some money management methods. Only when you are working with trades and objects, their data is not temporary, because they exist in MetaTrader even if you restart it.

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

                Online Users

                A
                G
                J
                F
                G
                O
                Z
                M
                W
                N
                G

                26
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors