Download MetaTrader 5
To add comments, please log in or register
Find out how your rating can be improved
MetaQuotes Software Corp.
Moderator
178169
MetaQuotes Software Corp. 2016.06.27 16:56 

New article How to create bots for Telegram in MQL5 has been published:

This article contains step-by-step instructions for creating bots for Telegram in MQL5. This information may prove useful for users who wish to synchronize their trading robot with a mobile device. There are samples of bots in the article that provide trading signals, search for information on websites, send information about the account balance, quotes and screenshots of charts to you smart phone.

Telegram has three schemes of interaction between bots and users. First - private chats. Every user communicates with a bot independently from each other, as shown if Fig 3, by making requests and receiving replies.


bot and private chats

Fig.3.  Bot and private chats.


Users send messages to a bot. They are stored on the server for no longer than 24 hours, and are removed afterwards. A bot has time to request these messages and to respond to them. This is the main mode that our bots will be operating in.

Author: Andrey Voytenko

Phalkun Thoeun
9
Phalkun Thoeun 2016.07.28 09:32  

trying this but it showing "URL does not allowed for WebRequest''. could u please explain more?

 

 


Andrey Voytenko
22649
Andrey Voytenko 2016.07.28 14:28  
Phalkun Thoeun:

trying this but it showing "URL does not allowed for WebRequest''. could u please explain more?

Please add this URLs:

  • https://api.telegram.org
  • https://search.mql5.com (only for Telegram_Search_EA)

in the "Expert Advisors" tab of the "Options" window.

nima_fad
5
nima_fad 2016.07.29 14:43  

Hi

Thanks for your useful article. I have tried Telegram_signal_EA. but I receive "URL does not allowed for WebRequest " error, in strategy tester. I added suggested URLs but the problem is not solved yet.could u please help me?

Andrey Voytenko
22649
Andrey Voytenko 2016.08.05 10:58  
nima_fad:

I have tried Telegram_signal_EA. but I receive "URL does not allowed for WebRequest " error, in strategy tester.

Thanks for your positive feedback. But WebRequest() function cannot be executed in the Strategy Tester.

Tatu Francis
478
Tatu Francis 2016.08.25 08:13  
How I can send trades from my MT4 to a custom PHP 
Andrey Voytenko
22649
Andrey Voytenko 2016.08.25 08:35  
Tatu Francis:
How I can send trades from my MT4 to a custom PHP 
It is easy. Use WebRequest function.
duddas
7
duddas 2016.08.29 12:28  

How i can call function in Class in OnCalculate? to send screenshot when i need with a button for example

Thank you  

Reza John Niazi
788
Reza John Niazi 2016.10.30 21:52  
Grate Article 
thanks for the time and invasion (Y)
Andrey Voytenko
22649
Andrey Voytenko 2016.10.30 22:02  
Reza John Niazi:
Grate Article 
thanks for the time and invasion (Y)
Thanks for your praise. I hope you will achive your goals with MetaTrader and Telegram.
Rohman
44
Rohman 2016.11.10 12:28  

great articel :)

 i tried Telegram_Signal_EA but I not received signal in my channel, why?

can you give my video tutorial ..

Thanks 

/
To add comments, please log in or register