C# Class MQL4CSharp.UserDefined.StopLoss.ATRStopLoss

Inheritance: MQL4CSharp.Base.Common.BaseStopLoss
Exibir arquivo Open project: jseparovic/MQL4CSharp

Public Methods

Method Description
ATRStopLoss ( BaseStrategy strategy, int atrPeriods, int atrShift ) : System
getLevel ( String symbol, TIMEFRAME timeframe, SignalResult signal ) : double
manage ( String symbol, int ticket ) : void

Method Details

ATRStopLoss() public method

public ATRStopLoss ( BaseStrategy strategy, int atrPeriods, int atrShift ) : System
strategy MQL4CSharp.Base.BaseStrategy
atrPeriods int
atrShift int
return System

getLevel() public method

public getLevel ( String symbol, TIMEFRAME timeframe, SignalResult signal ) : double
symbol String
timeframe TIMEFRAME
signal MQL4CSharp.Base.Common.SignalResult
return double

manage() public method

public manage ( String symbol, int ticket ) : void
symbol String
ticket int
return void