Hi!
Here eduion how to send notifiion to telegram
1. Get Token https://telegram.me/tmsrv_bot
2. Duplie function tms_send() or include https://github.com/mikolyk/mqltms/blob/master/tmsrv.mqh
3. Paste your own token: Inserted Code bool tms_send(string message, string token=YOUR_TOKEN_HERE)
Use example:
Inserted Code void OnTick() //% if(iRSI(NULL,0,14,PRICE_CLOSE,1)gt;30 iRSI(NULL,0,14,PRICE_CLOSE,0)lt;30) tms_send(StringFormat(%s RSI is oversold - moment to BUY,Symbol())); if(iRSI(NULL,0,14,PRICE_CLOSE,1)lt;70 iRSI(NULL,0,14,PRICE_CLOSE,0)gt;70) tms_send(StringFormat(%s RSI is overbought - moment to SELL,Symbol()));
For sure you can utilize official telegram API, but believe me, that's a pain in the ass if you use it in different projects only just for sending alarms.
I've made https://tmsrv.pw/ for my wants, but decided to share - now a project in development.
Please write if you find a bug or you need any functionality.
Bot controls:
Originally Posted by ;