fxDreema

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

    Scale conversion.

    Questions & Answers
    2
    5
    732
    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.
    • E
      eks last edited by

      I want to normalize the result that is in the price in the scale of 0 to 100, how to proceed ???

      <FOREX.EUR> = (EURUSD + EURGBP + EURCHF + EURJPY) / 4

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

        MQL Math function

        https://www.mql5.com/en/docs/convert/normalizedouble

        E 1 Reply Last reply Reply Quote 0
        • E
          eks @josecortesllobat last edited by

          @josecortesllobat This function only removes the decimal places, I need to convert a scale result from 0 to 100.

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

            I am not sure if you will get what you want but it might be possible by using a formula like the RSI calculation one

            0_1550388836846_b73a9f72-3105-400a-88ca-a7f8f2af13fb-image.png

            EURUSD = 1.15489
            EURGBP = 1.32874
            EURCHF = 1.12367
            EURJPY = 1.159

            FOREX.EUR = 1.19158

            FOREX.EUR_100 = 100 - (100/(1+1.19158)) = 54.37

            1 Reply Last reply Reply Quote 0
            • E
              eks last edited by

              Thank you for your attention my friend, I will test here.

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

              Online Users

              D
              V
              O
              J
              B

              14
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors