Click or drag to resize

IAverager Interface

Represents an interface of average indicator. All averages must implement this interface. It may be useful for indicators which support user defined averaging method (for example Atr) .

Namespace:  FinAnalysis.Base
Assembly:  FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public interface IAverager

The IAverager type exposes the following members.

Properties
  NameDescription
Public propertyReady
Indicates that average has some value, which you can use. Useful for averages, which can not calculate its value on small amount of data.
Public propertyStable
Flag is set if and only if indicators values is stable.
Public propertyValue
Get average value.
Top
Methods
  NameDescription
Public methodAdd(Double)
Add new value for averaging.
Public methodAdd(Double, DateTime)
Add new value for averaging.
Public methodClone
Makes full copy of this instance.
Public methodCopyTo
Gets internal state from source object.
Top
See Also