fxDreema

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

    Martingale EA - Platform Restarts

    Questions & Answers
    2
    9
    189
    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.
    • P
      pipsondeck last edited by

      Just a quick question,

      what if you example the EA is martingale and started as 0.01 lots then went to 0.50 lots.

      After awhile, the MT5 crashes and you need to restart the platform.

      Will the EA start again at 0.01?

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

        Yes, you need to use/store/delete within a global variable (terminal variable on here)

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

        P 1 Reply Last reply Reply Quote 0
        • P
          pipsondeck @jstap last edited by

          @jstap how can we do that so that it will continue after mt5 restarts?

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

            yes is the only way to have it remember after close. The easiest way is to set as soon as placing a trade, this is just an example, once saved in a terminal variable you can read it anywhere:

            https://fxdreema.com/shared/u56SPw8Hc

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

            P 1 Reply Last reply Reply Quote 0
            • P
              pipsondeck @jstap last edited by

              @jstap what if i have four sets of condition
              1 initial Buy
              1 Martingale Buy
              1 Initial Sell
              1 Martingale Sell

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

                Then you set 4 terminal variables by different name, this is the name you use to read them.

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

                P 1 Reply Last reply Reply Quote 0
                • P
                  pipsondeck @jstap last edited by

                  @jstap if i put another one like this, would it be the same also?

                  https://fxdreema.com/shared/31GskMdxb

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

                    No I would set a new tree with a for each block, these are loops so under a no trade block will start and run the loop only once, so for continual checking of pips away needs to be free from the no trade block, once a trade is placed a no trade block stops passing.

                    841e3eb6-d374-4f37-bf41-ec1eee6a54c5-msedge_q18We228hH.png

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

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pipsondeck @jstap last edited by

                      @jstap thanks. i will try and observe.

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

                      Online Users

                      O
                      O
                      D
                      F
                      K
                      C
                      E
                      M
                      F

                      29
                      Online

                      146.6k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors