Работа завершена
Техническое задание
Hi, I have followed this link https://www.youtube.com/watch?v=FQJ-6OeNlzc to create the same code in my system
step 1: creation of master EA: when positions open or close it updates the .txt file from the .php file in the file-manager of the hosting server. The details in the .txt file are to be read by the slave terminal
when Master EA is running on the chart: issue error: "server response is 1001 and the error is 5203
step 2: creation of slave EA: compiled
when running on the chart: issue error: "server response is -1 and the error is 4006
double checked and the coding language is identical to the youtube content. The error codes are here: https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes
Looking for a skilled developer to help me fix this
more details: I believe this issue comes from the below:
int response = WebRequest("GET", url, headers, 1000, post, result, resultHeaders);
// Check response and print debugging information
if(response != 200){
Print(__FUNCTION__, " > server response is ", response, " and the error is ", GetLastError());
string resultText = CharArrayToString(result);
Print(__FUNCTION__, " > ", resultText);
return;
}
Thanks