文章 "如何采用 MQL5 创建用于 Telegram 的 bots" - 页 28

 
@Rashid Umarov 今天在两台 Windows 7 PC 上进行了游戏。
 
在 MT5 或 MT4.... 上都不起作用不请求
同样的错误
 
Gennady Mazur:
它在 MT5 和 MT4 上都不起作用....。无请求
您的操作系统是 Windows 7 吗?
 
Andrey Voytenko:
@Rashid Umarov 它今天在两台 Windows 7 电脑上播放了。

我使用的是 Windows 7 x64 版本 7601 sp1

 
Andrey Voytenko:

我想请那些无法使用WebRequest 的用户运行该脚本,并将专家选项卡中的结果行复制到这里。这将有助于快速找出问题所在

如果我的操作正确,结果如下。

 
107001:

如果我所做的一切正确无误,我就会得到这些结果。

是的,但从你的测试结果来看,你使用 Telegram 没有问题。我们正在寻找有问题的人。

 
10-ka 上的请求似乎可以在 mt4 和 mt5 上运行......
真的是时候切换到 10-ka 了?
我不想这样做。
 

我知道以前有人问过这个问题,但没有解决。

我收到 "错误:错误:未知错误 1001":

//+------------------------------------------------------------------+
//|Telegram_GetMe.mq5
//| 2014 年 MetaQuotes 软件公司版权所有。|
//|https://www.mql5.com | |
//+------------------------------------------------------------------+
#property copyright "Copyright 2014, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict

#include <Telegram.mqh>

input string InpToken="996256588:AAH2yUhFSjexpOUxxj2ZLOmRQXXItAF-B_4";//代币

CCustomBot bot;
int getme_result;
//+------------------------------------------------------------------+
//| 启动时|
//+------------------------------------------------------------------+
int OnInit()
  {
//--- 设置标记
   bot.Token(InpToken);
//--- 检查令牌
   getme_result=bot.GetMe();
//--- 运行计时器
   EventSetTimer(3);
   OnTimer();
//--- 完成
   return(INIT_SUCCEEDED);
  }
//+
.
.
.
.

请问我该怎么办?

Discover new MetaTrader 5 opportunities with MQL5 community and services
Discover new MetaTrader 5 opportunities with MQL5 community and services
  • www.mql5.com
Ask questions on technical analysis, discuss trading systems and improve your MQL5 programming skills to develop your own trading strategies. Communicate and share your experience with traders from anywhere in the world, answer questions and help beginners — MQL5.community is developing along with you. MQL5 É FRAUDE HÁ MAIS DE 3 MESES COM SALDO...
 

我问每个有错误 1001 的人。

请运行此脚本,并将专家选项卡中的结果行粘贴到这里。

举例说明:

2020.06.05 18:06:36.033 WebRequest_Test_Script (EURUSD,H4) Build=2470 WebRequest=1001 GetLastError=5203 strData=

补充描述您的操作系统

Windows 7 7601 SP1

这将有助于解决这一问题。

附加的文件:
 
Andrey Voytenko :

我问每个有错误 1001 的人。

请运行此脚本,并将专家选项卡中的结果行粘贴到这里。

举例说明

2020.06.05 18:06:36.033 WebRequest_Test_Script (EURUSD,H4) Build=2470 WebRequest=1001 GetLastError=5203 strData=

补充描述您的操作系统

Windows 7 7601 SP1

这将有助于解决这一问题。

谢谢您,先生
您真是太好了
:)
祝您有美好的一天