fxDreema

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

    Bool condition: minimal lot size or not

    Questions & Answers
    3
    6
    169
    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.
    • M
      MT4Nutzer last edited by

      Hello community,

      I want to create a bool condition for this situation:
      The calculated lot size < the brokers minimal lot size (for example < 0.01 lot).
      If true: the EA will use the brokers minimal lot size for the trade,
      if false: the EA will not open the trade.

      Does anybody know a way to build this?

      Thanks in forward and have a good weekend!

      Greetings
      Tommi

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

        The 'true' part does not need any boolean variable. Your MT platform will automatically select the minimum lot size available on that chart when a trade is open with a lower lot size. The platform will show a pop up windows letting you know that. That makes the requested second boolean variable easier to implement. 😉

        (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
        • M
          MT4Nutzer last edited by

          I want to prevent the trade when the calculated lot size is smaller than the ninmum lot size. After the pop up window it ist too late to prevent it.

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

            @MT4Nutzer this way

            Immagine 2025-12-06 165427.png

            use the variable where you need

            1 Reply Last reply Reply Quote 1
            • M
              MT4Nutzer last edited by

              Thank you @ambrogio !
              Have a good weekend!

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

                @MT4Nutzer thanks as well! 👍

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

                Online Users

                M
                S
                T
                O
                G
                B
                A
                P
                I
                M
                M
                J
                T
                S
                T
                M

                28
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors