Mira cómo descargar robots gratis
¡Búscanos en Facebook!
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Scripts

Send a message from metatrader to telegram - script para MetaTrader 4

Visualizaciones:
16326
Ranking:
(21)
Publicado:
2021.01.12 20:14
Actualizado:
2021.01.12 20:25
\MQL4\Include\
stderror.mqh (9.81 KB) ver
stdlib.mqh (0.65 KB) ver
¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa

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 #کد #متاتریدر #تلگرام

    Smart Forex System Open Version Smart Forex System Open Version

    Force=((Bid-close)/close)*10000;

    Simple Open Order script with simple money & trade management feature Simple Open Order script with simple money & trade management feature

    Script that opens 2 orders - one set to close percent of position when profit equals stoploss, another set to close at TP

    The intersections of two lines The intersections of two lines

    In MetaTrader 4, we intend to calculate the intersection coordinates of two straight line objects with different slopes using MQL4.

    Corrected moving averages Corrected moving averages

    Corrected moving averages