Skip to content

CMoneySizeOptimized

CMoneySizeOptimized

CMoneySizeOptimized is a class with implementation of money and risk management algorithm depending on results of the previous deals.

Description

CMoneySizeOptimized implements the market entry algorithm with the lot size depending on results of the previous deals.

Declaration

class CMoneySizeOptimized: public CExpertMoney

Title

#include <Expert\Money\MoneySizeOptimized.mqh>

Inheritance hierarchy

CObject

CExpertBase

CExpertMoney

CMoneySizeOptimized

Class Methods by Groups

Initialization
DecreaseFactorSets the parameter value
virtual ValidationSettingsChecks the settings
Money and Risk Management Methods
virtual CheckOpenLongGets trade volume for a long position
virtual CheckOpenShortGets trade volume for a short position

Methods inherited from class CExpertBase

: InitPhase, TrendType, UsedSeries, EveryTick, Open, High, Low, Close, Spread, Time, TickVolume, RealVolume, Init, Symbol, Period, Magic, SetMarginMode, SetPriceSeries, SetOtherSeries, InitIndicators

Methods inherited from class CExpertMoney

: Percent, CheckReverse, CheckClose

Last updated on