fxDreema

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

    Resetting variables

    Questions & Answers
    5
    11
    450
    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
      jimifx707 last edited by

      Hello, can you help me? How can I reset the variables to their initial values or zero at the start of a new day? https://fxdreema.com/builder

      l'andorrà 1 Reply Last reply Reply Quote 0
      • S
        sktsec last edited by

        Once a day, then modify variables

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

          @jimifx707 This is what sktsec means:

          01.png

          You need to be sure the 'once a day' block ID number needs to be 1, as it is supposed to be the first block executed every day.

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

            Thank you very much for your advice, I will definitely try it.

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

              You're welcome.

              (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
              • J
                jimifx707 @jimifx707 last edited by

                @jimifx707 Hello again, unfortunately I did what you said, but it didn't work and I'm still trying to reset the variable that calculates the total losses for me after the trades are closed or at the start of the day. I would appreciate it if you could help me. I'll post the project link. Thanks. https://fxdreema.com/builder

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

                  Hi! If you want to reset your variables at the start of a new day, you can use the "Once a Day (time filter)" block. Connect it to a "Set Variable" block and set your variables back to zero or their initial values.

                  Make sure to place this logic at the top of your project flow so it triggers at the beginning of each new trading day. Also, double-check your terminal time settings to make sure the reset happens when you expect.

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

                    Actually it needs to be a once per (daily) bar block. This will wait until the 1st tick of the day, once a day may try to work when there's no tick, so fail,

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

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

                      @jimifx707 You didn't provide the right link. This is the way to do it:

                      00.png

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

                        First of all, hello and thank you for your guidance. I apologize for the late reply. I was sick for a few days and I'm sorry, I didn't know how to share the project link. Thank you for reminding me. The problem I had was that the total loss variable would be zero, but I would get it again. I solved my problem by setting a time condition.

                        1 Reply Last reply Reply Quote 1
                        • J
                          jimifx707 last edited by

                          shared/w9nNFleWc

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

                          Online Users

                          M
                          C
                          K
                          T
                          K
                          D
                          K

                          15
                          Online

                          146.6k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors