당사 팬 페이지에 가입하십시오
Send a message from metatrader to telegram - MetaTrader 4용 스크립트
- 조회수:
- 17682
- 평가:
- 게시됨:
- 2021.01.12 20:14
- 업데이트됨:
- 2021.01.12 20:25
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
With this script, you can send a message from MetaTrader 4 to Telegram.
Put the code in the Scripts directory.
From the Main Menu-> Tools-> Options, tab Expert Advisors, add the following address in the Allow URLs section:
https://api.telegram.org
In the code, customize the following variables:
Get the token robot token from @BotFather and enter it in the following variable:
string token = "xxxxxxxxxxxxxxx";
Get the recipient's chat ID from @userinfobot and enter it in the following variable:
string chat_id = "xxxxx";
Enter the desired message in the following variable:
string message = "Salam @JahanChart";
Be sure to either test on an external server that has no filtering problem, or if you are testing on your system, connect a filter breaker through which all network traffic passes. (Enabling MetaTrader internal proxy does not help)
#Code #MetaTrader #Telegram #کد #متاتریدر #تلگرام
Force=((Bid-close)/close)*10000;
Simple Open Order script with simple money & trade management featureScript that opens 2 orders - one set to close percent of position when profit equals stoploss, another set to close at TP
In MetaTrader 4, we intend to calculate the intersection coordinates of two straight line objects with different slopes using MQL4.
Corrected moving averagesCorrected moving averages