fxDreema

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

    Round decimal numbers?

    Questions & Answers
    3
    6
    1279
    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.
    • F
      fxmich78 last edited by

      Hello,has anyone found a way to round the decimal?0_1593088282750_NEW.png

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

        @fxmich78 Here you have it:

        https://fxdreema.com/forum/topic/6236/how-to-roundup-numbers/3

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

        F S 2 Replies Last reply Reply Quote 0
        • F
          fxmich78 @l'andorrà last edited by fxmich78

          @l-andorrà Thank you very much!
          But i do not have anywhere variables.I just have blocks which draw prices(e.g candle size in pips )

          1 Reply Last reply Reply Quote 0
          • S
            StantonHitz last edited by

            The number in your picture is the profit. What profit is this? Is this the closed trades, Or the current open trades? What ever it is, put this value into a variable. Then use that variable in the code.

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

              @l-andorrà Soif we want decimal places I would type "Variable=MathRound(Variable,2);"
              Is this correct? Because I have been trying to use the NormaizeDouble function and I have not been successful at it.

              I plan to use "Variable=MathRound(Variable,Input);" because I will use the bot in different account currencies so if I own Fiat, then 2 decimal place but if the account is in crypto then I need to increase the decimal places accordingly. Is this method correct?
              I tried NormalizeDouble(Variable,2); and it did not work in my code
              0_1593171792134_205beb33-7d8d-4c2a-b5c5-b80583d75565-image.png

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

                @stantonhitz Honestly, I found the solution through the search engine. I remembered someone els asked for it, but I have no idea how to use it, sorry. Sadly, I'm not a programmer. 😞

                (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

                J
                B
                A
                T
                M
                E
                C

                24
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors