C# Class MQL4CSharp.UserDefined.RiskProfile.FixedDollarRiskProfile

Inheritance: MQL4CSharp.Base.Common.BaseRiskProfile
Mostra file Open project: jseparovic/MQL4CSharp Class Usage Examples

Public Methods

Method Description
FixedDollarRiskProfile ( BaseStrategy strategy, double dollarRisk, double maxLots ) : MQL4CSharp.Base
getLotSize ( String symbol, double stopDistance ) : double

Method Details

FixedDollarRiskProfile() public method

public FixedDollarRiskProfile ( BaseStrategy strategy, double dollarRisk, double maxLots ) : MQL4CSharp.Base
strategy MQL4CSharp.Base.BaseStrategy
dollarRisk double
maxLots double
return MQL4CSharp.Base

getLotSize() public method

public getLotSize ( String symbol, double stopDistance ) : double
symbol String
stopDistance double
return double