DEV Community

Building a Telegram Chat with a MT4 Forex Trading Expert Advisor

dennislwm on October 05, 2019

Building a Telegram Chat with a MT4 Forex Trading Expert Advisor Introduction Telegram isn't just for sending and receiving c...
Collapse
 
ravi9650 profile image
ravi9650

Hi Dennis,
Thanks for the great post/tutorial. Your code is working as EA. I am trying to use the snippets from it inside and indicator to send the telegram message to a channel but couldn't. Could you please post a code snippet to send telegram message when some event happens (e.g. MA crossover etc, MA Price crossover) etc. ? Your help is highly appreciated.

Collapse
 
dantese747 profile image
dantese747

Hey Dennis, could you please explain 3 things?

1. How do you create push notifications in your "Telegram Recon Bot". Bc, I have notifications only when I press any option, like "/help" or "/ordertrade";
2. How do you transfer the notifications from the bot to your channel, this is another mystery?
3. How do you create "Type: as BUY or SELL", instead of "Type: 0 (buy) or 1 (sell)" how do you have it in the file - PlusBotRecon.

Really appreciate your answer.
Dantese

Collapse
 
wuyti profile image
Thomas

Hello Dennis,

I keep getting following error message when trying to send a picture with SendPhoto command: {"ok":false,"error_code":400,"description":"Bad Request: chat not found"}.

The sendMessage command to my channel works perfectly though.
Your help is highly appreciated.

Collapse
 
caporalx profile image
caporalx

I manage to install and attach the 2 EA, one for each chart.

I manage to query the mt4 but I don't receive messages when a trade is placed.

I don't know the step I missed. Can someone help me?

Collapse
 
marvinkisa1 profile image
Marvinkisa1

😯😯 I have found the best free forex signal provider t.me/scalpersniper1 no click bet or bias check it out, chill the fake staff

Collapse
 
fxalex profile image
Dtrader • Edited

Telegram signal Alert triggers this message: "Bad Request: chat not found". any idea how to solve it? thanks
gyazo.com/940797ef5b9b894de771fd97...

Collapse
 
asikhemhen profile image
Asikhemhen

Thank you sir for sharing this info.

please mine Chart is showing "Error: HTTP Request Failed."

Please help.

Collapse
 
monoald profile image
Carlos Sanjines Aldazosa

Did you allow the WebRequests?

Click on menu Tools --> Options (Ctrl+O), then click on menu tab Expert Advisors.

Check the box Allow WebRequest for listed URL, and add the URL api.telegram.org

Collapse
 
habgj profile image
habgj

I have a question please

Is this bots copying signals from Telegram and executing them on mql4

Collapse
 
dexterbrian profile image
Brian Waweru

Hello there. I have an MQL5 project you would be interested in. Email me at info@appify.co.ke within 24 hours if you're interested.