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
-
IPersistableICloneable<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
AccelerationMax
Maximum acceleration factor.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Max", Description = "MaxAccelerationFactor", GroupName = "General")]
public decimal AccelerationMax { get; set; }
Property Value
AccelerationStep
Acceleration factor step.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Step", Description = "AccelerationFactorStep", GroupName = "General")]
public decimal AccelerationStep { 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.
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
SettingsStorageSettings storage.