Class Level1Indicator
The indicator, built on the market data basis.
Inherited Members
Namespace: StockSharp.Algo.Indicators
Assembly: StockSharp.Algo.dll
Syntax
[DisplayNameLoc("Security")]
[DescriptionLoc("Str747", false)]
[IndicatorIn]
public class Level1Indicator : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Constructors
Level1Indicator()
Declaration
public Level1Indicator()
Properties
Field
Level one market-data field, which is used as an indicator value.
Declaration
[DisplayNameLoc("Str748")]
[DescriptionLoc("Str749", false)]
[CategoryLoc("General")]
public Level1Fields Field { get; set; }
Property Value
Type | Description |
---|---|
Level1Fields |
Methods
Load(SettingsStorage)
Load settings.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
OnProcess(IIndicatorValue)
To handle the input value.
Declaration
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
Type | Name | Description |
---|---|---|
IIndicatorValue | input | The input value. |
Returns
Type | Description |
---|---|
IIndicatorValue | The resulting value. |
Overrides
Save(SettingsStorage)
Save settings.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Overrides
Implements
Ecng.Serialization.IPersistable
Ecng.Common.ICloneable<>