Very good and interesting article. I learnt a lot of new and useful things. Frankly speaking, this does not happen often, but this is the case. I will study your other articles carefully.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Check out the new article: Developing an MQTT client for MetaTrader 5: a TDD approach — Final.
This article is the last part of a series describing our development steps of a native MQL5 client for the MQTT 5.0 protocol. Although the library is not production-ready yet, in this part, we will use our client to update a custom symbol with ticks (or rates) sourced from another broker. Please, see the bottom of this article for more information about the library's current status, what is missing for it to be fully compliant with the MQTT 5.0 protocol, a possible roadmap, and how to follow and contribute to its development.
Finally, in this seventh and last part we want to share with you some working code that is intended to address a very common trader need when it comes to the building of indicators signals to be used in Expert Advisors: the lack of a required symbol for the indicator in the trading account.
We suggest one possible solution using custom symbols and a pair of MQTT clients running as services on the Metatrader 5 terminal. Even though the demo code is oversimplified and runs on a single terminal instance, due to the main characteristic of the MQTT protocol itself - which is the decoupling between the sender and the receiver by a “broker” mediation - this solution can be extended to accommodate any number of device instances and symbols.
At the end of the article, we indicate the current status of the library, our development priorities with a possible roadmap, and where you can follow and contribute to the project.
Author: Jocimar Lopes