New article: Programming EA's Modes Using Object-Oriented Approach

 

New article Programming EA's Modes Using Object-Oriented Approach has been published at mql5.com:

In this article we are going to discuss programming modes, in which an MQL5 EA can work. The objective of this article is to describe the idea that "each mode is implemented in its own way". The author believes that this approach allows completion of tasks at different stages of development of an EA more efficiently.

At first, we consider what stages the development of an EA consists of. Then the modes, in which an EA in MetaTrader 5 can work and its helper applications are explored. Development of the hierarchy of classes for implementing the above idea finishes this article.


1. Development Stages

Development of a trading robot (EA) is a multi-aspect process. The key blocks here are algorithmization of the idea and testing it. Notably, both EA's trading logic and the code algorithm get tested.

As a scheme, the stages of this process can be represented as follows (Fig. 1).

Fig.1. Development stages and implementation of an EA

Fig.1. Development stages and implementation of an EA

Author: Dennis Kirichenko

Reason: