إرسال إشعار من MT 4 & 5 إلى برقية

0
(0)

مرحبًا, هناك!

هنا تعليمات حول كيفية إرسال الإخطار إلى برقية
1. الحصول على رمز tmsrv_bot
2. Copy perform tms_send() or embrace tmsrv.mqh
3. الصق الرمز المميز الخاص بك:

كود مدرج
bool tms_send(رسالة سلسلة, رمز السلسلة ="Your_TOKEN_هنا")

مثيل الاستخدام:

كود مدرج
void OnTick(){ //%
 
   لو(iRSI(باطل,0,14,PRICE_CLOSE,1)>30
      && iRSI(باطل,0,14,PRICE_CLOSE,0)<30) {
      
      tms_send(تنسيق السلسلة("%مؤشر القوة النسبية في منطقة ذروة البيع - الوقت للشراء",صورة()));    
   }
  
   لو(iRSI(باطل,0,14,PRICE_CLOSE,1)<70
      && iRSI(باطل,0,14,PRICE_CLOSE,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:

/pause - Pauses sending messages
/play - Resumes sending messages
/token - Send your token
/final - يرسل 5 final messages
/الآن - 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:
/الآن {again} {ahead} - set sending time interval type now

Instance:
/الآن -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:
صورة متصلة
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:

صورة متصلة
Send notification from MT 4 & 5 to Telegram 2

Right here MQL4 script:

ملف متصل
File Type: mq4 demo_tmsrv.mq4 5 كيلو بايت | 427 التحميلات
It appears to work fantasticSend notification from MT 4 & 5 to Telegram 3
ملف متصل
File Type: mq4 demo_tmsrv_positions.mq4 9 كيلو بايت | 39 التحميلات

كم كانت هذه المشاركة مفيدة?

انقر على نجمة لتقييمه!

متوسط ​​تقييم 0 / 5. عدد الأصوات: 0

لا توجد أصوات حتى الآن! كن أول من يقيم هذا المنصب.

نأسف لأن هذه المشاركة لم تكن مفيدة لك!

دعونا تحسين هذا المنصب!

أخبرنا كيف يمكننا تحسين هذه المشاركة?



مؤلف: فريق ويكي الفوركس
نحن فريق من متداولي الفوركس ذوي الخبرة العالية [2000-2023] الذين يكرسون أنفسهم لعيش الحياة بشروطنا الخاصة. هدفنا الأساسي هو تحقيق الاستقلال المالي والحرية, وتابعنا التعليم الذاتي واكتسبنا خبرة واسعة في سوق الفوركس كوسيلة لتحقيق أسلوب حياة مستدام ذاتيًا.