Mitte notitia de MT 4 & 5 ut Telegram

0
(0)

Salve, ibi!

Iure hic instruo quomodo ad notificationem navem telegraphum
1. Get Thochen tmsrv_bot
2. Copy perform tms_send() or embrace tmsrv.mqh
3. Crustulum indicium:

Inserta Code
bool tms_send(filum nuntium, linea signum ="YOUR_TOKEN_HERE")

Utendo exempli gratia:

Inserta Code
void OnTick(){ //%
 
   si(iRSI(NULL,0,14,PRICE_CLOSE,1)>30
      && iRSI(NULL,0,14,PRICE_CLOSE,0)<30) {
      
      tms_send(StringFormat("%s RSI est oversold - tempus emere",Image()));    
   }
  
   si(iRSI(NULL,0,14,PRICE_CLOSE,1)<70
      && iRSI(NULL,0,14,PRICE_CLOSE,0)>70) {
      
      tms_send(StringFormat("%s RSI is overbought  - time to SELL",Image()));
   }
}

For certain you need to use official telegram API, however imagine me, that is a ache within the ass once you use it in several initiatives solely only for sending alerts.

I've made tmsrv.pw for my very own wants, however determined to share - now a challenge in growth.
Please write in case you discover a bug otherwise you want some performance.

Bot instructions:

/pause - Pauses sending messages
/ludere - Resumes sending messages
/token - Send your token
/final - Mitte 5 final messages
/now - Set bot's working time interval

*
/not potential to use from the command checklist, telegram not supported command with parameters
you've gotten to sort it see format under:
/now {again} {ahead} - set sending time interval type now

Exemplum:
/now -2 6 sending time interval will probably be set
hour_form = hour_current - 2
hour_to = hour_current + 6

Overlook to say you've gotten to add API URL to Choices -> see image:
Coniuncta pictura
Send notification from MT 4 & 5 to Telegram 1
Right here is demo EA

1. add URL( https://tmsrv.pw/ship ) to Allowed see publish above
2. Paste your token instantly to perform parameter:

Coniuncta pictura
Send notification from MT 4 & 5 to Telegram 2

Right here MQL4 script:

Tabularium connexum
File Type: mq4 demo_tmsrv.mq4 5 KB | 427 downloads "
It appears to work fantasticSend notification from MT 4 & 5 to Telegram 3
Tabularium connexum
File Type: mq4 demo_tmsrv_positions.mq4 9 KB | 39 downloads "

Quam utile fuit hoc post?

Click on a stella ad rate it!

Mediocris rating 0 / 5. Suffragium Comitis: 0

Nulla suffragia usque! Primus ad rate esto post haec.

Dolemus quod haec posta tibi non utilis fuit!

Emendare post haec!

Dic nobis quomodo hanc postem emendare possimus?



Author: Praenomen to Team
Nos sumus quadrigis maxime peritus congue mercatores [2000-2023] qui vitam nostram vivendo sunt addicti. Primarium propositum nostrum est libertatem ac libertatem attingere, et sui educationem secuti sumus et in Forexino foro peritia multa consecuti sumus ut media ad vitam sustinendam sui sustentandam..