fxDreema

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

    how to open multiple orders in my EA?

    Questions & Answers
    3
    24
    3128
    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.
    • J
      joe_fx last edited by joe_fx

      I am creating a very simple EA. My EA will open a buy order when RSI crossover above level 30 with TP: 100 pip and SL: 100, but if it does not reach the TP, I would like it to open a new order if RSI returns to level 30. Same goes for Sell orders ( level 70).
      how should i do?

      Thanks!
      0_1632814482105_fx dreema.png

      jstap l'andorrà 2 Replies Last reply Reply Quote 0
      • jstap
        jstap @joe_fx last edited by

        @joe_fx Make the no trade block separate so you have 1 for buys and one for sells, copy your buy & sell blocks, past in a new tree, above place a check trades block, and put your condition blocks above. You can put an if trade above all for buy & and sell if you want, no trade will prevent any trades if one is already running.

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

        J 1 Reply Last reply Reply Quote 0
        • l'andorrà
          l'andorrà @joe_fx last edited by

          @joe_fx You need to be more specific when defining the meaning of 'returns to level...', because that can happen several times per minute ir RSi is hitting that level. It can move up and down many times within that same candle.

          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

          J 2 Replies Last reply Reply Quote 0
          • J
            joe_fx @jstap last edited by

            @jstap Thanks for the answer but I didn't understand how to do it. if you can make me understand better with an example.

            1 Reply Last reply Reply Quote 0
            • J
              joe_fx @l'andorrà last edited by

              @l-andorrà 0_1632830370831_Fxdreema RSI.jpg

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

                @joe_fx Put a shared link here and I'll show you.

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

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

                  @jstap https://fxdreema.com/shared/3CMbxVMPd

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

                    @joe_fx THIS is how I would do it, not tested but should work fine.

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

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

                      @jstap Yesterday I tested it in a period where there are 4 buy signals.The first is opened without problems, the second is opened twice, but the third and fourth RSI signals are not opened.
                      Today I can't load the expert. What happen?

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

                        @joe_fx This is likely because of the 3rd buy/sell tree, probably opening when no need to? put the 2nd and 3rd tree together, this way logically thinking EA can only open trades when conditions are met. If you still struggle put the latest project shared link here and I'll have a look.

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

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

                          @jstap https://fxdreema.com/shared/dkw4gU3oe
                          Unfortunately it doesn't work. I don't understand how to continue.

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

                            @joe_fx link some of your signals aren't registering, use the link and get your conditions registering, each 1 will count and show on back test, once this is doing as needed the EA will place trades.

                            0_1633011388119_fae3432f-6719-4524-8a6a-985b8614b763-image.png

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

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

                              @jstap I'm sorry but being a beginner I don't understand what you mean, I don't know how to move. Still, I think it is a simple EA, but it is becoming something, for me at least, impossible. I'd like to read a guide, because the examples on the site don't help me.

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

                                @joe_fx I agree that information on what to di id hard to find, the link above will give you the EA I changed, if you press the MQ button then import back into FX you will get the project, you can then make changes, test on back test until you get enough condition counts to be happy, then you can add in the rest of the desired positions.

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

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

                                  @jstap Hello. thank you for the help but i don't understand how to solve the problem starting from your ea. So, I decided to start from the beginning. EA opens a first buy order and I put a stop at level 40, to understand if closing the order could open a subsequent buy order. Indeed, the second order is opened but continuously. How can this situation be resolved? can you make me understand why the first order does not open the buy order continuously, while the following one does?
                                  In your opinion, does it take a for loop?

                                  jstap 1 Reply Last reply Reply Quote 0
                                  • J
                                    joe_fx @l'andorrà last edited by

                                    @l-andorrà said in how to open multiple orders in my EA?:

                                    You need to be more specific when defining the meaning of 'returns to level...', because that can happen several times per minute ir RSi is hitting that level. It can move up and down many times within that same candle.

                                    I mean at the close of the candle. If RSI crossover above level 25, for example, open buy, with TP: 100 and SL: 100. If it does not reach the TP or SL and RSI crossover above level 25 again, open another order with TP: 100 and SL: 100, keeping the previous one open, and so on. I hope I was helpful.

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

                                      @joe_fx Use THIS LINK it's what is in the link above.

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

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

                                        @jstap I made some changes and now EA works, but I have an initial problem. The first order is always opened twice, it also happens in the SELL phase. I tried to solve with a variable, like you did, but it doesn't work. Where am I wrong?
                                        https://fxdreema.com/shared/mLySbtime

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

                                          @joe_fx Your second tree is true on the same candle, you need a condition to separate where trades are being placed, the ea works in fractions of a second, once 1st trade is placed it places the second because the conditions are true..

                                          You do not need ==true because this is already in the 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
                                          • J
                                            joe_fx last edited by

                                            I still haven't been able to figure out how to fix my problem. Please, is there anyone who can fix it?

                                            l'andorrà jstap 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Online Users

                                            E
                                            S
                                            D
                                            R
                                            E
                                            O
                                            B
                                            M
                                            B
                                            诸
                                            A
                                            J
                                            H

                                            24
                                            Online

                                            146.9k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors