fxDreema

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

    DataType Issue very URGENT

    Bug Reports
    3
    6
    402
    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.
    • K
      kekhumbo last edited by

      When I define an Integer variable e.g. num1 = 4, after i check the value of the variable using an alert block, it displays num1 with the value 4.0 instead of just 4.

      Secondly, I have defined a string name= TradeNow, when i use a HTTP Request block to connect to a google sheet which has one cell with the value = TradeNow, I ma able to get the HTTP response as TradeNow, but when i use the conditional block to compare the variable name = HTTP Response, I get a false return yet the values are the same. Why would this happen?

      Do we currently have a problem with DataTypes on fxDreema?

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

        Did you create a variable with a double type or an int type?

        Data types work as I define them, I only use MT4 though

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

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

          All bug reports are very urgent to the poster lol.

          It would help if you posted an example project that shows what you mean.

          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
          • K
            kekhumbo last edited by

            Error Int Producing Double.JPG

            Note: I have three sections depicting the Integer Error. The 1st Section is declaring an integer variable called testing and assigning it the value 22. The second section is the alert block to display the variable testing as a number. The third section is the output alert on the MT5 Platform displaying the value of the variable as 22.0

            Take note of the initial declared integer value as 22 and the output as a double/float 22.0

            This is the same with a string variable where if i declare a string Thom, and i then use the conditional block to compare it to a Text Value Thom, The result is false yet the values are the same.

            I think we have a bug in the data types. But I look forward to your urgent response and support as usual.

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

              You are calling it an integer error, but this is actually an alert message error, I do not know if this is normal for alert message error or not.

              Learn fxDreema Without the Wait!

              My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

              The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

              Don’t miss out

              Click here➡️ https://mybook.to/fxDreema to get your copy today!

              Enjoy! 😊

              1 Reply Last reply Reply Quote 0
              • K
                kekhumbo last edited by

                Currently all Alerts are now showing integer variables correctly and not as doubles or floats. I really didnt do anything to my code so i should presume the problem was fixed with FXDreema. thanks Guys.

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

                Online Users

                C
                E
                M
                F
                T
                M

                22
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors