Class AwesomeOscillator
Awesome Oscillator.
Inherited Members
Namespace: StockSharp.Algo.Indicators
Assembly: StockSharp.Algo.dll
Syntax
[DescriptionLoc("Str836", false)]
public class AwesomeOscillator : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Remarks
Constructors
AwesomeOscillator()
Initializes a new instance of the AwesomeOscillator.
Declaration
public AwesomeOscillator()
AwesomeOscillator(SimpleMovingAverage, SimpleMovingAverage)
Initializes a new instance of the AwesomeOscillator.
Declaration
public AwesomeOscillator(SimpleMovingAverage longSma, SimpleMovingAverage shortSma)
Parameters
Type | Name | Description |
---|---|---|
SimpleMovingAverage | longSma | Long moving average. |
SimpleMovingAverage | shortSma | Short moving average. |
Properties
IsFormed
Whether the indicator is set.
Declaration
public override bool IsFormed { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
LongMa
Long moving average.
Declaration
[DisplayNameLoc("Str798")]
[DescriptionLoc("Str799", false)]
[CategoryLoc("General")]
public SimpleMovingAverage LongMa { get; }
Property Value
Type | Description |
---|---|
SimpleMovingAverage |
MedianPrice
Median price.
Declaration
[DisplayNameLoc("Str843")]
[DescriptionLoc("Str745", false)]
[CategoryLoc("General")]
public MedianPrice MedianPrice { get; }
Property Value
Type | Description |
---|---|
MedianPrice |
ShortMa
Short moving average.
Declaration
[DisplayNameLoc("Str800")]
[DescriptionLoc("Str799", false)]
[CategoryLoc("General")]
public SimpleMovingAverage ShortMa { get; }
Property Value
Type | Description |
---|---|
SimpleMovingAverage |
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<>