Join our fan page
MQL5 Programming for Traders – Source Codes from the Book. Part 7 - expert for MetaTrader 5
- Views:
- 7620
- Rating:
- Published:
- 2023.12.15 15:15
- Updated:
- 2023.12.15 15:30
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Part 7. Advanced MQL5 tools
"Part 7. Advanced MQL5 tools" of the "MQL5 Programming for Traders" book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
This part covers libraries – a special program type that provides ready-made APIs for connecting to other MQL programs. It also discusses the possibility of developing software packages and combining logically interconnected programs into projects.
Finally, this part presents integrations with other software environments, including Python.
We will start by studying resources which are files of any type that can be embedded in the program code. Resources may contain:
- Multimedia elements
- "Hard" settings from external programs
- Other MQL5 programs in compiled form
The MQL5 development environment allows the inclusion of application data arrays, images, sounds, and fonts in the source file, making the program a self-sufficient and convenient product for the end user.
Special attention will be given to graphic resources with raster images in BMP format: You will learn how to create, edit, and display them dynamically on the chart.
We will conclude the final part of the book by studying the OpenCL integration in MQL5. OpenCL is an open standard for parallel programming in multiprocessor systems, including graphics processors (GPUs) and central processing units (CPUs). It enables the acceleration of computationally intensive tasks provided that the algorithms can be parallelized. These may include training neural networks, Fourier transform, and solving systems of equations.
OpenCL utilization in MQL programs requires the presence of special drivers from the manufacturer and support for OpenCL version 1.1 and higher. The presence of a graphics card is not mandatory, as the central processor can also be used for parallel computing.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/45596
In Part 6 of the "MQL5 Programming for Traders", we will study a key component of the MQL5 language – trading automation. We will start with a description of the fundamental entities, such as financial instrument specifications and trading account settings. These are prerequisites for creating properly operating Expert Advisors.
MQL5 Programming for Traders – Source Codes from the Book. Part 5In Part 5 of the book, we'll delve deeper into the APIs associated with algorithmic trading, including financial data analysis and processing, chart visualization, automation, and user interactions.
A sophisticated tool that accurately measures market noise
Input and output of onnx modelThe script is useful for inspecting the structure of ONNX models, providing insights into the input and output, their names, and their properties. It is particularly helpful for debugging and understanding the characteristics of ONNX models used in machine learning applications.