This
part of the article describes the possibilities of the CStrategy engine
integration with the signal modules included into the standard library
in MetaTrader. The article describes how to work with signals, as well
as how to create custom strategies on their basis.
The below diagram shows the general scheme of vertical inheritance of
classes used in the process of automatic generation of strategies:
Fig. 1. Inheritance of standard classes of the strategy generator
The
figure only shows basic and some derived classes. The scheme does not
feature all indicators inherited from CIndicators. Separate trailing,
money management and signal modules are not included into the scheme.
Instead, only the basic relationships are outlined. One of the featured
groups is of interest to us: the signal classes CExpertSignal and its
child classes. In Figure 1, the group is highlighted by a green dotted
line.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
New article Universal Expert Advisor: Integration with Standard MetaTrader Modules of Signals (Part 7) has been published:
This part of the article describes the possibilities of the CStrategy engine integration with the signal modules included into the standard library in MetaTrader. The article describes how to work with signals, as well as how to create custom strategies on their basis.
The below diagram shows the general scheme of vertical inheritance of classes used in the process of automatic generation of strategies:
Fig. 1. Inheritance of standard classes of the strategy generator
The figure only shows basic and some derived classes. The scheme does not feature all indicators inherited from CIndicators. Separate trailing, money management and signal modules are not included into the scheme. Instead, only the basic relationships are outlined. One of the featured groups is of interest to us: the signal classes CExpertSignal and its child classes. In Figure 1, the group is highlighted by a green dotted line.
Author: Vasiliy Sokolov