fxDreema

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

    Cancel if volume too small, because I don't want to round it up to 0.01

    Questions & Answers
    3
    6
    190
    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.
    • D
      drankman last edited by

      Hi all,

      I need some helps.

      Problem: My EA is calculating order volume size based on risk percentage. So far so good, however sometimes the calculation is resulting to smaller than 0.01 (the metatrader standard minimum), then broker round it up to 0.01.

      For example: For US30, the EA calculated that the volume should be 0.003, because it isn't possible, the broker round it up to 0.01.

      Request: Is there any function that can identify the volume size, so if the volume size is smaller than 0.01, I better not taking the order at all instead just round it up.

      Any helps would be appreciated!

      Thanks!

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

        @drankman Yes, you can do this:

        01.png

        You are requiring the bot to use lot sizes bigger or equal to 0.01 to move to the next block.

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

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

          @drankman I think you are using the native function inside the buy/sell blocks, right? In this case, in my opinion, there is no way to prevent the lot from being rounded and triggered. Sure, instead, you can calculate the lot size via formula blocks, then set a lot size condition just above the buy/sell blocks. (These calculations are a matter for programmers)

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

            @l-andorrà thank you!
            I'll try this one next week. i'll let you know how it goes.

            @ambrogio yes, I am using the function inside buy and sell block, thats actually my problem.
            I have similar idea with what you mentioned, I ll try that one.

            Thank you both! 🙂 have a great weekend

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

              @drankman you're welcome!

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

                @drankman You're welcome.

                (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
                H
                T
                S
                A
                S
                I
                H

                12
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors