fxDreema

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

    Close all operations when profit is X

    Questions & Answers
    3
    4
    675
    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.
    • E
      eos3000 last edited by

      Hello!
      Imagine that I have opened several trades in several currencies.
      When the sum of all profits of trades in all currencies rich some profit ( +200 pips or 2$, for example), all operations must be closed.
      What blocks should I use? 😏

      Thanks in advance.

      Regards

      ......
      Captura de pantalla 2015-11-04 a las 8.14.45.png

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

        https://fxdreema.com/shared/zGWM6Ohrb

        1 Reply Last reply Reply Quote 0
        • I
          imagine2021 last edited by

          I thought that using a formula like you shared would only calculate profit and then close all trades for the single currency pair to which the EA was attached to, in which case, neither one has reached $2 yet. At least that's how I see it's been working for me. Are you suggesting that it should close both the eurusd and usdchf trades in his example?

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

            Well, I think I missed to also set "Any market" in "Close trades, then it will close everything: http://prntscr.com/91s6mr

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

            Online Users

            J
            B
            D
            E
            J

            18
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors