Class ParabolicStopAndReverse
- Namespace
- FinanceSharp.Indicators
- Assembly
- FinanceSharp.dll
Parabolic SAR Indicator Based on TA-Lib implementation
public class ParabolicStopAndReverse : BarIndicator, IIndicator, IUpdatable
- Inheritance
-
ParabolicStopAndReverse
- Implements
- Inherited Members
- Extension Methods
Constructors
ParabolicStopAndReverse(double, double, double)
Create new Parabolic SAR
public ParabolicStopAndReverse(double afStart = 0.02, double afIncrement = 0.02, double afMax = 0.2)
Parameters
afStartdoubleAcceleration factor start value
afIncrementdoubleAcceleration factor increment value
afMaxdoubleAcceleration factor max value
ParabolicStopAndReverse(string, double, double, double)
Create new Parabolic SAR
public ParabolicStopAndReverse(string name, double afStart = 0.02, double afIncrement = 0.02, double afMax = 0.2)
Parameters
namestringThe name of this indicator
afStartdoubleAcceleration factor start value
afIncrementdoubleAcceleration factor increment value
afMaxdoubleAcceleration factor max value
Properties
IsReady
Gets a flag indicating when this indicator is ready and fully initialized
public override bool IsReady { get; }
Property Value
WarmUpPeriod
Required period, in data points, for the indicator to be ready and fully initialized.
public override int WarmUpPeriod { get; }
Property Value
Methods
Forward(long, DoubleArray)
Computes the next value of this indicator from the given state
protected override DoubleArray Forward(long time, DoubleArray input)
Parameters
timelonginputDoubleArrayThe trade bar input given to the indicator
Returns
- DoubleArray
A new value for this indicator
Reset()
Resets this indicator to its initial state
public override void Reset()