Articles

Continuous walk-forward optimization (Part 8): Program improvements and fixes for MetaTrader 5

The program has been modified based on comments and requests from users and readers of this article series. This article contains a new version of the auto optimizer. This version implements requested features and provides other improvements, which I found when working with the program

Continuous Walk-Forward Optimization (Part 7): Binding Auto Optimizer's logical part with graphics and controlling graphics from the program for MetaTrader 5

This article describes the connection of the graphical part of the auto optimizer program with its logical part. It considers the optimization launch process, from a button click to task redirection to the optimization manager

Continuous Walk-Forward Optimization (Part 6): Auto optimizer's logical part and structure for MetaTrader 5

We have previously considered the creation of automatic walk-forward optimization. This time, we will proceed to the internal structure of the auto optimizer tool. The article will be useful for all those who wish to further work with the created project and to modify it, as well as for those who

Continuous Walk-Forward Optimization (Part 5): Auto Optimizer project overview and creation of a GUI for MetaTrader 5

This article provides further description of the walk-forward optimization in the MetaTrader 5 terminal. In previous articles, we considered methods for generating and filtering the optimization report and started analyzing the internal structure of the application responsible for the optimization

Continuous Walk-Forward Optimization (Part 4): Optimization Manager (Auto Optimizer) for MetaTrader 5

The main purpose of the article is to describe the mechanism of working with our application and its capabilities. Thus the article can be treated as an instruction on how to use the application. It covers all possible pitfalls and specifics of the application usage

Continuous Walk-Forward Optimization (Part 3): Adapting a Robot to Auto Optimizer for MetaTrader 5

The third part serves as a bridge between the previous two parts: it describes the mechanism of interaction with the DLL considered in the first article and the objects for report downloading, which were described in the second article. We will analyze the process of wrapper creation for a class

Continuous Walk-Forward Optimization (Part 2): Mechanism for creating an optimization report for any robot for MetaTrader 5

The first article within the Walk-Through Optimization series described the creation of a DLL to be used in our auto optimizer. This continuation is entirely devoted to the MQL5 language

Continuous Walk-Forward Optimization (Part 1): Working with Optimization Reports for MetaTrader 5

The first article is devoted to the creation of a toolkit for working with optimization reports, for importing them from the terminal, as well as for filtering and sorting the obtained data. MetaTrader 5 allows downloading optimization results, however our purpose is to add our own data to the

Optimization management (Part II): Creating key objects and add-on logic for MetaTrader 5

This article is a continuation of the previous publication related to the creation of a graphical interface for optimization management. The article considers the logic of the add-on. A wrapper for the MetaTrader 5 terminal will be created: it will enable the running of the add-on as a managed

Optimization management (Part I): Creating a GUI for MetaTrader 5

This article describes the process of creating an extension for the MetaTrader terminal. The solution discussed helps to automate the optimization process by running optimizations in other terminals. A few more articles will be written concerning this topic. The extension has been developed using

Forum

Why are there such tricks with degrees?

I need to write a function that works with powers and in the process I've discovered something interesting: If I substitute a negative fractional number to a negative fractional power, MQL5 writes -nan. double n = MathPow (- 5.5 ,- 0.2 ); I checked it in C++ and got the same result (I don't know