Discussion of article "How to create bots for Telegram in MQL5" - page 11

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Receive message on Telegram and then that sends the execution order to MT4 with my own trade size parameters?
I've use this basic code and tried many times last few days but keep getting this error:
I've tried to use `WebRequest` directly to `getMe` method but same issue. (sometime it return error 1003 as well)
However when I've built localhost API, the `WebRequest` can connect and does return api response successfully.
Please help...! Thank you in advance!
Good afternoon. Friends, I'm trying to implement sending a screen from the indicator to the chat when pressing a keyboard button. There are no errors during compilation, but it doesn't send the screen to the chat.
WebRequest function does not work in indicators. In your case you will have to do it through wininet.dll
WebRequest function does not work in indicators. In your case you will have to do it via wininet.dll
If you can kick in what direction to dig, I am new to these issues. Thanks in advance.
If you can kick in what direction to dig, I am new to these issues. Thanks in advance.
So you don't have to dig deep, here is a ready-made variant.
You plug in the file
#include <Webrequest_dll.mqh>
and use _WebRequest instead of the standard WebRequest.
It should work at once. If not, then it's better to contact me with your code.
Andrey Voytenko basically i added the files that you use and then modified the script I have to send to telegram instead of email when executing a trade action. That works except when opening a trade it will send the message multiple times