fxDreema

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

    close an open order at 21:00

    General Discussions
    2
    9
    772
    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.
    • S
      skauch last edited by

      Can anyone help me how to close an open order at 21:00?
      my robot is based on the strategy of pending orders, I have already created the command that after 20 hours the pending orders are closed, but I would also like to close the open order at the same time that the pending is canceled.
      thanks
      https://fxdreema.com/shared/o82I58jT

      Q 1 Reply Last reply Reply Quote 0
      • Q
        q8carpenter @skauch last edited by

        @skauch Hello,

        Is this what you need?

        0_1622647790506_close trades.png

        S 1 Reply Last reply Reply Quote 0
        • S
          skauch @q8carpenter last edited by

          @q8carpenter 2 once for day?
          0_1622648251368_Schermata 2021-06-02 alle 17.36.53.png

          Q 1 Reply Last reply Reply Quote 0
          • Q
            q8carpenter @skauch last edited by

            @skauch

            Yes that is supposed to work.

            If the future or on other strategies, you may also need to be aware of the block numbers, as the EA will run the blocks in order of their numbers and it may screw things up, however, I don't see a need to change the order here.

            S 1 Reply Last reply Reply Quote 0
            • S
              skauch @q8carpenter last edited by

              @q8carpenter said in close an open order at 21:00:

              @skauch

              Yes that is supposed to work.

              If the future or on other strategies, you may also need to be aware of the block numbers, as the EA will run the blocks in order of their numbers and it may screw things up, however, I don't see a need to change the order here.

              is ok?0_1622648824881_Schermata 2021-06-02 alle 17.46.33.png

              Q 1 Reply Last reply Reply Quote 0
              • Q
                q8carpenter @skauch last edited by

                @skauch

                If blocks 6 and 7 are pending orders, then i would say yes that is ok.

                But if they were Market orders (just buy or sell block) and if both (once per day) times are 21:00, then let the (once pre day/close trades) block numbers be first

                S 2 Replies Last reply Reply Quote 0
                • S
                  skauch @q8carpenter last edited by

                  @q8carpenter
                  yes pending order

                  1 Reply Last reply Reply Quote 0
                  • S
                    skauch @q8carpenter last edited by

                    @q8carpenter
                    is ok?
                    0_1622649919398_Schermata 2021-06-02 alle 17.46.33.png

                    Q 1 Reply Last reply Reply Quote 0
                    • Q
                      q8carpenter @skauch last edited by

                      @skauch

                      Yes I guess that's ok my friend.

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

                      Online Users

                      M
                      R
                      F

                      19
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors