Discussion of article "How to create bots for Telegram in MQL5" - page 36

 
Audiamant:

Yees the EA communicate the only problem it dont send screenshot on weekend ? (mt4)

in the log file i see only EA loaded successfully


Very interesting because from Monday to Friday it works  .

Is anyone having the same problem 

i have never used screenshot function b4, try dubugging 
manually initiate sending an image and debug it. 

lemme check on my system will get back to u

 
Jefferson Metha:

i have never used screenshot function b4, try dubugging 
manually initiate sending an image and debug it. 

lemme check on my system will get back to u

Hmm now i found out when i click in the telegram bot   /charts/GBPUSD/H1/None it should send the screenshot, but it sends only if i remove the EA or turn Autotrading off when i do that the screenshot comes immediately .. 


How can i debugging ? 

 
Audiamant:

Yees the EA communicate the only problem it dont send screenshot on weekend ? (mt4)

This bug has been fixed. Please update the source codes (zip file under an article).
 
Andrey Voytenko:
This bug has been fixed. Please update the source codes (zip file under an article).

Thank you very much i really appreciate your work and thank you for your answer . 

One more question is it possible to get screenshots faster and also to get it work when more people uses the same bot  ? 


best regards 

 
Audiamant:

One more question is it possible to get screenshots faster and also to get it work when more people uses the same bot  ? 

Screenshot generation speed depends on the platform, it takes <30 sec for MT4, MT5 is faster.

 
Andrey Voytenko:

Screenshot generation speed depends on the platform, it takes <30 sec for MT4, MT5 is faster.


I changed line 77  and now it comes even faster then before. 

 
Haven't checked it in a while (bailed), and it turns out that WebRequest in Win7 in Russia now sends to Telegram. Have they stopped blocking it? Or changes in the terminal? I haven't touched anything in the code.
 
Edgar Akhmadeev:
Haven't checked it in a while (bailed), and it turns out that WebRequest in Win7 in Russia now sends to Telegram. Have they stopped blocking it? Or changes in the terminal? I haven't touched anything in the code.
You slept through it all. It's been allowed for a long time
 
Aleksei Beliakov:
You slept through it. It was solved a long time ago
A few I remember, there was a discussion here about solving the problem for Win10. I haven't seen any reports for Win7. Is there a link to the post, or are we only good at trolling?
 

i realize the bot sends compressed file how to solve it? i tried bigger screen size 

      int chartWidth = (int)ChartGetInteger(chart_id, CHART_WIDTH_IN_PIXELS, 0);
      int chartHeight = (int)ChartGetInteger(chart_id, CHART_HEIGHT_IN_PIXELS, 0);

i tried to fix the library "Telegram.mqh" 

so where is the problem?