Table of Contents

Class IndicatorType

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

The indicator type description.

public class IndicatorType : Equatable<IndicatorType>, IPersistable
Inheritance
IndicatorType
Implements
IPersistable
Extension Methods

Constructors

IndicatorType()

Initializes a new instance of the IndicatorType.

protected IndicatorType()

IndicatorType(Type, Type)

Initializes a new instance of the IndicatorType.

public IndicatorType(Type indicator, Type painter)

Parameters

indicator Type

Indicator type.

painter Type

The renderer type for indicator extended drawing.

Properties

Description

The indicator description.

public string Description { get; }

Property Value

string

DocUrl

Documentation url.

public string DocUrl { get; }

Property Value

string

Id

Identifier.

public virtual string Id { get; }

Property Value

string

Indicator

Indicator type.

public Type Indicator { get; protected set; }

Property Value

Type

InputValue

Input values type.

public Type InputValue { get; }

Property Value

Type

IsComplex

public bool IsComplex { get; }

Property Value

bool

IsObsolete

The IndicatorType is obsolete.

public bool IsObsolete { get; }

Property Value

bool

Name

Indicator name.

public string Name { get; }

Property Value

string

OutputValue

Result values type.

public Type OutputValue { get; }

Property Value

Type

Painter

The renderer type for indicator extended drawing.

public Type Painter { get; }

Property Value

Type

Methods

Clone()

Create a copy of IndicatorType.

public override IndicatorType Clone()

Returns

IndicatorType

Copy.

CreateIndicator()

Create indicator.

public IIndicator CreateIndicator()

Returns

IIndicator

IIndicator

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnEquals(IndicatorType)

Compare IndicatorType on the equivalence.

protected override bool OnEquals(IndicatorType other)

Parameters

other IndicatorType

Another value with which to compare.

Returns

bool

true, if the specified object is equal to the current object, otherwise, false.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Events

IndicatorChanged

Indicator changed event.

public event Action IndicatorChanged

Event Type

Action