|
Classes for Creating and Testing Trading Strategies
This section contains technical details of working with classes for creation and testing of trading strategies and description of the relevant components of the MQL5 standard library.
The use of these classes will save time when creating (and especially testing) trading strategies.
MQL5 Standard Library (in terms of trading strategies) is placed in the terminal directory, in the Include\Expert folder.
Base classes |
Description |
---|---|
Base class for all trading strategy classes |
|
Base class for Expert Advisor |
|
Base class for Trading Signal classes |
|
Base class for Trailing Stop classes |
|
Base class for Money Management classes |
Trading signal classes |
Description |
---|---|
The module of signals based on market models of the indicator Accelerator Oscillator. |
|
The module of signals based on market models of the indicator Adaptive Moving Average. |
|
The module of signals based on market models of the indicator Awesome Oscillator. |
|
The module of signals based on market models of the oscillator Bears Power. |
|
The module of signals based on market models of the oscillator Bulls Power. |
|
The module of signals based on market models of the oscillator Commodity Channel Index. |
|
The module of signals based on market models of the oscillator DeMarker. |
|
The module of signals based on market models of the indicator Double Exponential Moving Average. |
|
The module of signals based on market models of the indicator Envelopes. |
|
The module of signals based on market models of the indicator Fractal Adaptive Moving Average. |
|
The module of filtration of signals by time. |
|
The module of signals based on market models of the oscillator MACD. |
|
The module of signals based on market models of the indicator Moving Average. |
|
The module of signals based on market models of the indicator Parabolic SAR. |
|
The module of signals based on market models of the oscillator Relative Strength Index. |
|
The module of signals based on market models of the oscillator Relative Vigor Index. |
|
The module of signals based on market models of the oscillator Stochastic. |
|
The module of signals based on market models of the oscillator Triple Exponential Average. |
|
The module of signals based on market models of the indicator Triple Exponential Moving Average. |
|
The module of signals based on market models of the oscillator Williams Percent Range. |
Trailing Stop classes |
Description |
---|---|
This class implements Trailing Stop algorithm based on fixed points |
|
This class implements Trailing Stop algorithm based on the values of Moving Average indicator |
|
A stub class, it does not use any Trailing Stop algorithm |
|
This class implements Trailing Stop algorithm based on the values of Parabolic SAR indicator |
Money Management classes |
Description |
---|---|
A class with an algorithm based on trading with predefined fixed lot size. |
|
A class with an algorithm based on trading with predefined fixed margin. |
|
A class with an algorithm based on trading with predefined risk. |
|
A class with an algorithm based on trading with minimal allowed lot size. |
|
A class with an algorithm based on trading with variable lot size, depending on the results of the previous deals. |