Lean  $LEAN_TAG$
QuantConnect.Indicators.UltimateOscillator Class Reference

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 More...

Inheritance diagram for QuantConnect.Indicators.UltimateOscillator:
[legend]

Public Member Functions

 UltimateOscillator (int period1, int period2, int period3)
 Initializes a new instance of the UltimateOscillator class using the specified parameters More...
 
 UltimateOscillator (string name, int period1, int period2, int period3)
 Initializes a new instance of the UltimateOscillator class using the specified parameters More...
 
override void Reset ()
 Resets this indicator to its initial state More...
 

Public Attributes

override bool IsReady => Samples > _period
 Gets a flag indicating when this indicator is ready and fully initialized More...
 
int WarmUpPeriod => _period + 1
 Required period, in data points, for the indicator to be ready and fully initialized. More...
 

Protected Member Functions

override decimal ComputeNextValue (IBaseDataBar input)
 Computes the next value of this indicator from the given state More...
 
- Protected Member Functions inherited from QuantConnect.Indicators.BarIndicator
 BarIndicator (string name)
 Creates a new TradeBarIndicator with the specified name More...
 

Additional Inherited Members

- Properties inherited from QuantConnect.Indicators.IIndicatorWarmUpPeriodProvider
int WarmUpPeriod [get]
 Required period, in data points, for the indicator to be ready and fully initialized. More...
 

Detailed Description

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

Definition at line 26 of file UltimateOscillator.cs.

Constructor & Destructor Documentation

◆ UltimateOscillator() [1/2]

QuantConnect.Indicators.UltimateOscillator.UltimateOscillator ( int  period1,
int  period2,
int  period3 
)

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

Parameters
period1The first period
period2The second period
period3The third period

Definition at line 44 of file UltimateOscillator.cs.

◆ UltimateOscillator() [2/2]

QuantConnect.Indicators.UltimateOscillator.UltimateOscillator ( string  name,
int  period1,
int  period2,
int  period3 
)

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

Parameters
nameThe name of this indicator
period1The first period
period2The second period
period3The third period

Definition at line 56 of file UltimateOscillator.cs.

Member Function Documentation

◆ ComputeNextValue()

override decimal QuantConnect.Indicators.UltimateOscillator.ComputeNextValue ( IBaseDataBar  input)
protected

Computes the next value of this indicator from the given state

Parameters
inputThe input given to the indicator
Returns
A new value for this indicator

Definition at line 84 of file UltimateOscillator.cs.

◆ Reset()

override void QuantConnect.Indicators.UltimateOscillator.Reset ( )

Resets this indicator to its initial state

Definition at line 126 of file UltimateOscillator.cs.

Member Data Documentation

◆ IsReady

override bool QuantConnect.Indicators.UltimateOscillator.IsReady => Samples > _period

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

Definition at line 72 of file UltimateOscillator.cs.

◆ WarmUpPeriod

int QuantConnect.Indicators.UltimateOscillator.WarmUpPeriod => _period + 1

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

Definition at line 77 of file UltimateOscillator.cs.


The documentation for this class was generated from the following file: