Click or drag to resize

LengthIndicatorTResult Class

The base class for indicators with one resulting value and based on the period.
Inheritance Hierarchy
SystemObject
  CloneableIIndicator
    StockSharp.Algo.IndicatorsBaseIndicator
      StockSharp.Algo.IndicatorsLengthIndicatorTResult
        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 LengthIndicator<TResult> : BaseIndicator

Type Parameters

TResult
Result values type.

The LengthIndicatorTResult type exposes the following members.

Constructors
  NameDescription
Protected methodLengthIndicatorTResult
Initialize LengthIndicatorTResult.
Top
Properties
  NameDescription
Protected propertyBuffer
The buffer for data storage.
Public propertyContainer
The container storing indicator data.
(Inherited from BaseIndicator.)
Public propertyId
Unique ID.
(Inherited from BaseIndicator.)
Public propertyInputType
Input values type.
(Inherited from BaseIndicator.)
Public propertyIsFormed
Whether the indicator is set.
(Overrides BaseIndicatorIsFormed.)
Public propertyLength
Period length. By default equal to 1.
Public propertyName
Indicator name.
(Inherited from BaseIndicator.)
Public propertyResultType
Result values type.
(Inherited from BaseIndicator.)
Top
Methods
  NameDescription
Public methodClone
Create a copy of IIndicator.
(Inherited from BaseIndicator.)
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.
(Overrides BaseIndicatorLoad(SettingsStorage).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnProcess
To handle the input value.
(Inherited from BaseIndicator.)
Public methodProcess
To handle the input value.
(Inherited from BaseIndicator.)
Protected methodRaiseChangedEvent
To call the event Changed.
(Inherited from BaseIndicator.)
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).
(Overrides BaseIndicatorReset.)
Public methodSave
Save settings.
(Overrides BaseIndicatorSave(SettingsStorage).)
Public methodToString
Returns a string that represents the current object.
(Overrides BaseIndicatorToString.)
Top
Events
  NameDescription
Public eventChanged
The indicator change event (for example, a new value is added).
(Inherited from BaseIndicator.)
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).
(Inherited from BaseIndicator.)
Top
See Also
Inheritance Hierarchy
SystemObject
  CloneableIIndicator
    StockSharp.Algo.IndicatorsBaseIndicator
      StockSharp.Algo.IndicatorsLengthIndicatorTResult
        StockSharp.Algo.IndicatorsAlligatorLine
        StockSharp.Algo.IndicatorsAverageTrueRange
        StockSharp.Algo.IndicatorsChandeMomentumOscillator
        StockSharp.Algo.IndicatorsCommodityChannelIndex
        StockSharp.Algo.IndicatorsCovariance
        StockSharp.Algo.IndicatorsDetrendedPriceOscillator
        StockSharp.Algo.IndicatorsDiPart
        StockSharp.Algo.IndicatorsDoubleExponentialMovingAverage
        StockSharp.Algo.IndicatorsExponentialMovingAverage
        StockSharp.Algo.IndicatorsHighest
        StockSharp.Algo.IndicatorsHullMovingAverage
        StockSharp.Algo.IndicatorsIchimokuChinkouLine
        StockSharp.Algo.IndicatorsIchimokuLine
        StockSharp.Algo.IndicatorsIchimokuSenkouALine
        StockSharp.Algo.IndicatorsIchimokuSenkouBLine
        StockSharp.Algo.IndicatorsJurikMovingAverage
        StockSharp.Algo.IndicatorsKaufmannAdaptiveMovingAverage
        StockSharp.Algo.IndicatorsLinearReg
        StockSharp.Algo.IndicatorsLinearRegSlope
        StockSharp.Algo.IndicatorsLowest
        StockSharp.Algo.IndicatorsMeanDeviation
        StockSharp.Algo.IndicatorsMomentum
        StockSharp.Algo.IndicatorsMoneyFlowIndex
        StockSharp.Algo.IndicatorsNickRypockTrailingReverse
        StockSharp.Algo.IndicatorsOptimalTracking
        StockSharp.Algo.IndicatorsQStick
        StockSharp.Algo.IndicatorsRelativeStrengthIndex
        StockSharp.Algo.IndicatorsRelativeVigorIndexAverage
        StockSharp.Algo.IndicatorsRelativeVigorIndexSignal
        StockSharp.Algo.IndicatorsRSquared
        StockSharp.Algo.IndicatorsSimpleMovingAverage
        StockSharp.Algo.IndicatorsSmoothedMovingAverage
        StockSharp.Algo.IndicatorsStandardDeviation
        StockSharp.Algo.IndicatorsStandardError
        StockSharp.Algo.IndicatorsStochasticK
        StockSharp.Algo.IndicatorsSum
        StockSharp.Algo.IndicatorsTripleExponentialMovingAverage
        StockSharp.Algo.IndicatorsTrix
        StockSharp.Algo.IndicatorsVerticalHorizontalFilter
        StockSharp.Algo.IndicatorsVidya
        StockSharp.Algo.IndicatorsVolumeWeightedMovingAverage
        StockSharp.Algo.IndicatorsWeightedMovingAverage
        StockSharp.Algo.IndicatorsWilderMovingAverage
        StockSharp.Algo.IndicatorsWilliamsR