C# Class FastQuant.Indicator

Inheritance: TimeSeries
Datei anzeigen Open project: fastquant/fastquant.dll

Protected Properties

Property Type Description
calculate bool
input ISeries

Public Methods

Method Description
Attach ( ) : void
Calculate ( int index ) : void
Detach ( ) : void
GetDateTime ( int index ) : System.DateTime
GetIndex ( System.DateTime datetime, IndexOption option = IndexOption.Null ) : int
GetMax ( System.DateTime dateTime1, System.DateTime dateTime2 ) : double
GetMin ( System.DateTime dateTime1, System.DateTime dateTime2 ) : double
Indicator ( ISeries input ) : System
this ( int index ) : double
this ( int index, BarData barData ) : double

Protected Methods

Method Description
Calculate ( ) : void
Init ( ) : void

Private Methods

Method Description
Update ( int index ) : void

Method Details

Attach() public method

public Attach ( ) : void
return void

Calculate() protected method

protected Calculate ( ) : void
return void

Calculate() public method

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

Detach() public method

public Detach ( ) : void
return void

GetDateTime() public method

public GetDateTime ( int index ) : System.DateTime
index int
return System.DateTime

GetIndex() public method

public GetIndex ( System.DateTime datetime, IndexOption option = IndexOption.Null ) : int
datetime System.DateTime
option IndexOption
return int

GetMax() public method

public GetMax ( System.DateTime dateTime1, System.DateTime dateTime2 ) : double
dateTime1 System.DateTime
dateTime2 System.DateTime
return double

GetMin() public method

public GetMin ( System.DateTime dateTime1, System.DateTime dateTime2 ) : double
dateTime1 System.DateTime
dateTime2 System.DateTime
return double

Indicator() public method

public Indicator ( ISeries input ) : System
input ISeries
return System

Init() protected method

protected Init ( ) : void
return void

this() public method

public this ( int index ) : double
index int
return double

this() public method

public this ( int index, BarData barData ) : double
index int
barData BarData
return double

Property Details

calculate protected_oe property

protected bool calculate
return bool

input protected_oe property

protected ISeries input
return ISeries