Click or drag to resize

IIndicator Interface

The interface describing indicator.

Namespace:  StockSharp.Algo.Indicators
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public interface IIndicator : IPersistable, 
	ICloneable<IIndicator>, ICloneable

The IIndicator type exposes the following members.

Properties
  NameDescription
Public propertyContainer
The container storing indicator data.
Public propertyId
Unique ID.
Public propertyInputType
Input values type.
Public propertyIsFormed
Whether the indicator is set.
Public propertyName
Indicator name.
Public propertyResultType
Result values type.
Top
Methods
  NameDescription
Public methodClone (Inherited from ICloneableIIndicator.)
Public methodLoad (Inherited from IPersistable.)
Public methodProcess
To handle the input value.
Public methodReset
To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).
Public methodSave (Inherited from IPersistable.)
Top
Events
  NameDescription
Public eventChanged
The indicator change event (for example, a new value is added).
Public eventReseted
The event of resetting the indicator status to initial. The event is called each time when initial settings are changed (for example, the length of period).
Top
Extension Methods
  NameDescription
Public Extension MethodGetCurrentValueOverloaded.
To get the current value of the indicator.
(Defined by IndicatorHelper.)
Public Extension MethodGetCurrentValueTOverloaded.
To get the current value of the indicator.
(Defined by IndicatorHelper.)
Public Extension MethodGetNullableCurrentValue
To get the current value of the indicator.
(Defined by IndicatorHelper.)
Public Extension MethodGetNullableValue
To get the indicator value by the index (0 - last value).
(Defined by IndicatorHelper.)
Public Extension MethodGetValue(Int32)Overloaded.
To get the indicator value by the index (0 - last value).
(Defined by IndicatorHelper.)
Public Extension MethodGetValueT(Int32)Overloaded.
To get the indicator value by the index (0 - last value).
(Defined by IndicatorHelper.)
Public Extension MethodProcess(Candle)Overloaded.
To renew the indicator with candle closing price ClosePrice.
(Defined by IndicatorHelper.)
Public Extension MethodProcess(Decimal, Boolean)Overloaded.
To renew the indicator with numeric value.
(Defined by IndicatorHelper.)
Public Extension MethodProcessTValue(TupleTValue, TValue, Boolean)Overloaded.
To renew the indicator with numeric pair.
(Defined by IndicatorHelper.)
Top
See Also