Server based trade copier fixing issue

MQL5 积分

工作已完成

执行时间2 小时
客户反馈
Very prompt and capable to fix codes
员工反馈
Great and appreciative customer!!

指定

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

反馈

1
开发者 1
等级
(258)
项目
264
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
2
开发者 2
等级
(390)
项目
416
30%
仲裁
74
19% / 72%
逾期
52
13%
工作中
3
开发者 3
等级
(298)
项目
477
40%
仲裁
105
40% / 24%
逾期
81
17%
已载入
发布者: 2 代码
4
开发者 4
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
5
开发者 5
等级
(32)
项目
42
43%
仲裁
2
100% / 0%
逾期
4
10%
空闲
6
开发者 6
等级
项目
2
0%
仲裁
4
25% / 75%
逾期
1
50%
空闲
7
开发者 7
等级
(3)
项目
3
0%
仲裁
0
逾期
0
工作中
8
开发者 8
等级
(9)
项目
12
25%
仲裁
0
逾期
1
8%
空闲

项目信息

预算
39+ USD