fxDreema

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

    Close all positions

    Questions & Answers
    4
    12
    806
    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
      Mani13 last edited by

      Hello Everyone,
      Hope you all are well.

      I want to close all the trades and pending orders on a ceratin drawdown percent of balance.
      And I have done this as below picture but it not making any difference
      Capture.PNG

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

        Does any expert help me please where I am doing wrong ?

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

          try No Trade instead of If trade block

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

            So I need to use 2 different blocks
            if trade for closing trades on profit and
            No trade for closing over loss percentage, right ?

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

              No change by the way, I tried this too now.

              1 Reply Last reply Reply Quote 1
              • M
                massoudsl last edited by

                first use a comment block to see that your DD calculate currectly or not...and for a currect DD you need to close position at the beginning. then create a robot to calculate your DD and dont open another trade... that is why I said just use no trade!!

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

                  I dont think so it gonna work this way, I already calculated the profit percentage correctly which work fine and loss percentage formula a similar way. and if we place close position before DD calculation how do close position work ?

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

                    @jstap @l-andorrà can you please help me in this ?

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

                      I won't build it for you, but tell me what you are doing and I will help you.

                      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
                        Mani13 last edited by Mani13

                        @jstap , Thank you for coming in, How are you doing friend ? I believe you will have a solution to it.

                        I want to use both percentage modes for closing at profit and loss.
                        for example if global profit is 1% of balance then close all trades and same way when global loss is 1% of balance then close all trades.

                        Profit tree is working fine but I didnt understand how to do it for loss tree.

                        I have done this thing but it didnt work

                        Capture.PNG

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

                          Please revert

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

                            am using an indicator to make make my bot but i want it to close all the open postions when a new signal comes in how do i do that

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

                            Online Users

                            A
                            M
                            B
                            E
                            S
                            M
                            2
                            M

                            20
                            Online

                            146.6k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors