C# Class FastQuant.Indicators.EMA

Inheritance: Indicator
Mostra file Open project: fastquant/fastquant.dll Class Usage Examples

Protected Properties

Property Type Description
barData BarData
length int

Private Properties

Property Type Description

Public Methods

Method Description
Calculate ( int index ) : void
EMA ( ISeries input, int length, BarData barData = BarData.Close ) : System
Value ( ISeries input, int index, int length, BarData barData = BarData.Close ) : double
ValueWithLastValue ( ISeries input, int index, int length, double last, BarData barData = BarData.Close ) : double

Protected Methods

Method Description
Init ( ) : void

Method Details

Calculate() public method

public Calculate ( int index ) : void
index int
return void

EMA() public method

public EMA ( ISeries input, int length, BarData barData = BarData.Close ) : System
input ISeries
length int
barData BarData
return System

Init() protected method

protected Init ( ) : void
return void

Value() public static method

public static Value ( ISeries input, int index, int length, BarData barData = BarData.Close ) : double
input ISeries
index int
length int
barData BarData
return double

ValueWithLastValue() public static method

public static ValueWithLastValue ( ISeries input, int index, int length, double last, BarData barData = BarData.Close ) : double
input ISeries
index int
length int
last double
barData BarData
return double

Property Details

barData protected_oe property

protected BarData barData
return BarData

length protected_oe property

protected int length
return int