Jian Chen:
The "httpGET" function is not a standard MQL4/5 function. It comes from the third party code. Did you include the appropriate header file? (Maybe "mq4-http.mqh" comes from here?)
The "httpGET" function is not a standard MQL4/5 function. It comes from the third party code. Did you include the appropriate header file? (Maybe "mq4-http.mqh" comes from here?)
Thanks Jian...
I found this Solution, work fine to me!
https://www.mql5.com/en/code/10121

"Native" MQL HTTP Client
- votes: 7
- 2011.02.08
- gino pilotino
- www.mql5.com
This library implements two simple HTTP GET / POST function and does not require external dll(s).

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
int password_status = -1;
//////////////////////string response;
bool connection;
string query;
query = "http://www.fernandosanches.info/MT4-LOG/index.php";
response = httpGET(query);
int NUMERO_da_CONTA[] = { response };
}
///////////////////////
...up in the code, I think making a call to a URL (with the numbers of some accounts I have) and only these accounts could use the Expert Advisor or Indicator.
But this erro:
'response' - constant expression required
lets not compile the file!