fxDreema

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

    How shutdown EA after taking one trade (without terminate condition)

    Questions & Answers
    2
    12
    329
    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.
    • G
      GTOAT777 last edited by

      Win or lose i want my EA to close after the trades closed but then start the next day via Time filter block

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

        once a day reset a flag to true, trade placed (or closed) set flag to false

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

        G 1 Reply Last reply Reply Quote 0
        • G
          GTOAT777 @jstap last edited by

          @jstap Is this how im meant to structure it
          https://fxdreema.com/shared/LjN1Y0aYb

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

            You need to check this flag above buy/sell, and do it on both on tick, and on trade, buy/sell on tick:
            image.png

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

            G 2 Replies Last reply Reply Quote 1
            • G
              GTOAT777 @jstap last edited by

              @jstap ah makes sense I’ll give it a try

              1 Reply Last reply Reply Quote 0
              • G
                GTOAT777 @jstap last edited by

                @jstap IVe tried it and still had a bit of trouble could you explain thugh how the EA gets the logic from this to turn off the EA until the next day via the flag method

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

                  If flag false, when checked can't pass, once a day it is reset, so when checked it can pass...

                  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
                  • G
                    GTOAT777 last edited by

                    Just roughly is this how youre saying it should look
                    https://fxdreema.com/shared/9UeTYyaZd

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

                      You do not need to place a trade on trade tab:
                      image.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! 😊

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        GTOAT777 @jstap last edited by

                        @jstap ah ok I only did that because you originally said put it above buy/sell on both, on tick and on trade. Either though is there any other changes that I need to make, has this worked for you before on any other project

                        1 Reply Last reply Reply Quote 0
                        • G
                          GTOAT777 last edited by

                          @jstap I solved it, i literally just had to put the once a day block just before buy/sell and that was it nothing else was needed, thanks for your help

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

                            No problem

                            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

                            J
                            T
                            J
                            B
                            A
                            T

                            22
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors