Click or drag to resize

BaseIndicator Class

The base Indicator.
Inheritance Hierarchy
SystemObject
  CloneableIIndicator
    StockSharp.Algo.IndicatorsBaseIndicator
      More...

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

The BaseIndicator type exposes the following members.

Constructors
  NameDescription
Protected methodBaseIndicator
Initialize BaseIndicator.
Top
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
Create a copy of IIndicator.
(Overrides Cloneable.Clone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnProcess
To handle the input value.
Public methodProcess
To handle the input value.
Protected methodRaiseChangedEvent
To call the event Changed.
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
Save settings.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
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
Inheritance Hierarchy
SystemObject
  CloneableIIndicator
    StockSharp.Algo.IndicatorsBaseIndicator
      StockSharp.Algo.IndicatorsAcceleration
      StockSharp.Algo.IndicatorsAwesomeOscillator
      StockSharp.Algo.IndicatorsBaseComplexIndicator
      StockSharp.Algo.IndicatorsBollingerBand
      StockSharp.Algo.IndicatorsChaikinVolatility
      StockSharp.Algo.IndicatorsFractalPart
      StockSharp.Algo.IndicatorsGatorHistogram
      StockSharp.Algo.IndicatorsLengthIndicatorTResult
      StockSharp.Algo.IndicatorsLevel1Indicator
      StockSharp.Algo.IndicatorsMarketFacilitationIndex
      StockSharp.Algo.IndicatorsMedianPrice
      StockSharp.Algo.IndicatorsMovingAverageConvergenceDivergence
      StockSharp.Algo.IndicatorsParabolicSar
      StockSharp.Algo.IndicatorsPeakBar
      StockSharp.Algo.IndicatorsRangeActionVerificationIndex
      StockSharp.Algo.IndicatorsTroughBar
      StockSharp.Algo.IndicatorsTrueRange
      StockSharp.Algo.IndicatorsUltimateOscillator
      StockSharp.Algo.IndicatorsVolumeIndicator
      StockSharp.Algo.IndicatorsVolumeProfileIndicator
      StockSharp.Algo.IndicatorsZigZag
      StockSharp.Algo.IndicatorsZigZagEquis