fxDreema

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

    Indelible variable

    General Discussions
    2
    5
    782
    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.
    • C
      cesardefez last edited by cesardefez

      Hi.
      in my panel, I want to have some statistical data,
      such as drawdom, the max level of margin that the operation has taken me ... etc.
      The problem that arises for me is that if I turn off the mt5, when I turn it back on, my variables are reset to 0, losing the statistical data of my operations.
      Is there some way that these variables are fixed as if they were a constant. In other words, that the value of my variables are not volatile.
      I have tried, with the block modify variables, modify the value of a constant.
      but obviously it doesn't work.
      the solution would be to create a file with the value of the variables that I want not to be deleted. and when loading the EA in the init tab, retrieve these values from the text file.
      You can help me to do it.
      Thank you

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @cesardefez last edited by

        @cesardefez AFAIK, that is not possible unless your platform connects an external source to recover those data. I'm not an expart at MT5, though. So maybe I'm wrong.

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        C 1 Reply Last reply Reply Quote 1
        • C
          cesardefez @l'andorrà last edited by

          @l-andorrà I was hoping that in the same way that an ea can read a set, it could also read the value of a vriable from a text file.
          thanks

          C 1 Reply Last reply Reply Quote 0
          • C
            cesardefez @cesardefez last edited by cesardefez

            @cesardefez
            Solved.
            At least temporarily.
            the only drawback is that it is only saved up to 4 weeks after the last modification of the variable.
            What I have done is create a global variable, giving them the values that I need to keep.

            0_1612818611745_3851425f-96c9-460d-9832-31dfa0f2ecee-image.png

            I create other variables in the EA, to be able to retrieve the value of the global variable and be able to present it on the screen.

            0_1612818717345_c6d0d256-014e-4ece-b5f7-726ea54c9a69-image.png

            Gracias, @ l-andorrà

            l'andorrà 1 Reply Last reply Reply Quote 0
            • l'andorrà
              l'andorrà @cesardefez last edited by

              @cesardefez Please be very careful with the las 'terminal variables'. As you can read on its 'help' section, they are not designed to work as 'normal' variables. I'm not a programmer, so I cannot offer a technical reason for that. I recommend you to do some search on the forums and you'll find more information.

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

              Online Users

              A
              A
              R
              S
              M
              P
              R

              21
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors