Class Level1Indicator
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
The indicator, built on the market data basis.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Level1", Description = "Level1Indicator")]
[IndicatorIn(typeof(SingleIndicatorValue<Level1ChangeMessage>))]
[IndicatorHidden]
public class Level1Indicator : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
Level1Indicator
- Implements
-
IPersistableICloneable<IIndicator>
- Inherited Members
- Extension Methods
Constructors
Level1Indicator()
public Level1Indicator()
Properties
Field
Level one market-data field, which is used as an indicator value.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Field", Description = "Level1Field", GroupName = "General")]
public Level1Fields Field { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.