Telegram4mql.dll -
Disclaimer: I am not affiliated with Telegram or MetaQuotes. Always back up your MetaTrader installation before adding third-party DLLs.
Enter the telegram4mql.dll file.
Here is a minimal example (no DLL needed): telegram4mql.dll
string headers = "Content-Type: application/json\r\n"; string post_data = "\"chat_id\":\"" + chat_id + "\",\"text\":\"" + text + "\""; string result = ""; char post[], res[]; StringToCharArray(post_data, post); int res_code = WebRequest("POST", "https://api.telegram.org/bot" + token + "/sendMessage", headers, 5000, post, res, result); return result; Disclaimer: I am not affiliated with Telegram or MetaQuotes
This Dynamic Link Library acts as the bridge between the MQL4/5 coding language (used for Expert Advisors) and Telegram’s Bot API. In this post, I’ll explain what it is, how to install it safely, and the critical security checks you must perform first. In simple terms, this DLL allows your MetaTrader code to make HTTP requests to Telegram’s servers. MQL4 cannot natively send a message to a chat app, but by importing functions from this external DLL, it can. Here is a minimal example (no DLL needed):
It‘s a shame that Phonegap Build is closed at the top of the corona crisis and at the top of the mobile age!
Being a PhoneGap refugees we spent a lot of time looking at alternatives. On the development side, we made the jump to Ionic Capacitor which is logical upgrade from Cordova but young enough that build flows are few and far between.
The logical choice here would have been AppFlow which looks really nice. The deal-killer for use was pricing – it was simply cost-prohibitive for our small operation. After much searching, we found a great solution in CodeMagic (formerly Nevercode) – it’s a really nice CI/CD flow with a modest learning curve. It had a magic combination of true Ionic Capacitor support, ease-of-use and a free pricing tier that is full-featured. If you’re in a crunch the upgraded plans are pay-as-you-go which is also a plus.
Amazing it has not got as much attention as it deserves…
Like everyone else, phonegap left a huge hole when it shut down. We looked at every alternative out there and eventually settled on volt.build for two reasons, 1) the company behind it has been around a long time and 2) it’s the closest we could find to building locally. It’s 100% cordova and they keep up with the latest.
volt build not support any plugins, like sqlite, file transfer, etc
“volt build not support any plugins, like sqlite, file transfer, etc”
Sorry – I just saw this comment. It’s not true at all. Here’s a list of over 1000 plugins which have been checked out for use.
https://volt.build/docs/approved_plugins/
I’m on the VoltBuilder team. Don’t hesitate to contact us if you have questions – [email protected]
For me, best way not is with GitHub actions, super cheap and easy to set up:
https://capgo.app/blog/automatic-capacitor-ios-build-github-action/