MT'den bildirim gönder 4 & 5 Telegram'a

0
(0)

Merhaba, Orası!

Tam burada, bildirimin telgrafa nasıl gönderileceğini gösteren talimat
1. Get Token tmsrv_bot
2. Copy perform tms_send() or embrace tmsrv.mqh
3. Simgenizi yapıştırın:

Inserted Code
bool tms_send(dizi mesajı, dizi belirteci="SİZİN_TOKEN_BURADA")

Kullanım örneği:

Inserted Code
void OnTick(){ //%
 
   eğer(iRSI(HÜKÜMSÜZ,0,14,PRICE_CLOSE,1)>30
      && iRSI(HÜKÜMSÜZ,0,14,PRICE_CLOSE,0)<30) {
      
      tms_send(Dize Biçimi("%RSI aşırı satıldı - SATIN ALMA zamanı",resim()));    
   }
  
   eğer(iRSI(HÜKÜMSÜZ,0,14,PRICE_CLOSE,1)<70
      && iRSI(HÜKÜMSÜZ,0,14,PRICE_CLOSE,0)>70) {
      
      tms_send(Dize Biçimi("%s RSI is overbought  - time to SELL",resim()));
   }
}

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
/play - Resumes sending messages
/token - Send your token
/final - Göndermek 5 final messages
/Şimdi - 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:
/Şimdi {again} {ahead} - set sending time interval type now

Misal:
/Şimdi -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:
Bağlı Resim
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:

Bağlı Resim
Send notification from MT 4 & 5 to Telegram 2

Right here MQL4 script:

Bağlı Dosya
File Type: mq4 demo_tmsrv.mq4 5 KB | 427 İndirilenler
It appears to work fantasticSend notification from MT 4 & 5 to Telegram 3
Bağlı Dosya
File Type: mq4 demo_tmsrv_positions.mq4 9 KB | 39 İndirilenler

Bu yazı ne kadar faydalı oldu?

Derecelendirmek için bir yıldıza tıklayın!

Ortalama puanı 0 / 5. Oy sayısı: 0

Şu ana kadar oy yok! Bu gönderiye ilk puan veren siz olun.

Bu yazının sizin için yararlı olmadığı için üzgünüz!

Bu yazıyı geliştirelim!

Bu gönderiyi nasıl geliştirebileceğimizi bize bildirin?



Yazar: Forex Wiki Ekibi
Biz son derece deneyimli Forex Yatırımcılarından oluşan bir ekibiz [2000-2023] hayatı kendi şartlarımıza göre yaşamaya kendini adamış olan. Öncelikli hedefimiz mali bağımsızlık ve özgürlüğe ulaşmaktır., ve kendi kendine sürdürülebilir bir yaşam tarzı elde etmenin yolu olarak kendi kendine eğitim peşinde koştuk ve Forex piyasasında kapsamlı deneyim kazandık..