fxDreema

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

    My EA does not close losing positions sometimes???

    Questions & Answers
    4
    8
    651
    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.
    • piotras10000
      piotras10000 last edited by

      My EA doesn't close losing positions sometimes and I don't know what the reason is? Can any of you have a look at my project, maybe I made a mistake. I will be grateful for your help.

      https://fxdreema.com/shared/fhtMWzFyd

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

        @piotras10000 Quick note: Block 5 is unnecessary as there are two blocks connected below. That reason why trades are not closed when condition is true is due to that 'once per bar' block on top. Remove it and it will work normally.

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

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

          @l-andorrà Are blocks 23, 20, 22 correctly connected, because these two blocks are also supposed to close losing positions?

          Does block numbers in order matter?

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

            @piotras10000 I can't see any of those blocks in your project. And yes, block numbers are determining the order execution when when positioned on top of each tree and below a previous one when more than two are connected to the same one.

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

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

              @l-andorrà You can show in the picture which blocks are responsible for closing losing positions?

              1 Reply Last reply Reply Quote 0
              • Monaco
                Monaco Banned @piotras10000 last edited by

                @piotras10000 The reason is very simple, the ea uses groups to recognize its operations, so you did not use this, what you did is place your trailing and tell it there that all open orders manually or EA modify them, so to be able to manage each 1 of them you must give 1 number (Really any variable would work (even string) to be able to later manipulate each purchase or sale as you decide, if you look I put group 1 purchase group 2 sale, so then in the closing block I use groups 1 ,2 of buy, sell close them when their condition passes. And leave the trailing as you had it so you can compare and see your mistake.0_1649292883714_Screenshot_20220407-025009_Microsoft Remote Desktop.jpg

                piotras10000 TipsyWisdom 2 Replies Last reply Reply Quote 0
                • piotras10000
                  piotras10000 @Monaco last edited by piotras10000

                  @realjoker Okey thanks. I Hopefully my EA will close every losing position from now on

                  1 Reply Last reply Reply Quote 0
                  • TipsyWisdom
                    TipsyWisdom @Monaco last edited by TipsyWisdom

                    @realjoker said in My EA does not close losing positions sometimes???:

                    @piotras10000 The reason is very simple, the ea uses groups to recognize its operations, so you did not use this, what you did is place your trailing and tell it there that all open orders manually or EA modify them, so to be able to manage each 1 of them you must give 1 number (Really any variable would work (even string) to be able to later manipulate each purchase or sale as you decide, if you look I put group 1 purchase group 2 sale, so then in the closing block I use groups 1 ,2 of buy, sell close them when their condition passes. And leave the trailing as you had it so you can compare and see your mistake.0_1649292883714_Screenshot_20220407-025009_Microsoft Remote Desktop.jpg

                    I would suggest handling all trades as long and short instead of group numbers. As long as you have Group Mode All selected, you don't have to worry about a group # unless you do enter one in any of the original blocks. But once you do, be prepared to handle that group number separate from everything else. Its been a while, but I showed proof once to some colleagues that even those with a group # were not being handled by the "All" group mode.
                    I mean everything....if positions, close position, trail...each will need a separate group tree.
                    If you just keep it simple with longs and shorts, its much easier to handle because the Buy or Sell only selection works without hesitation.

                    To that affect though, for the original poster, just put everything to All and it will work fine with the trails and closed trades.

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

                    Online Users

                    M
                    R
                    F

                    13
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors