Discusión sobre el artículo "Cómo crear un bot para Telegram en el lenguaje MQL5" - página 28

 
@Rashid Umarov Hoy he jugado en dos PC con Windows 7.
 
Y no funciona ni en MT5 ni en MT4.... no va solicitud
mismo error
 
Gennady Mazur:
Y no funciona ni en MT5, ni en MT4.... no hay solicitud
¿Tienes Windows 7?
 
Andrey Voytenko:
@Rashid Umarov Hoy se ha reproducido en dos PC con Windows 7.

Tengo Windows 7 x64 build 7601 sp1

 
Andrey Voytenko:

Me gustaría pedir a aquellos que no puedan utilizar WebRequest que ejecuten este script y copien aquí la línea de la pestaña Expertos con el resultado. Esto ayudará a identificar rápidamente el problema

Si he hecho todo correctamente, tengo los siguientes resultados.

 
107001:

Si he hecho todo correctamente, tengo estos resultados.

Sí, pero a juzgar por tus pruebas, no tienes problemas con Telegram. Estamos buscando a los que sí los tienen.

 
Parece que las peticiones en 10-ka funcionan tanto con mt4 como con mt5...
¿Es realmente el momento de cambiar ya a 10-ka?
No me gustaría.
 

Sé que esto se ha preguntado aquí antes, pero no resuelto.

Me sale "Error: Unknown error 1001" con este código básico:

//+------------------------------------------------------------------+
//|Telegram_GetMe.mq5
//| Copyright 2014, MetaQuotes Software Corp. |
//|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";/Token

CCustomBot bot;
int getme_result;
//+------------------------------------------------------------------+
//| OnInit|
//+------------------------------------------------------------------+
int OnInit()
  {
//--- set token
   bot.Token(InpToken);
//--- check token
   getme_result=bot.GetMe();
//--- temporizador de ejecución
   EventSetTimer(3);
   OnTimer();
//--- hecho
   return(INIT_SUCCEEDED);
  }
//+
.
.
.
.

¿Podríais decirme qué debo hacer?

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...
 

Pregunto a todos los que tienen el error 1001.

Por favor, ejecuten este script y peguen aquí la línea de la pestaña Expertos con el resultado.

Un ejemplo:

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

Describa adicionalmente su sistema operativo

Windows 7 7601 SP1

Esto ayudará a resolver este problema.

Archivos adjuntos:
 
Andrey Voytenko :

Pregunto a todos los que tienen el error 1001.

Por favor, ejecuten este script y peguen aquí la línea de la pestaña Expertos con el resultado.

Un ejemplo:

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

Describa adicionalmente su sistema operativo

Windows 7 7601 SP1

Esto ayudará a resolver este problema.

gracias señor
es usted muy amable
:)
le deseo un hermoso día