fxDreema

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

    Partial closure on MT5 doesn't round lot size to a valid value

    Bug Reports
    3
    6
    1487
    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.
    • T
      trader.philipps last edited by

      I was just adding the scale out to my project which is done by partial closure. However, fxdreema doesn't round to a valid lot size and I see the following error in the log

      0_1586391230594_e6fc00fa-2e61-4525-9347-a8fdd223cc7b-image.png

      Here is the corresponding block.

      0_1586391297211_0cc8b0b2-f466-4a10-9747-e083b92ec106-image.png

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

      X 1 Reply Last reply Reply Quote 0
      • X
        Xfire @trader.philipps last edited by

        @trader-philipps Hi. can you share your project?
        i see you have a message for retrying in 5 s maybe your broker have problem with your EA

        IN GOD WE TRUST

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

          I'm afraid you will need to round the lot size value before closing the trade partially. I remember a problem like this a long time ago and I don't remember there was a solution for it. But my memory is not as good as before, obviously. 😉

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

          T 1 Reply Last reply Reply Quote 0
          • T
            trader.philipps @l'andorrà last edited by

            @l-andorrà Yeah, looks like. Thought it was so easy to just use that block. I think in MT4 it works fine.

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

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

              @xfire said in Partial closure on MT5 doesn't round lot size to a valid value:

              @trader-philipps Hi. can you share your project?
              i see you have a message for retrying in 5 s maybe your broker have problem with your EA

              Sorry, can't share it here. But it is easy to reproduce. Choose an uneven lot size and partly close 50%.

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

              X 1 Reply Last reply Reply Quote 0
              • X
                Xfire @trader.philipps last edited by

                @trader-philipps good luck rich man 😉

                IN GOD WE TRUST

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

                Online Users

                M
                D
                A
                M

                14
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors