C# Class MQL4CSharp.UserDefined.RiskProfile.PercentRiskProfile

Inheritance: MQL4CSharp.Base.Common.BaseRiskProfile
显示文件 Open project: jseparovic/MQL4CSharp

Public Methods

Method Description
PercentRiskProfile ( BaseStrategy strategy, double cashAccountEquity, double percentRisk, double maxLots ) : MQL4CSharp.Base
getLotSize ( String symbol, double stopDistance ) : double

Method Details

PercentRiskProfile() public method

public PercentRiskProfile ( BaseStrategy strategy, double cashAccountEquity, double percentRisk, double maxLots ) : MQL4CSharp.Base
strategy MQL4CSharp.Base.BaseStrategy
cashAccountEquity double
percentRisk double
maxLots double
return MQL4CSharp.Base

getLotSize() public method

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