GrabWeb not working on MT4 Build 600

Back to topics list  | 1 2 3 4 To post a new topic, please log in or register
avatar
1228
FMIC 2016.09.01 14:15 #
 
macpee:

Hi guys, please what is this code all about, is it an indicator or EA? I tried running it in mql4 editor and I got the following error message:

'User - undeclared identifier'

It is actually referring to the following line of code:

(Line: 112)    GrabWeb("http://www.website.com/query.php?accountnumber="+AccountNumber()+"&login="+User, answer);

How can declare the "User" to be accepted by the program or what can I replace the "User" with?

  1. This thread is old and there is no guarantee that it will still work on current builds.
  2. It is neither an EA or an Indicator. It is a sample piece of code to discuss the OP's attempt at replicating the functionality of "WebRequest()", even for use in non-EA environments.
  3. The line 112, is obviously a placeholder (an example or sample) for the real URL one might need depending on whatever your needs my be.
  4. If you don't understand what this functionality is all about, then you probably don't need it.
Back to topics list   | 1 2 3 4  

To add comments, please log in or register