fxDreema

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

    Close Pending after TP

    Questions & Answers
    3
    6
    360
    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.
    • M
      mohsenimi last edited by

      Hi
      i have a ea that everytime conditions triggers a position and 2 pendings creates
      for SL its ok cuz 3 positions have same TP & SL
      but when it open one or two orders and there is still one pending and price touches TP the pending still there
      and i want every time tp triggers it delete orders

      i tried to use

      if position -> for each closed position -> delete pending orders

      but it not workd

      can someone help?

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

        Can you share a link to your project so we can see...?

        Projects>Create A Shared Copy

        Regards*

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

          on tick tab - nontrade/order
          on trade tab - position created (purple block) - place pending

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

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

            @jstap said in Close Pending after TP:

            on tick tab - nontrade/order
            on trade tab - position created (purple block) - place pending

            Yes but I think he wants to delete remaining pending orders when trades are closed....

            Sounds like he may be using Group Numbers or needs to select 'No Matter How' in the Trades Closed block....

            Regards*

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

              Ok then: on trade purple trade action - delete pending

              on the on trade tab it doesn't really matter it is just if "this" happens "do" this...

              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
              • M
                mohsenimi @Morpheus_0 last edited by

                @Morpheus_0 @jstap
                thanks,
                yes I confused about how to explain closed trades
                it worked

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

                Online Users

                T
                B
                A
                P
                A
                A

                19
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors