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

 

Hello,


I am experiencing a small issue with the Telegram Bot EA mt5 - I am able to add additional template in the settings BUT when I test it from the Telegram it is loading only Default template. 

Any recommendations or a hand for help?


Thanks in advance!

 

Hi,

I tried to use the EA code in a Costume indicator but I receive "URL does not allowed for WebRequest " error, Could you please explain how to solve this problem and send alerts and screenshots from a Costume indicator to the Telegram?

Thanks.

 
Asadollah Ramezani:

Hi,

I tried to use the EA code in a Costume indicator but I receive "URL does not allowed for WebRequest " error, Could you please explain how to solve this problem and send alerts and screenshots from a Costume indicator to the Telegram?

Thanks.

Open metatrader 
Tools 
Options 
Expert Advisor 

Enable webrequest 
Enter

 
is it possible to have the bot send a picture of my graph screen every 15 minutes?
 
Jefferson Metha:
Open metatrader 
Tools 
Options 
Expert Advisor 

Enable webrequest 
Enter

Thank you for reply. I'v already done that but it still doesn't work! there is no problem when the code is implemented with an EA  but when i use it in a Costume indi the above mentioned error occur. it seem Standard mql function Webrequest do not work in indicators. please have a look on the attached file.
Files:
 
Asadollah Ramezani:
Thank you for reply. I'v already done that but it still doesn't work! there is no problem when the code is implemented with an EA  but when i use it in a Costume indi the above mentioned error occur. it seem Standard mql function Webrequest do not work in indicators. please have a look on the attached file.
The Lib dnt work with indicators only EA, im not sure about Scripts. 

Reread Article its stated
 
Jefferson Metha:
The Lib dnt work with indicators only EA, im not sure about Scripts. 

Reread Article its stated
Thanks
 

Hi

As a part of an EA, I'm trying to send a screenshot to telegram bot.but it doesn't work and  I just see "sending a photo"  massage in the Telegram Bot. I do not receive anything.i'll appreciate if any one can help. the code is attached.

Files:
 

hi all pro coders,

recently my telegram EA got this problem :"HTTP request falied", but it worked well before :?

I check the Options (webrequest) already,,, How to fix it please? Thanks


Files:
webrequest.png  43 kb
 
David986:

Dear Andrey,

thank you for your wonderful article!

Since WebRequest() function doesn't work with strategy tester, is there a way to receive notifications with bots while executing the Strategy Tester?

Thank you

Thanks!