fxDreema

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

    Unreliable onTrade filter events on MT5

    Bug Reports
    4
    14
    2738
    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.
    • N
      nilsen last edited by

      Hi, I'm having problems using onTrade filter events on MT5.

      Those work sometimes, sometimes doesn't.

      This doesn't happen on MT4 and I cannot figure out the cause.

      In this example, I put a SL and TP when opening a position. Sometimes the SL and TP is set, and other times not. It should work always! 😞

      https://fxdreema.com/shared/Lm2U59LNd

      Greetings.

      A T 2 Replies Last reply Reply Quote 0
      • A
        ambrogio @nilsen last edited by

        @nilsen said in Unreliable onTrade filter events on MT5:

        Hi, I'm having problems using onTrade filter events on MT5.

        Those work sometimes, sometimes doesn't.

        This doesn't happen on MT4 and I cannot figure out the cause.

        In this example, I put a SL and TP when opening a position. Sometimes the SL and TP is set, and other times not. It should work always! 😞

        https://fxdreema.com/shared/Lm2U59LNd

        Greetings.

        Yes, it happens to me too, a couple of times it modifies the stops and then it doesn't work anymore. Is it a bug @FxDreema ?

        1 Reply Last reply Reply Quote 0
        • T
          trader.philipps @nilsen last edited by

          @nilsen Did you check the logs in mt5? Also check minimum stop level of the instrument. I'm on mobile at the moment and can't open the blocks in your project. So it's just a guess.

          I like to share my knowledge, but expect the others to contribute as well.

          N 1 Reply Last reply Reply Quote 0
          • N
            nilsen @trader.philipps last edited by nilsen

            @trader-philipps Stops are 50 pips, so no problem with that. I've checked the logs and there are no errors. When SL is applied, a modify line apperars on the log. When not, that modify line is missing. It's very random.

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

              MT5 if FAR less efficient than MT4 in fxDreema. Unfortunately it's very buggy :(.

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

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

                @l-andorrà It's a real shame because MT5 is much more reliable on the data and on stability.

                MT4 is very unstable in comparisson on my experience.

                I need to use MT5 because my broker has server occasional overflows on MT4, causing some hangs that can last for minutes, and this can be very dangerous...

                In the other way, using the same broker, on MT5, the client is 100% reliable and stable.

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

                  This problem is already known by the administrator, but apparently he is not specially motivated to fix it, I'm afraid. 😞

                  (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
                  • N
                    nilsen last edited by

                    Anyone could point me to some MQL5 code to do that?

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

                      @nilsen Try a similar way in "on tick" tab

                      0_1579991349242_Cattura.png

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        nilsen @ambrogio last edited by

                        @ambrogio Thank you, works perfectly!!!!!

                        1 Reply Last reply Reply Quote 1
                        • N
                          nilsen last edited by nilsen

                          I've contacted fxdreema by mail and he helped me with the solution to this problem:

                          onTrade events are not reliable when trades are manually launched. So if those trades are launched from the EA, those work perfectly.

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

                            @nilsen said in Unreliable onTrade filter events on MT5:

                            I've contacted fxdreema by mail and he helped me with the solution to this problem:

                            onTrade events are not reliable when trades are manually launched. So if those trades are launched from from the EA, those work perfectly.

                            I didn't know that. Did he say how to fix that manual trades problem?

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

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

                              @l-andorrà No, but it can be easily managed just using buttons to launch the orders

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

                                @nilsen said in Unreliable onTrade filter events on MT5:

                                I've contacted fxdreema by mail and he helped me with the solution to this problem:

                                onTrade events are not reliable when trades are manually launched. So if those trades are launched from the EA, those work perfectly.

                                To manage manual orders you must specify it in the "group" field

                                0_1581184393964_Cattura.png

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

                                Online Users

                                S
                                T
                                A
                                Y
                                H
                                B
                                K

                                17
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors