fxDreema

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

    when a position is closed to close and a pending order

    Questions & Answers
    3
    6
    306
    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.
    • Z
      zT3k last edited by

      Hello, i tried a lot but i don't understand how to do that

      i want to make a expert advisor, that when are placeing a buy position are placing and a pending sell stop order too, everything fine till here

      but in case if this buy position are closed (by me, or by take profit) i want to be closed and this sell stop order too. how can i do that?

      is about a specific one position, because i will elaborate this strategy, and in some cases will have 3-4 positions opened, and when a specific one position is closed, i want to close and stop order too

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

        There is a light blue block to delete all pending orders. Try have a look.

        1 Reply Last reply Reply Quote 0
        • Z
          zT3k last edited by

          i tryed in different variations like that ...
          Untitled.png

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

            Since you use No Position block, and want to delete all, everything, do you still need to count the trades?

            1 Reply Last reply Reply Quote 0
            • Z
              zT3k last edited by zT3k

              I want cancel a specific pending order, when a specific position was closed (by me or by take profit)

              My EA are placeing a position with TP and a pending order. In case if this position was closed, i want to be canceled pending order if was not feeled, and to place other one position in same conditions

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

                If closed by you you can just push the x in your terminal. On the on trade tab, trade closed (purple block) - close/delete will delete if trade action has happened

                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
                A
                A
                C
                M
                M
                M
                E
                J
                K

                20
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors