fxDreema

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

    Pls help me, the remote destop window update so i want the ea run as the previous latest value was

    Questions & Answers
    3
    11
    540
    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.
    • zarbitz
      zarbitz last edited by

      when the remote destop window update, so ea restart it self every time, so i want the ea run as the previous latest value was, for EXP: my ea is martingale i set +0.01lot every time when it consecutive loses , and my last lot size was 0.05 because my consecutive loses was 4 times, after that in the remote destop window was update, then the ea restart it self to be 0.01 lot again, so it lose because of the ea restart to be the initial lot is 0.01, but it should be 0.05 lot as the previously ea was,
      So how can I manually setting the ea to be 0.05 lot again , and it will be restart lot 0.01 lafter it win cover all my consecutive losses. please help me, thank you

      1 Reply Last reply Reply Quote 0
      • R
        RakeshR last edited by

        I had same problem with my ea too just make sure you add these blocks in init tab and I hope you have saved lot sizes in a variable

        2024-05-31_19-57-12.png

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

          Above will likely work but should have a for each trade above. Personally, I would save and read to/from a global terminal variable.

          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
          • R
            RakeshR last edited by

            if i get it from global variable then it will be not correct.. i need to get variable saved from current orders and then re use it. i cant get it from ea inputs

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

              If you have saved to correct value to a global variable then it will be correct. Loops need a for pink each block above.

              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
              • R
                RakeshR last edited by

                i guess i am not explaining well.. problem is not about getting value from EA input values. What I am doing is creating martingale orders from dynamic distance.. so these buy and sell dynamic distance are increases automatically by the time as market goes down or up very much. this distances are stored in "variables" so when I restart terminal it get reset. I want to keep those "variables"

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

                  Use global variables, if it is just a constant, condition constant != to global variable - set global variable to constant. Here is some workings with it: https://fxdreema.com/shared/7yZetp7Dd

                  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
                  • R
                    RakeshR last edited by

                    thanks bro will contact you here again if help needed.

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

                      You are welcome, here is more: 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! 😊

                      1 Reply Last reply Reply Quote 1
                      • zarbitz
                        zarbitz last edited by

                        WeChat Screenshot_20240623214343.png

                        WeChat Screenshot_20240623214455.png

                        Please help me, I create a small project for exp in this link https://fxdreema.com/shared/eUF78wVcc

                        , I try terminal variable many times but it still restart my lot after I close the ea and run this ea again , I loses 3 times so my last lot size was 0.04, now I close the ea but terminal variable didn't remember my last lot size was, it restart my lot size to be 0.01 , please help me, thank you!

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

                          With a terminal variable, you need to update the variable manually, as long as you have put the result into the variable it will remain.

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

                          Online Users

                          N
                          L
                          A
                          M
                          B
                          E
                          S

                          17
                          Online

                          146.6k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors