fxDreema

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

    Why my EA always opens 2 pending orders? Please take a look at my ea

    Questions & Answers
    3
    13
    1698
    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.
    • ankitrader
      ankitrader last edited by

      Hello guys this is my EA
      https://fxdreema.com/shared/IFidHIiqe

      I have only one condition after which I want the EA to open pending orders 5 pips apart from each other.
      Also, OCO is actvie.

      But my ea always opens 2 buy pending and 2 sell pending orders. As shown in the picture. I feel there is something wrong with the pending order block.
      0_1603899276375_fe73d235-320a-4843-b325-2574354750f8-image.png

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

        @ankitrader Is this the whole project or just a part of it? The logix is correct. One one buy and on sell should be programmed?

        (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 0
        • ankitrader
          ankitrader last edited by

          Yes I want to only go ahead with the idea if things work out now. Or there is no point in trying.

          I did not understand your question sell should be programed?

          I want the EA to:
          open one buy order at 2.5 offset and sell at 2.5 offset
          but the EA always makes 2 buy and 2 sell orders

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

            I feel either there is a problem with my MT4 setting or the pending order block.
            please try on your MT4 and let me know. @l-andorrà

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

              @ankitrader Sorry for my text corrector. 🙂 What I mean is that your logic is correct. There should be one trade only and not for a buy and a sell. Probably the file is corrupt. I recommend to reabuild the whole project in a new file.

              (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 0
              • ankitrader
                ankitrader last edited by

                @l-andorrà I have tried few times it does not work. I really feel their is an issue with the buy sell pending blocks.
                You can try it too.

                1 Reply Last reply Reply Quote 0
                • roar
                  roar @ankitrader last edited by

                  @ankitrader OCO order literally means 2 pending orders.
                  0_1604001805170_a6aeda4b-56b5-4ba6-a706-3890eaa3045e-image.png

                  Need small help? Tag me in your post
                  Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                    @roar please go through the problem properly.

                    roar 1 Reply Last reply Reply Quote 0
                    • roar
                      roar @ankitrader last edited by

                      @ankitrader OCO duplicates your 2 orders. 2*2=4.

                      You dont need OCO here, just disable it

                      Need small help? Tag me in your post
                      Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                        0_1604068719340_ec65f47a-4615-4fe4-a5da-eab10a891909-image.png
                        you the best! @roar

                        But now the question lies, how can I delete the order when one of them is triggered?
                        Thanks buddy!

                        roar 1 Reply Last reply Reply Quote 1
                        • roar
                          roar @ankitrader last edited by

                          @ankitrader for example,
                          if trade -> delete pending orders
                          or
                          pending orders count != 2 -> delete pending orders

                          Need small help? Tag me in your post
                          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                            @roar said in Why my EA always opens 2 pending orders? Please take a look at my ea:

                            @ankitrader OCO duplicates your 2 orders. 2*2=4.

                            You dont need OCO here, just disable it

                            I didn't know that! 😮 Impressive...

                            (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 0
                            • ankitrader
                              ankitrader last edited by

                              @roar thanks mate

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

                              Online Users

                              K
                              K
                              E
                              S
                              I
                              G
                              F
                              A
                              I
                              E
                              D
                              O
                              A

                              29
                              Online

                              146.6k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors