fxDreema

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

    Closing losses without a SL

    Questions & Answers
    2
    5
    60
    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
      funfx last edited by

      Hiya all,

      I am trying to make an ontick condition that when the loss on trades get to a specified amount it will close all open trades.
      Here is the link to the project -
      https://fxdreema.com/shared/cMotyOKue

      I am looking at these blocks in specific and need some help in working the condition correctly. Anybody have experience with this?

      408d0566-6af8-49bc-9a53-b4bb9e6214e0-image.png

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

        Light pink blocks only work under a for each block.

        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
        • F
          funfx last edited by

          thanks, I amended the blocks, formula and conditions as well, but it looks like it cannot be tested on the backtester and I will need to test it on a demo to confirm if its working

          thanks for the input

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

            Can be tested on back test

            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
            • F
              funfx last edited by

              Thank you, this works to close the trade off, however it only closes the trade when one of the trades make the specified loss.
              I am trying to work it so that the loss of all trades are taken as a group for that specified amount either in deposit currency or in a percentage of the balance and then it should close all the trades.

              eg. On a balance of $100k if total loss reaches $10k close all trades
              currently its working that only if one of the trades reaches $10k it will close all trades - so 1 trade is closing at $10k but the other trades are also in there own losses and closing at 8k, 5k, 3k, 1k etc for a total loss of over $10k

              I have tried setting a condition that if the equity drops below a certain amount then it should close all trades but that had not worked

              Any suggestions?

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

              Online Users

              J
              S

              8
              Online

              147.0k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors