fxDreema

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

    Close pending orders over weekend

    Questions & Answers
    2
    8
    690
    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.
    • D
      didymario7 last edited by

      Hello

      How do I tell my EA to close all pending orders by on Friday 6pm and re-open them on Monday 2am?

      Thanks

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

        @didymario7 Don't know how to reopen an exact order but, day block-time block-delete pending orders will remove all on a Friday

        Same again with buy/sell pending will replace what you want on Monday.

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

        D 1 Reply Last reply Reply Quote 0
        • D
          didymario7 @jstap last edited by

          @jstap said in Close pending orders over weekend:

          @didymario7 Don't know how to reopen an exact order but, day block-time block-delete pending orders will remove all on a Friday

          Same again with buy/sell pending will replace what you want on Monday.

          closing the trades on friday is the easy part. there should be a way to reopen them on monday. i just dont know how.

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

            @didymario7 As I said in my last post, use the same set up as delete but have it set for monday and instead of delete have buy/sell blocks.

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

            D 1 Reply Last reply Reply Quote 0
            • D
              didymario7 @jstap last edited by

              @jstap said in Close pending orders over weekend:

              @didymario7 As I said in my last post, use the same set up as delete but have it set for monday and instead of delete have buy/sell blocks.

              If you could explain with blocks that would be very helpful. bear in mind that the deleted orders will have thesame parameters (open, stp, TP) as the deleted ones.

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

                @didymario7 The same parameters you used to make the original pending will need to be in the Mon buy/sell block, otherwise you will need a set up like this link text this is how to keep the values for buy in variables and use them, if you have more than 1 it will reset the variables.

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

                D 1 Reply Last reply Reply Quote 0
                • D
                  didymario7 @jstap last edited by

                  @jstap said in Close pending orders over weekend:

                  @didymario7 The same parameters you used to make the original pending will need to be in the Mon buy/sell block, otherwise you will need a set up like this link text this is how to keep the values for buy in variables and use them, if you have more than 1 it will reset the variables.

                  It makes sense to me now. Thanks alot. What do you mean when you say it will reset the variables if you have more than 1?
                  If it resets the variables will it reopen all or just one pending (if we are dealing with multiple pending orders)

                  Thanks

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

                    @didymario7 What is in the link will set the variable every time a new order is placed, think will only change if buy is added, as long as the last order placed is the one you want to replace it's all good.

                    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

                    N
                    N
                    F
                    M
                    A
                    L
                    O
                    S
                    E
                    J
                    D
                    M
                    X

                    22
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors