Table of Contents

Class Acceleration

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

Acceleration / Deceleration Indicator.

[Display(ResourceType = typeof(LocalizedStrings), Name = "AD", Description = "AccDecIndicator")]
public class Acceleration : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
Acceleration
Implements
IPersistable
ICloneable<IIndicator>
Inherited Members
Extension Methods

Remarks

Constructors

Acceleration()

Initializes a new instance of the Acceleration.

public Acceleration()

Acceleration(AwesomeOscillator, SimpleMovingAverage)

Initializes a new instance of the Acceleration.

public Acceleration(AwesomeOscillator ao, SimpleMovingAverage sma)

Parameters

ao AwesomeOscillator

Awesome Oscillator.

sma SimpleMovingAverage

The moving average.

Properties

Ao

Awesome Oscillator.

[TypeConverter(typeof(ExpandableObjectConverter))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "AO", Description = "AwesomeOscillator", GroupName = "General")]
public AwesomeOscillator Ao { get; }

Property Value

AwesomeOscillator

Measure

public override IndicatorMeasures Measure { get; }

Property Value

IndicatorMeasures

NumValuesToInitialize

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals true). null if undefined.

public override int NumValuesToInitialize { get; }

Property Value

int

Sma

The moving average.

[TypeConverter(typeof(ExpandableObjectConverter))]
[Display(ResourceType = typeof(LocalizedStrings), Name = "MA", Description = "MovingAverage", GroupName = "General")]
public SimpleMovingAverage Sma { get; }

Property Value

SimpleMovingAverage

Methods

CalcIsFormed()

Calc IsFormed.

protected override bool CalcIsFormed()

Returns

bool

IsFormed

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

IIndicatorValue

The resulting value.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.