Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/3683-standardlibrary-expertclasses-samplemmclasses-cmoneyfixedmargin.md
T
2026-06-23 21:47:51 +08:00

48 lines
1.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CMoneyFixedMargin
CMoneyFixedMargin is the class designed to implement money management algorithm based on trading with predefined fixed margin.
### Description
CMoneyFixedMargin implements money management algorithm based on trading with predefined fixed margin.
### Declaration
```
   class CMoneyFixedMargin: public CExpertMoney
```
### Title
```
   #include <Expert\Money\MoneyFixedMargin.mqh>
```
```
Inheritance hierarchy
  CObject
      CExpertBase
          CExpertMoney
              CMoneyFixedMargin
```
### Class Methods by Groups
| Money and Risk Management Methods | |
| --- | --- |
| virtual CheckOpenLong | Gets trade volume for a long position |
| virtual CheckOpenShort | Gets trade volume for a short position |
| Methods inherited from class CObject
Prev, Prev, Next, Next, Save , Load , Type , Compare |
| --- |
| 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 , ValidationSettings , CheckReverse , CheckClose |
###