Table of Contents

Class UltimateOscillator

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

This indicator computes the Ultimate Oscillator (ULTOSC) The Ultimate Oscillator is calculated as explained here: http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:ultimate_oscillator

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

Constructors

UltimateOscillator(int, int, int)

Initializes a new instance of the UltimateOscillator class using the specified parameters

public UltimateOscillator(int period1, int period2, int period3)

Parameters

period1 int

The first period

period2 int

The second period

period3 int

The third period

UltimateOscillator(string, int, int, int)

Initializes a new instance of the UltimateOscillator class using the specified parameters

public UltimateOscillator(string name, int period1, int period2, int period3)

Parameters

name string

The name of this indicator

period1 int

The first period

period2 int

The second period

period3 int

The third period

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