- अक्टूबर 9, 2018
- के द्वारा प्रकाशित किया गया: विदेशी मुद्रा विकी टीम
- वर्ग: विदेशी मुद्रा व्यापार प्रणाली
नमस्ते, वहाँ!
यहां टेलीग्राम पर नोटिफिकेशन भेजने का तरीका बताया गया है
1. Get Token tmsrv_bot
2. Copy perform tms_send() or embrace tmsrv.mqh
3. अपना टोकन चिपकाएँ:
bool tms_send(स्ट्रिंग संदेश, स्ट्रिंग टोकन="आपका_टोकन_यहां")
उपयोग उदाहरण:
void OnTick(){ //% अगर(आईआरएसआई(व्यर्थ,0,14,मूल्य_बंद,1)>30 && आईआरएसआई(व्यर्थ,0,14,मूल्य_बंद,0)<30) { tms_send(स्ट्रिंगफॉर्मेट("%एस आरएसआई ओवरसोल्ड है - खरीदने का समय",छवि())); } अगर(आईआरएसआई(व्यर्थ,0,14,मूल्य_बंद,1)<70 && आईआरएसआई(व्यर्थ,0,14,मूल्य_बंद,0)>70) { tms_send(स्ट्रिंगफॉर्मेट("%s RSI is overbought - time to SELL",छवि())); } }
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:
/रोकना - Pauses sending messages
/play - Resumes sending messages
/token - Send your token
/अंतिम - भेजना 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 {दोबारा} {ahead} - set sending time interval type nowउदाहरण:
/now -2 6 sending time interval will probably be set
hour_form = hour_current - 2
hour_to = hour_current + 6Overlook to say you've gotten to add API URL to Choices -> see image: