fxDreema

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

    Spread Value

    Questions & Answers
    2
    5
    935
    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
      fabiobioware last edited by

      I want to locate and record in real time in a variable to display the correct eurusd spread value on the screen

      I tried to perform the procedure below but it didn't work.
      Can you help me?0_1584589154244_spread.PNG

      1 Reply Last reply Reply Quote 0
      • F
        fabiobioware last edited by

        https://fxdreema.com/shared/p9578VB3e Project

        T 1 Reply Last reply Reply Quote 0
        • T
          trader.philipps @fabiobioware last edited by

          @fabiobioware The conversion from double data type to int or string is a bit annoying in Metatrader. You may use the MQL function MathRound() to get a full integer value (https://docs.mql4.com/math/mathround)

          I like to share my knowledge, but expect the others to contribute as well.

          1 Reply Last reply Reply Quote 0
          • F
            fabiobioware last edited by

            @trader-philipps said in Spread Value:

            MathRound()

            0_1584638059100_matchround.PNG
            is correct insert here?

            T 1 Reply Last reply Reply Quote 0
            • T
              trader.philipps @fabiobioware last edited by

              @fabiobioware place a $ in the brackets.

              I like to share my knowledge, but expect the others to contribute as well.

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

              Online Users

              J
              H
              E
              C

              13
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors