Table of Contents

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

afStart double

Acceleration factor start value

afIncrement double

Acceleration factor increment value

afMax double

Acceleration 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

name string

The name of this indicator

afStart double

Acceleration factor start value

afIncrement double

Acceleration factor increment value

afMax double

Acceleration factor max value

Properties

IsReady

Gets a flag indicating when this indicator is ready and fully initialized

public override bool IsReady { get; }

Property Value

bool

WarmUpPeriod

Required period, in data points, for the indicator to be ready and fully initialized.

public override int WarmUpPeriod { get; }

Property Value

int

Methods

Forward(long, DoubleArray)

Computes the next value of this indicator from the given state

protected override DoubleArray Forward(long time, DoubleArray input)

Parameters

time long
input DoubleArray

The 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()