fxDreema

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

    Limit the n of decimal places in comments

    General Discussions
    5
    10
    2240
    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.
    • C
      cesardefez last edited by

      Hi.
      I would like to be able to limit the n of decimal places in the comments.
      personally I dislike seeing so much n.
      0_1610103756606_60d87ca4-36e0-4736-aa82-f492022e8b7e-image.png

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

        @cesardefez You need to use this formula:

        0_1610121830546_01.png

        This example is for 0 decimal places. You can select any number of decimal positions you need.

        (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 1
        • C
          cesardefez last edited by

          Thank you very much. It works perfectly.

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

            @cesardefez 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 1
            • TipsyWisdom
              TipsyWisdom last edited by

              damn, thank you guys. @cesardefez for asking and @l-andorrà for the reply. This is something that has bothered monitoring my expected profit pips looking like "43.444444456566"

              1 Reply Last reply Reply Quote 0
              • C
                cesardefez last edited by

                hello, sorry for insisting, but it keeps failing,
                I pass two photos, where you can see that my board goes from having 12 digits to having 2, and it is continuously alternating.
                I have tried to put in settings = NormalizeDouble ($, 2) in the boxes where they assign the value to the variable, in the comment box, of formulas, in all at once and in one at a time. and every time it refreshes, it keeps changing from 2 to 12 digits.
                Is there no global mt4 variable where this can be set?
                Is there any mql4 code to limit the amounts to be taken into account to calculate?
                could you use custom mql code to limit two digitis in mt4?
                Thanks a lot
                1_1610557767753_2.PNG 0_1610557767751_1.PNG

                roar 1 Reply Last reply Reply Quote 0
                • roar
                  roar @cesardefez last edited by roar

                  @cesardefez if you dont need any decimals, just use an int variable instead of double variable

                  If you do need some decimals:
                  https://docs.mql4.com/convert/doubletostring

                  Need small help? Tag me in your post
                  Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                  1 Reply Last reply Reply Quote 0
                  • C
                    cesardefez last edited by

                    hello roar,
                    I don't know mql4.
                    I have looked at that link several times.
                    try putting in setting:
                    = NormalizeDouble($,2) as I indicated l'andorrà
                    after reading the article, also try putting the variable name instead of $
                    = NormalizeDouble(profit_sell,2)
                    neither option works for me.
                    I think the simplest thing will be to use int variables, instead of double, and assume the loss of two decimal places. I'm going around this for 4 days without seeing the light.
                    Thanks a lot

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

                      @cesardefez Hi! Maybe this topic can help you https://fxdreema.com/forum/topic/8188/how-can-i-round-a-number

                      1 Reply Last reply Reply Quote 1
                      • C
                        cesardefez last edited by

                        Thanks a lot. I finally get it to work.
                        thank you thank you thank you

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

                        Online Users

                        A
                        L
                        O
                        S
                        E
                        J
                        D
                        M
                        X
                        K
                        E
                        D

                        25
                        Online

                        146.6k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors