fxDreema

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

    Numbers and letters.

    Questions & Answers
    2
    7
    1432
    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.
    • J
      Juan Manuel Quiñonero last edited by

      Because when I save a value of an indicator in a variable I get numbers and letters'

      0_1560175896306_ea8992b3-0603-4bc3-b6ac-df80837b3039-image.png

      1 Reply Last reply Reply Quote 0
      • J
        josecortesllobat last edited by

        Hello @Juan-Manuel-Quiñonero

        It is a number as floating-point arithmetic

        1.13477e-05 = 1.13477x10(exp -05) = 1.13477/100000 = 0.0000113477

        https://en.wikipedia.org/wiki/Floating-point_arithmetic

        1 Reply Last reply Reply Quote 0
        • J
          Juan Manuel Quiñonero last edited by

          How can I keep the distance between the two lines of the previous photograph in a variable in pip.

          1 Reply Last reply Reply Quote 0
          • J
            josecortesllobat last edited by

            A distance between two levels comes in points or "pips as a price fraction".

            This could be an approach

            Storage the distance in a variable -> dist_points = (Upper Level - Lower Level)
            Convert to pips -> dist_pips = (dist_points / pointsize)

            Example:

            EURUSD, (pointsize customized) = 0.0001

            0_1560279106324_969a34b3-86ea-4722-b46c-22d21952503b-image.png

            dist_points = (1.25651 - 1.25632) = 0.00019 points
            dist_pips = (0.00019 / 0.0001) = 1.9 pips

            You can get the PointSize of the forex pair in the Market Properties menu

            0_1560278837419_54fa6d0d-9872-48eb-83a8-ff238bc75f45-image.png

            1 Reply Last reply Reply Quote 0
            • J
              Juan Manuel Quiñonero last edited by

              Gracias Jose, haber si hablamos.

              1 Reply Last reply Reply Quote 0
              • J
                Juan Manuel Quiñonero last edited by

                0_1560375158155_705bd158-701a-4d1d-93b6-ea6033d6b6ef-image.png

                How to do so that the result of the subtraction is valid for all pairs.
                Some example please.

                1 Reply Last reply Reply Quote 0
                • J
                  Juan Manuel Quiñonero last edited by

                  I work well less in JPY pairs.

                  0_1560375641256_9dd76af6-541e-455c-be2c-c2fbfd5f003a-image.png

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

                  Online Users

                  S
                  O
                  K
                  M
                  M
                  C

                  16
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors