SharpTrader.SDK - Developer API

CachedEMA Members

The CachedEMA type exposes the following members.

Constructors


  Name Description
Public method CachedEMA(Int32)
Public method CachedEMA(Int32, Double)

Methods


  Name Description
Public method AddInputValue
Add input value
(Inherited from IndicatorHelper.)
Protected method Calculate(ValueSeries)
Receives value buffer of at most [AdvancedIndicatorBase{double, ValueSeries}.Bars] values. The implementation should calculate and

Return Value

its most recent value.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method ForwardByBar(ValueSeries)
Update state of the class instance to reflect latest bar in buffer
Protected method ForwardByBar(TSeries)
Update state of the class instance to reflect latest bar in buffer
(Inherited from AdvancedIndicatorBase<(Of <(<'TValue, TSeries>)>)>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue
Calculates and

Return Value

the most recent indicator value. Also CanCalculate.
(Inherited from IndicatorHelper.)
Public method Initialize (Inherited from IndicatorHelper.)
Protected method InitializeWith(ValueSeries)
Prepare state of the class instance to correspond bars in buffer
Protected method InitializeWith(TSeries)
Prepare state of the class instance to correspond bars in buffer
(Inherited from AdvancedIndicatorBase<(Of <(<'TValue, TSeries>)>)>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property Alpha
Public property Bars (Inherited from AdvancedIndicatorBase<(Of <(<'TValue, TSeries>)>)>.)
Public property CalculatedValues
Public property CanCalculate
GetValue()()()() is allowed to be called only after IndicatorHelper has new data received by Initialize(ValueSeries) or AddInputValue(Double). This helps to ensure that values are not accidentally duplicated to multiple bars. This property indicates whether GetValue()()()() can be called.
(Inherited from IndicatorHelper.)
Public property Item