fxDreema

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

    stop-loss with double the current position

    Questions & Answers
    2
    9
    1002
    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.
    • L
      Leandro Allmer last edited by

      can anyone help me? I need to make a loop with stop-loss at twice the current position but do not want to use "pending order". Even managed to do but when triggers the "break even" it loses the loop and unset. I want a loop reversing position when reaching the "stop-loss". For example if I am purchased with 1 lot, to achieve the "stop-loss" sells 2 lots, it closes the buy position and opens a position to "sell" at the same time.

      PS: Sorry my English, I am Brazilian and I am using google translator

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

        Something like this? https://fxdreema.com/shared/hlB3XAaMb

        1 Reply Last reply Reply Quote 0
        • L
          Leandro Allmer last edited by

          Thank you for your attention but I got a configuration that is working perfectly, even got an alternative way to use "breakeven". Now I am facing difficulty in closing the position when it reaches a certain value on the day (gain of the day). Before was running normal, now he only considers the current position.

          1 Reply Last reply Reply Quote 0
          • L
            Leandro Allmer last edited by

            I'm using the block "check profit (period of time)" but is not working.
            https://fxdreema.com/builder/

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

              Check profit (period of time) check the profit made from closed positions. To check the profit from currently running position, try Check profit (unrealized)

              1 Reply Last reply Reply Quote 0
              • L
                Leandro Allmer last edited by

                But as I do to get the sum of the closed and open positions? I need you to shut down the EA when the total balance of the day (closed and open positions) reaches a certain amount.

                I realized that this issue has been discussed several times in the forum, but I've tried everything and could not. Lack just that to complete the EA.

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

                  I will add option in this block to also work with the current trades

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

                    No need to do that. The block already counts the profit of the current trades when Time2 is the current time (or empty) - https://fxdreema.com/shared/AGOKgjvad

                    1 Reply Last reply Reply Quote 0
                    • L
                      Leandro Allmer last edited by

                      __I will add option in this block to also work with the current trades[/quote:2upew5tq]

                      thank you!

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

                      Online Users

                      M
                      L
                      T
                      A

                      11
                      Online

                      146.8k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors