fxDreema

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

    http request sending same value several times

    Questions & Answers
    2
    4
    495
    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
      kritro last edited by

      Hello
      Just staring using fxdreema and its a great tool, specially for us that dont now mql4 very well.

      The problem is I'm trying to send a http request to a web server with high/low/open/close etc when I'm clicking a button on the chart.
      The first request is fine, but when sending another one, its just ads the values to the url

      the first one

      http://localhost/?open=0.76497&close=0.76499&high=0.765&low=0.8849996
      

      the next one is

      http://localhost/?open=0.76008&close=0.76011&high=0.76011&low=0.76002&open=0.76008&close=0.7601&high=0.76011&low=0.76002
      

      and then it just gets bigger and bigger.

      Do I have todo something to reset it somehow for each time?
      Regards
      kritro

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

        If I changed

        static string HttpAddress = "http://localhost/";

        to

        static string HttpAddress = "";
        HttpAddress = "http://localhost/";

        in the block that handles the request in mql source code it works, but It would be better to not have todo this for every change:)

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

          Now working?

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

            Yes, now working 😄 Thanks for support and great product.
            I've just started testing it and I definitely go for the full product.
            Regards

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

            Online Users

            T
            W
            R
            M
            M
            E
            B
            M
            K
            H
            E

            20
            Online

            146.9k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors