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

 
Keith Watford:

Please only use English in the forum.

I have edited and translated your post with the site's tool this time

Sorry its a translate plugin from Chrome.


Thanks and sorry.

 

Please help me to increase ScreenShot (image) Size from 800x600 to 1920×1080 and 1660x765.

I have used size 1660x765 and hard to see number on chart but 800x600 can, then I think there is a way to increased chart size when we screenshot. Please help me to do so

Thanks!

 

El library does not compile correctly in the new release mt5 (2170).


deprecated behaviour, hidden method calling will be disabled in a future MQL compiler version <Telegram.mqh> Line: 326

deprecated behaviour, hidden method calling will be disabled in a future MQL compiler version <Telegram.mqh> Line: 453

deprecated behaviour, hidden method calling will be disabled in a future MQL compiler version <Telegram.mqh> Line: 454

deprecated behaviour, hidden method calling will be disabled in a future MQL compiler version <Telegram.mqh> Line: 454

 
odlambda:
You dont needed convert the code.This code can be run in both version, see again the post or code.

Hi odlamda


thank you

for my post response .... I have tried, for example in MT4 when open Order Buy ... then ea will record the activity on the chart and send a message to the telegram channel regarding the buy order entry. When used on MT5, no messages are received from transactions on MT5 ... please help where the error is ...


thank you

 
Oha great job
 

Thanks for sharing this code!

I just have a small issue, one of my brokers has lowercase letter on some symbols like EURUSDm, GBPUSDm, XAUUSDm... I tried editing the .mq5 file for new symbols, like USDINR or USDBRL (these are symbol indicators are provided with upper case letters only), they work but when I try the symbols containing lower case, something turn them into upper case letters and the query for the symbol fails because the name is wrong. The problem persists when querying for quotes or chart image, the response is slightly different but neither work with symbols that use lower case letters.

I attached some examples 

Files:
IMG_7207.PNG  449 kb
IMG_7208.PNG  435 kb
IMG_7210.PNG  773 kb
IMG_7211.PNG  810 kb
 
I'd like to receive on mt4/5, execute the order
 
HoangMinh891


If it is possible to increase the size, you can do it in this line of code:

 if(ChartScreenShot(chart_id,filename,1024,768,ALIGN_RIGHT))
 
satrifx7 :


Well, upload the code to see it. Both mql4 and mql5.


Thank you

 

When I use Telegram_Search_EA on MT5 I have unknown error 1001 or 1003.

On MT4 it works properly.