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
Properties
Description
The indicator description.
public string Description { get; }
Property Value
DocUrl
Documentation url.
public string DocUrl { get; }
Property Value
Id
Identifier.
public virtual string Id { get; }
Property Value
Indicator
Indicator type.
public Type Indicator { get; protected set; }
Property Value
InputValue
Input values type.
public Type InputValue { get; }
Property Value
IsComplex
public bool IsComplex { get; }
Property Value
IsObsolete
The IndicatorType is obsolete.
public bool IsObsolete { get; }
Property Value
Name
Indicator name.
public string Name { get; }
Property Value
OutputValue
Result values type.
public Type OutputValue { get; }
Property Value
Painter
The renderer type for indicator extended drawing.
public Type Painter { get; }
Property Value
Methods
Clone()
Create a copy of IndicatorType.
public override IndicatorType Clone()
Returns
- IndicatorType
Copy.
CreateIndicator()
Create indicator.
public IIndicator CreateIndicator()
Returns
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnEquals(IndicatorType)
Compare IndicatorType on the equivalence.
protected override bool OnEquals(IndicatorType other)
Parameters
other
IndicatorTypeAnother value with which to compare.
Returns
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Events
IndicatorChanged
Indicator changed event.
public event Action IndicatorChanged