fxDreema

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

    Close only one trade

    Questions & Answers
    2
    5
    969
    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.
    • D
      dscoles last edited by

      How do I go about closing one trade. I am opening two and want to close one of them under certain circunsatances.

      I have tried to use "close trade" and "close less profitable trade" but both of them get closed.

      Thanks,

      Dwight

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

        What is specific for that one trade that you want to close?

        1 Reply Last reply Reply Quote 0
        • D
          dscoles last edited by

          (Found what was going on)..

          I have conditions for the close... The EA closes the first trade... but the conditions are still true, so it closes the second trade too.


          In this case, it would be the last one I opened. 🙂

          I enter the trade with two entries, each at 1/2 of the amount that I would ideally use. Then, when one of the indicators has turned down (or up), I want to close one of them. If I must pick which one, then I would pick the most recent one. I actulally do not care which is closed.

          Dwight

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

            Here is how to close a single trade: https://fxdreema.com/shared/1Jqspfcib (I just sent this example to someone else, so I'm using it the same here)

            The condition is whatever it needs to be. Maybe you can use "Once per bar" or some other way to limit the execution of these pink blocks.

            1 Reply Last reply Reply Quote 0
            • D
              dscoles last edited by

              Thank you... Very informative.

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

              Online Users

              G
              E
              N
              A
              A
              C
              M
              M
              M
              E

              21
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors