Discussion of article "How to create bots for Telegram in MQL5" - page 20
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
Thanks for your help !!
I dont know about code , i hope someone can kindly help ...
My logic tell me there is a call about Chartopen , and maybe a need to change to some functions similar to full windows or similar ?
if someone can provide me some lines about where i need to check all the possible functions would be really appreciated .
It's not "fix some lines".
You need to make several screens, wait till they are ready, and send them all using SendMediaGroup function (you have to write it from the scratch).
Try to find someone in Freelance.
Thanks Andrey !!!
Have a nice week
Hello Everyone!!
Can i know if there is any easy way to get different template buttons according to the chosen time frame?
Thanks!!
Hello Everyone!!
Can i know if there is any easy way to get different template buttons according to the chosen time frame?
Thanks!!
Yes the easy way is to go here.
[SOLVED] "UNKNOWN ERROR 1001"
Above quote is from https://core.telegram.org/mtproto
I found a problems when we have many devices, the times on each Telegram device maybe don't have the same.
Then i sync my PC time zone exactly with Mobile time.
After that, i don't see this bug anymore.
-> This is my solution. I don't know if it work for you. It just a hint.
Hope you guys can solve this bug soon!
ok. But if you are working with a private channel, use the Channel ID, not the Channel Name.
Hey guys! Hello Andrey, I've been using the telegram signal EA for a couple of months now, but on a public channel. Now I'm trying to put in a private channel and reading about it here seems the setup is different:
You mean:
- Instead o putting the channel name, I put the Channel ID ( I got the channel ID fowarding a channel message to the @getidsbot on telegram, ifanyones wondering)
Like this?
In advance: Thank you, learned a ton by reading this thread here.
Hey guys! Hello Andrey, I've been using the telegram signal EA for a couple of months now, but on a public channel. Now I'm trying to put in a private channel and reading about it here seems the setup is different:
You mean:
- Instead o putting the channel name, I put the Channel ID ( I got the channel ID fowarding a channel message to the @getidsbot on telegram, ifanyones wondering)
Like this?
In advance: Thank you, learned a ton by reading this thread here.
Telegram.mqh on line 980 calls for:
and in line 1006 calls for:
for sending a message to a private channel i have to pourposely define chat_id as a long like this:
input long InpChatId= -(use h t t p s ://t.me/username_to_id_bot to obtain your private chat id); // Chat ID Private
and use it to cast to telegram
otherwise it will not work, if someone knows a code to identify when we use an string @publicChannelName or a long -privateChannelName to cast acordinglly please post it here!
hi
I have done adding the address "https://api.telegram.org" in EA tools, but I am still getting the error of url does not allowed for webrequest, why is that please?
I am just trying to use the example EA, which is the TelegramAlertMT4 from https://github.com/sholafalana/MT5-MT4-Telegram-API-Bot
I have copied the 4 files from include to include, and paste the TelegramAlertMT4.mq4 into indicator folder, compiled with no error.
If I put it under EA folder and run it, I never get the smily face, even though i have enabled auto trading.
Many thanks
Telegram.mqh on line 980 calls for:
and in line 1006 calls for:
for sending a message to a private channel i have to pourposely define chat_id as a long like this:
input long InpChatId= -(use h t t p s ://t.me/username_to_id_bot to obtain your private chat id); // Chat ID Private
and use it to cast to telegram
otherwise it will not work, if someone knows a code to identify when we use an string @publicChannelName or a long -privateChannelName to cast acordinglly please post it here!
I've implemented a Telegram screenshot post-to-telegram for confirmation functionality for my multi currency multi timeframe EA all good.
I Can also send an inlineKeyboard with the Telegram.mqh SendMessage() function all good
ibot.SendMessage(chat_id, "Click on the buttons", ibot.inlineKeyBoardMarkup());
I would prefer the sendPhoto() took an inlineKeybourd, but for some reason SendPhoto() only accepts the standard KeyBoardMarkup(), not the inlineKeyBoardMarkup() in the "reply_markup"
I've been hacking at the Telegram.mqh but can't seem to get this to function.
Any help would be appreciated