fxDreema

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

    Need help to delete pending orders if the 1st doesn't trigger.

    Questions & Answers
    5
    7
    414
    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.
    • F
      FX-EA last edited by

      Hi everyone, I need some help here. After my conditions are met, I have a Buy Now order waiting to execute followed by a set of pending orders. The problem is, sometimes the 1st Buy Order doesn't activate immediately and a Buy Limit is automatically created instead. That's ok but I want to delete all orders if 1 hour passes and the 1st Buy Limit isn't activated.

      shared/v4bc5xqId

      l'andorrà B 2 Replies Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @FX-EA last edited by

        @FX-EA You can specify an expiration time here:

        01.png

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        F 1 Reply Last reply Reply Quote 0
        • B
          bussy last edited by

          @FX-EA
          buy order not activating immediately could either be as a result of your internet connection speed or the market conditions itself.

          Buy limit usually occurs if the next price bar has an opening price higher than the calculated price of entry of your buy order.

          Alternative way of delete pending orders is by creating "once per bar" button with "one hour" timeframe setting and adding "delete pending orders" block under it before including any other block beside it.

          1 Reply Last reply Reply Quote 0
          • F
            FX-EA @l'andorrà last edited by FX-EA

            @l-andorrà said in Need help to delete pending orders if the 1st doesn't trigger.:

            @FX-EA You can specify an expiration time here:

            01.png

            Thanks for replying. I am aware of this option but it doesn't solve my problem. The expiry time only closes the 1st order. I want to basically close all remaining pending orders ONLY IF the 1st order expires. Else if the 1st order remains open all other following pending orders must also remain open.

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

              Set up different trees, if condition met, delete all pending orders.

              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
              • B
                BBMess @FX-EA last edited by BBMess

                @FX-EA
                This is how I've done it. Left side for Sells and right side for Buys. The "oco15" constant is only relevant to my 15th Parameter set;
                f9e43212-e256-4abf-a2a6-a645d8e807b6-image.png

                1 Reply Last reply Reply Quote 0
                • B
                  BBMess last edited by

                  This way you can turn off "One Cancels Other" if you're straddling price and not wanting to worry about a stray Pending Order.

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

                  Online Users

                  T
                  V
                  M
                  M
                  A
                  A
                  R
                  S
                  P

                  21
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors