Hey guys, so basically I have taken the source code and basically edited the code for the telegram_signal_EA to send trades based off my strategy. So I compiled to check for errors and everything works fine even when I apply the EA to the chart the experts tab shows that its recognized my telegram bot. Now my issue lies in sending the alert itself, I am not receiving alerts to telegram when my rules for a trade are met. Any help on this guys? Here's the code below
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi Andrey,
why the bot keep getting Error: HTTP request failed, tq
Hi Andrey,
why the bot keep getting Error: HTTP request failed, tq
Maybe they changed the protocol.
Have you checked Telegram API ?
Hi Andrey,
why the bot keep getting Error: HTTP request failed, tq
I debugged the 'Telegram_Bot_EA' on your PC using TeamViewer and have found that WebRequest() returned -1. _LastError = 5203.
But I dont know why. Perhaps your firewall blocks TCP packets.
I debugged the 'Telegram_Bot_EA' on your PC using TeamViewer and have found that WebRequest() returned -1. _LastError = 5203.
But I dont know why. Perhaps your firewall blocks TCP packets.
thanks Andrey,
turn off firewall still error,
i will look more deep :)
Hey guys, so basically I have taken the source code and basically edited the code for the telegram_signal_EA to send trades based off my strategy. So I compiled to check for errors and everything works fine even when I apply the EA to the chart the experts tab shows that its recognized my telegram bot. Now my issue lies in sending the alert itself, I am not receiving alerts to telegram when my rules for a trade are met. Any help on this guys? Here's the code below
Any version for mq4?
The codes attached to this article are adapted to trading on both platforms — MetaTrader 4 and MetaTrader 5.
Just change EAs file extentions to mq4.
i change from for(int i=0;i<=1;i++) to for(int i=0;i>=1;i--) on signal ea,
now i got no signal from telegram, can help/guide me ;(
The codes attached to this article are adapted to trading on both platforms — MetaTrader 4 and MetaTrader 5.
Just change EAs file extentions to mq4.