fxDreema

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

    HTTP request problem

    Questions & Answers
    2
    5
    1603
    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.
    • C
      coverman last edited by

      I made a very simple http request EA to test this, but I can't seem to make it work.
      I just have two blocks to run this test, but nothing is stored in the db.
      When I write the url in my browser and setting the end part to: test.php?pair='EUR/USD' then it is entered to the db.
      But when making an order in MT4 nothing seems to send the POST to the specified address. Is there something else I need to do to make it work?
      I have the address added to the Allow WebRequest in MT4 as well.

      Any clues?

      0_1520259970901_request.jpg

      1 Reply Last reply Reply Quote 0
      • C
        coverman last edited by

        Haven't anyone here an idea what could be wrong?
        Didn't anyone do something similar that is working?

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

          You must add the domain name somewhere in the options of MetaTrader

          1 Reply Last reply Reply Quote 0
          • C
            coverman last edited by coverman

            Yes, it's already added in the Allow Web request area. But it isn't working.

            1 Reply Last reply Reply Quote 0
            • C
              coverman last edited by

              I found the error. I had this placed in the "on tick". I moved it to "on trade" and now it sent the http request.

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

              Online Users

              H
              B
              K
              A
              S

              15
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors