fxDreema

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

    Put an opposite order per trade received

    Questions & Answers
    2
    7
    421
    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.
    • U
      Uriel 0 last edited by

      Hello, I'd like to know how can i put an opposite order per trade on my account. For example, if i put a buy order, inmeditaly open a sell order (but just one opposite trade per trade opened). And apply this on viceversa= if sell order... buy now

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

        @uriel-0 On trade tab, purple trade created block, underneeth the opposite buy/sell.

        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! 😊

        U 1 Reply Last reply Reply Quote 0
        • U
          Uriel 0 last edited by

          Something like that? Doesn't work 😞
          shared/E3UhzMIld

          1 Reply Last reply Reply Quote 0
          • U
            Uriel 0 @jstap last edited by

            @jstap https://fxdreema.com/shared/E3UhzMIld

            0_1633458495971_e5e46f40-a4b8-40d4-b1cd-034ebcbe741f-image.png

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

              @uriel-0 This is what mean and it does work, you don't need the pass blocks, change the buy tree to sell trade created. Have you got a trade placed on the on tick function? this will only work if the opposite trade is placed.

              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! 😊

              U 1 Reply Last reply Reply Quote 0
              • U
                Uriel 0 @jstap last edited by

                @jstap yes, yesterday i got it. Right now i have another problem... How clasify trades to be 1 per one. Because when there are a buy on any active, the EA make the opposite, but when there some many trades, and with just one closed, EA close all opened by it.

                Ex.
                Buy on EURUSD: EA put a Sell... If manually close the buy, EA close the sell... Is OK

                The problem is when there are multiples trades. For example:
                Manually: Buy EU
                EA: Sell EU
                M: Buy EU
                EA: Sell EU
                ....
                Manually one Buy EURUSD is closed... EA close all the opposite trades. And I don't want that 0_1633538764305_IMG_20211006_114044_725.jpg

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

                  @uriel-0 This is done by the logic used in each block, every time you buy/sell you can set a group number, this number can be used for things like close/trail so trades are controlled separately to the others.

                  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

                  F
                  R
                  S
                  D
                  V
                  O

                  14
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors