Table of Contents

Class AroonOscillator

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

The Aroon Oscillator is the difference between AroonUp and AroonDown. The value of this indicator fluctuates between -100 and +100. An upward trend bias is present when the oscillator is positive, and a negative trend bias is present when the oscillator is negative. AroonUp/Down values over 75 identify strong trends in their respective direction.

public class AroonOscillator : BarIndicator, IIndicator, IUpdatable
Inheritance
AroonOscillator
Implements
Inherited Members
Extension Methods

Constructors

AroonOscillator(int, int)

Creates a new AroonOscillator from the specified up/down periods.

public AroonOscillator(int upPeriod, int downPeriod)

Parameters

upPeriod int

The lookback period to determine the highest high for the AroonDown

downPeriod int

The lookback period to determine the lowest low for the AroonUp

AroonOscillator(string, int, int)

Creates a new AroonOscillator from the specified up/down periods.

public AroonOscillator(string name, int upPeriod, int downPeriod)

Parameters

name string

The name of this indicator

upPeriod int

The lookback period to determine the highest high for the AroonDown

downPeriod int

The lookback period to determine the lowest low for the AroonUp

Properties

AroonDown

Gets the AroonDown indicator

public IndicatorBase AroonDown { get; }

Property Value

IndicatorBase

AroonUp

Gets the AroonUp indicator

public IndicatorBase AroonUp { get; }

Property Value

IndicatorBase

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 input given to the indicator

Returns

DoubleArray

A new value for this indicator

Reset()

Resets this indicator and both sub-indicators (AroonUp and AroonDown)

public override void Reset()