MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Subscribe to signal
Forexea
11.41%, 55 328.03 USD
Screenshot
XAUUSD., M15
Real
Electronic Tables in MQL5 Electronic Tables in MQL5 Exp_X2MA Expert Advisor
Exp_X2MA
Author: GODZILLA
MARVI Power MultiMARVI Power Multi Try product
MARVI Power Multi
Author: achidayat

Money Management classes

This section contains technical details of working with money and risk management classes and description of the relevant components of the MQL5 standard library.

The use of these classes will save time when creating (and testing) of trading strategies.

MQL5 Standard Library (in terms of money and risk management classes) is placed in the terminal directory, in the  Include\Expert\Money\ folder.

Class

Description

CMoneyFixedLot

This class implements money management algorithm, based on trading with predefined fixed lot size.

CMoneyFixedMargin

This class implements money management algorithm, based on trading with predefined fixed margin.

CMoneyFixedRisk

This class implements money management algorithm, based on trading with predefined risk.

CMoneyNone

This class implements money management algorithm, based on trading with minimal allowed lot size.

CMoneySizeOptimized

This class implements money management algorithm, based on trading with variable lot size, depending on results of the previous deals.


Updated: 2010.11.26