fxDreema

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

    Pending Orders Run Twice

    Questions & Answers
    2
    11
    1015
    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
      acealert last edited by

      Greetings, I just landed on fxdreema and applied some rule which is:
      if there is 1 running trade and 0 pending orders, then modify TP and next open 3 pending orders in grid + 1 pending orders
      0_1636377473443_1.PNG
      on trial, I got 8 total pending orders with last 4 pending orders no TP set up
      Those last 4 pending orders shouldn't be created, just open first 4 pending orders

      here is my blocks (it located ontrade)
      0_1636377759317_2.PNG

      what action should I add to prevent duplicated pending orders?

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

        @acealert said in Pending Orders Run Twice:

        Greetings, I just landed on fxdreema and applied some rule which is:
        if there is 1 running trade and 0 pending orders, then modify TP and next open 3 pending orders in grid + 1 pending orders
        0_1636377473443_1.PNG
        on trial, I got 8 total pending orders with last 4 pending orders no TP set up
        Those last 4 pending orders shouldn't be created, just open first 4 pending orders

        here is my blocks (it located ontrade)
        0_1636377759317_2.PNG

        what action should I add to prevent duplicated pending orders?

        Okay, now I'm able to prevent pending orders create twice by using "trade created" block, but now TP for pending orders are empty (need to be same as running trade)
        0_1636391971264_1.PNG

        The blocks are (ontrade)
        0_1636392002731_2.PNG
        0_1636392100486_3.PNG

        So, any hint how to set TP correctly then?

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

          @acealert Can you please share the link to the project? That will be easier to check the issue?

          (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
            acealert @l'andorrà last edited by

            @l-andorrà please have a look https://fxdreema.com/shared/59UwKErZc

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

              @acealert I'm afraid I do not understand what that custom code does but if I understand the strategy correctly, there should be one only open buy and no pending orders for a new buy to be open? On the other hand, I don't see any of the structures of the previous screenshots in the project. Is it the complet project or just a part of it?

              (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
                acealert @l'andorrà last edited by acealert

                @l-andorrà
                The rule are:
                open manually buy/sell at market order
                then EA will:
                set TP for that market order
                create limit orders with TP same as running trade that opened manually

                but right now, EA failed to set TP for all limit orders

                yes, these are part of project, I'm not sure to open source publicly. But I can assure you no logics which been deleted affecting the bug (I re-test it, and still produce same bug, cannot set TP for limit orders)

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

                  @acealert But then how are the first TP distamces calculated? If you open a trade manually, will it have SL and TP? Are those TP and SL levels then used for the new open prices for the pending orders? And how are those level supposed to be calculated then? I'm afraid I'm missing something.

                  (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
                    acealert @l'andorrà last edited by acealert

                    @l-andorrà when I enter market order, EA will set TP for my manual order fix by pips. For example 79.000 market order buy, EA will set TP at 79.300 (fix 30 pip)
                    then for limit orders, they would have to read those 79.300 as TP

                    I'm not using SL

                    The EA able to do that at first, but they create double limit orders. One with TP as expected , one with no TP (see 1st post and 1st picture)

                    But after I add "trade created" block, limit orders with TP were gone but not with the one (no TP)

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

                      @acealert Ok. Then you can do this on the 'on init' tab:

                      https://fxdreema.com/shared/lrxbUG02d

                      That will open the first buy (you can add a sell there if necessary). Then both TP and SL price levels will be stored so that you will be able to use them as ope price for any future pending order.

                      (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
                        acealert @l'andorrà last edited by

                        @l-andorrà Alright, I'll try on open market tomorrow. It shouldn't open buy automatically when attach on chart right? First open trade should open manually by me

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

                          @acealert 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.

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

                          Online Users

                          H
                          S
                          A
                          E
                          K
                          D
                          P
                          T
                          J
                          N
                          K
                          D

                          21
                          Online

                          147.2k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors