Makaleler

Mastering Log Records (Part 7): How to Show Logs on Chart MetaTrader 5 için

Learn how to display logs directly on the MetaTrader chart in an organized way, with frames, titles and automatic scrolling. In this article, we show you how to create a visual log system using MQL5, ideal for monitoring what your robot is doing in real time

Mastering Log Records (Part 6): Saving logs to database MetaTrader 5 için

This article explores the use of databases to store logs in a structured and scalable way. It covers fundamental concepts, essential operations, configuration and implementation of a database handler in MQL5. Finally, it validates the results and highlights the benefits of this approach for

Mastering Log Records (Part 5): Optimizing the Handler with Cache and Rotation MetaTrader 5 için

This article improves the logging library by adding formatters in handlers, the CIntervalWatcher class to manage execution cycles, optimization with caching and file rotation, performance tests and practical examples. With these improvements, we ensure an efficient, scalable and adaptable logging

Mastering Log Records (Part 4): Saving logs to files MetaTrader 5 için

In this article, I will teach you basic file operations and how to configure a flexible handler for customization. We will update the CLogifyHandlerFile class to write logs directly to the file. We will conduct a performance test by simulating a strategy on EURUSD for a week, generating logs at each

Mastering Log Records (Part 3): Exploring Handlers to Save Logs MetaTrader 5 için

In this article, we will explore the concept of handlers in the logging library, understand how they work, and create three initial implementations: Console, Database, and File. We will cover everything from the basic structure of handlers to practical testing, preparing the ground for their full

Mastering Log Records (Part 2): Formatting Logs MetaTrader 5 için

In this article, we will explore how to create and apply log formatters in the library. We will see everything from the basic structure of a formatter to practical implementation examples. By the end, you will have the necessary knowledge to format logs within the library, and understand how

Mastering Log Records (Part 1): Fundamental Concepts and First Steps in MQL5 MetaTrader 5 için

Welcome to the beginning of another journey! This article opens a special series where we will create, step by step, a library for log manipulation, tailored for those who develop in the MQL5 language

Connexus Observer (Part 8): Adding a Request Observer MetaTrader 5 için

In this final installment of our Connexus library series, we explored the implementation of the Observer pattern, as well as essential refactorings to file paths and method names. This series covered the entire development of Connexus, designed to simplify HTTP communication in complex applications

Client in Connexus (Part 7): Adding the Client Layer MetaTrader 5 için

In this article we continue the development of the connexus library. In this chapter we build the CHttpClient class responsible for sending a request and receiving an order. We also cover the concept of mocks, leaving the library decoupled from the WebRequest function, which allows greater

Requesting in Connexus (Part 6): Creating an HTTP Request and Response MetaTrader 5 için

In this sixth article of the Connexus library series, we will focus on a complete HTTP request, covering each component that makes up a request. We will create a class that represents the request as a whole, which will help us bring together the previously created classes