fxDreema

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

    Closing orders upon reaching a profit

    Questions & Answers
    2
    4
    236
    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.
    • B
      bgvulk last edited by

      Hello, I'm trying to do the following: Let's say I have 10 open buy orders and one sell order that is at a loss. How can I calculate all the buy orders that are in profit and the sell order that is at a loss simultaneously, and upon reaching a profit of, for example, 10 pips or 1 dollar, to close only those orders? Is it possible to do this with the fxdreema without coding?

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

        You probably need check profit (unrealised) - close all

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

          No, I want it to close only the buy orders that are in profit and the single sell order that is at a loss. The other buy orders that are at a loss should not be closed. With what you are suggesting, it will try to close all the orders together.

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

            You will need various trees so if trade is in loss close and close all profitable opposite trades, you can backtest this, and add a shared link if it's not doing as you want

            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

            A
            L
            O
            S
            E
            J
            D
            M
            X
            K
            E
            D

            22
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors