fxDreema

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

    Decrease numbers after the comma to an integer 0.00221010

    Questions & Answers
    4
    8
    760
    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.
    • khalids222
      khalids222 last edited by

      I tried to reduce the number by several functions, but it did not succeed. I tried to * the number by ten thousand, but it did not succeed
      I want to subtract the value of a recent buy from a recent sell
      if R3 =100 close all trades .
      R3 = BOPEN-SOPEN ---- BLOCK NUMBER 27
      I USED
      = NormalizeDouble($, 2)
      AND
      =DoubleToString(R3,2)

      They all did not work, is there a specific suggestion

      1 Reply Last reply Reply Quote 0
      • bk7
        bk7 last edited by

        show your code please and also the variable type!

        khalids222 1 Reply Last reply Reply Quote 0
        • khalids222
          khalids222 @bk7 last edited by

          @bk7 https://fxdreema.com/shared/iFlo6o5M
          Sorry, I forgot to attach the link

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

            @khalids222 Why do you need to reduce the number of digits of an integer number? Integer numbers DO NOT have decimal positions by definition.

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

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

              @l-andorrà It is not an integer, my problem is that it is not an integer?
              I do not know how you got an integer number?
              0_1610566426859_90909.jpg

              1 Reply Last reply Reply Quote 0
              • R
                raja0033 last edited by

                https://fxdreema.com/shared/0bOFGG4fe

                1 Reply Last reply Reply Quote 0
                • R
                  raja0033 last edited by

                  @khalids222 hey< use that "custom mql code" i shared above . for you it will be R3=NormalizeDouble(R3,2);

                  khalids222 1 Reply Last reply Reply Quote 0
                  • khalids222
                    khalids222 @raja0033 last edited by

                    @raja0033 Thank you very much - useful information.

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

                    Online Users

                    R
                    F
                    S
                    D

                    14
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors