Table of Contents

Class ParabolicSar

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

Trend indicator implementation - Parabolic SAR.

[Display(ResourceType = typeof(LocalizedStrings), Name = "ParabolicSAR", Description = "ParabolicSARDesc")]
[IndicatorIn(typeof(CandleIndicatorValue))]
public class ParabolicSar : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
ParabolicSar
Implements
IPersistable
ICloneable<IIndicator>
Derived
Inherited Members
Extension Methods

Remarks

Constructors

ParabolicSar()

Initializes a new instance of the ParabolicSar.

public ParabolicSar()

Properties

Acceleration

Acceleration factor.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Acceleration", Description = "AccelerationFactor", GroupName = "General")]
public decimal Acceleration { get; set; }

Property Value

decimal

AccelerationMax

Maximum acceleration factor.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Max", Description = "MaxAccelerationFactor", GroupName = "General")]
public decimal AccelerationMax { get; set; }

Property Value

decimal

AccelerationStep

Acceleration factor step.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Step", Description = "AccelerationFactorStep", GroupName = "General")]
public decimal AccelerationStep { get; set; }

Property Value

decimal

Methods

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.

Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).

public override void Reset()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.