fxDreema

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

    When MetaTrader is restarted, the EA opens new positions with 0.01 lot

    Questions & Answers
    4
    9
    573
    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
      tswaldi last edited by

      Can someone please help me here or has anyone observed the same problem? I have an EA that opens grid positions. The problem is that when MetaTrader is restarted, the EA opens new positions with 0.01 lot... How can I make it continue where it left off?

      1 Reply Last reply Reply Quote 0
      • T
        tswaldi last edited by

        fehler.jpg

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

          Because unless you explicitly programmed the bot to store the value of the last lot size, it will consider a new sequence is to be run after the reset.

          (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
          • T
            tswaldi last edited by

            Thank you for the quick response Andora. Is there an idea on how I can do this?

            1 Reply Last reply Reply Quote 0
            • S
              sktsec last edited by

              Perhaps you can check the current positions as a reference for a new position size

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

                @sktsec I'm unfortunately quite new to this topic, so I would really appreciate an example of how it works.

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

                  If trade is running use that, if not save the values in a global variable: https://fxdreema.com/forum/topic/20550/save-variables-constants-if-terminal-closes-crashes

                  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! 😊

                  T 1 Reply Last reply Reply Quote 1
                  • T
                    tswaldi @jstap last edited by

                    @jstap Thank all very much for the numerous answers. I think that is a good solution. I will test it tomorrow and report back with the result

                    jstap 1 Reply Last reply Reply Quote 1
                    • jstap
                      jstap @tswaldi last edited by

                      @tswaldi 👍

                      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 0
                      • 1 / 1
                      • First post
                        Last post

                      Online Users

                      A
                      M
                      B
                      E
                      S
                      M
                      2
                      M

                      20
                      Online

                      146.6k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors