fxDreema

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

    Help With An OCO Order EA

    Questions & Answers
    5
    25
    1569
    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.
    • A
      AlexisC25 last edited by

      Hey guys! I'm a bit stuck on this EA. My goal is to create an EA that opens an OCO order when the HMA Trend line changes colors, then after the trade is placed from one pending order, it places a specified amount of corresponding trades. After the take profit is hit on the trades, the loop at the end should close all the trades from oldest to newest. So far its been a battle to just get it to open the OCO orders. Can anyone help?OCO EA.mq4

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

        @AlexisC25 Can you please share the link to the project instead of uploading the file?:

        01.png

        (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.

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

          @l-andorrà hi! Sorry for the late reply. I kinda gave up on that one, but I have another one I'm working on if you don't mind helping with it? It's really difficult to make a FiFo compliant ea with this lol

          1 Reply Last reply Reply Quote 0
          • A
            AlexisC25 @l'andorrà last edited by

            @l-andorrà here's the link to the shared copy of the New EA I'm working on! https://fxdreema.com/shared/3ptPXowfd

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

              @AlexisC25 Ok. But what do you need now exactly?

              (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.

              A 1 Reply Last reply Reply Quote 0
              • A
                AlexisC25 @l'andorrà last edited by

                @l-andorrà I'm stuck because it literally doesn't place any trades. I'm not really sure what I did wrong. The idea is to scalp with the fast HMA (HMA 1 open and close on color change/angle) but only in the direction of the main trend as confirmed by the Slow HMA. It uses the ADX to confirm trend strength. Somehow I messed it up and it's not placing any trades still. It also must be FiFo compliant so I've been trying to do that too.

                1 Reply Last reply Reply Quote 0
                • A
                  AlexisC25 last edited by

                  I should also point out that if there is a trade opened, I don't want it to place another trade.

                  1 Reply Last reply Reply Quote 0
                  • A
                    AlexisC25 last edited by

                    So I think I've completed it! Don't see a reason it shouldn't work now, but haven't tested it yet. Here's the link in case anyone wants it or I can upload it to MQL5 or something. https://fxdreema.com/shared/xPpCNLRM

                    1 Reply Last reply Reply Quote 0
                    • A
                      AlexisC25 last edited by

                      I've also made a trade copier (same currency, same terminal) Essentially a trade multiplier! It detects the trade placed from a different EA on the same currency and places a specified amount of trades, then when the other EA closes the trade, it also closes the trades made by the copier in order from oldest to newest. Both EAs follow fifo rules as far as I know. Again still havent tested them but they were pretty easy to make once I explored the builder a bit more.

                      1 Reply Last reply Reply Quote 0
                      • A
                        AlexisC25 last edited by

                        Trade Copier: https://fxdreema.com/shared/ByKlfqmXb

                        VHV-Profit-Masters l'andorrà R 3 Replies Last reply Reply Quote 1
                        • VHV-Profit-Masters
                          VHV-Profit-Masters @AlexisC25 last edited by

                          @AlexisC25 Gracias por compartir tu EA, seria super genial si compartes un video explicandonos como funciona, esto de la copiadora es un proyecto super interesante, estuve revisando el proyecto en fxdreema y no logro comprender como y donde ingresas los datos de la cuenta madre y de la o las cuentas que copian las operaciones... como se da el enlace exactamente? si es de forma remota o solo local?,, etc.

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            AlexisC25 @VHV-Profit-Masters last edited by

                            @DragonZueloTrends Hi! So because it would be on the same currency, the idea is that it should pick up on the trade. It should be on the same currency, different chart, same terminal. Not exactly sure if it works but it was just an idea! I'm still new at using the builder. 😁

                            VHV-Profit-Masters 1 Reply Last reply Reply Quote 0
                            • VHV-Profit-Masters
                              VHV-Profit-Masters @AlexisC25 last edited by

                              @AlexisC25 Ah comprendo, igual gracias por compartir, es mucho mas de lo que hacen muchos aqui... yo estoy intetando hacer un EA que filtre horarios de mercados de Asia, NY y Londres, para operar en la KILLZONE usando ITC y SCM

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

                                @AlexisC25 Thank you very much for sharing.

                                (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.

                                1 Reply Last reply Reply Quote 1
                                • R
                                  RGoo @AlexisC25 last edited by

                                  @AlexisC25
                                  6808fda8-d6ce-440d-9ec9-6bf6783834fa-image.png

                                  In most cases it is not wanted that the EA only checks the conditions once at the beginning of the new candle. Often it is wanted that several positions are not opened in a row. To do this you have to do this "once per candle" directly in front of the buy or sell order set

                                  RGoo

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    AlexisC25 @RGoo last edited by

                                    @RGoo Wouldn't that mean that it'll wait until the next bar to go through with the rest of the loop though? Could you please explain in a little more detail if you have time?

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

                                      @AlexisC25 Backwards, at the top, means it will check once per bar before the next blocks, so any that are false means it will have to wait until the next bar to be checked again, at the bottom all blocks are checked, and then when all are true, once per bar is activated before blocks that are always true.

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

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

                                        @jstap Oh! So should I do that with all of my projects then or is it just for this instance? Thanks for explaining!

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

                                          It depends on whether you want a block only checked once per bar, or after something happens. I use both depending on what I want to happen.

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

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

                                            @jstap Okay. So either way it wont hurt any logic, it'll help it pass through as needed. It won't effect any loops that need to pass a specified number of times either?

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

                                            Online Users

                                            S
                                            G
                                            L

                                            16
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors