Table of Contents

Class PropertySelector

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

Selects a specific range of (Start and Stop) of what properties to select.

public class PropertySelector : IndicatorBase, IIndicator, IUpdatable
Inheritance
PropertySelector
Implements
Inherited Members
Extension Methods

Remarks

To select property index 1 (2nd property) then call

new PropertySelector(1) or new PropertySelector(1, 2)

Constructors

PropertySelector(int, int, string)

Initializes a new instance of the Indicator class using the specified name.

public PropertySelector(int startProperty, int stopProperty, string name)

Parameters

startProperty int

Start of interval. The interval includes this value. The default start value is 0.

stopProperty int

End of interval. The interval does not include this value, except in some cases where step is not an integer and floating point round-off affects the length of out.

name string

The name of this indicator

PropertySelector(int, string)

Initializes a new instance of the Indicator class using the specified name.

public PropertySelector(int property, string name)

Parameters

property int

The index of the property to slice.

name string

The name of this indicator

Properties

IsReady

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

public override bool IsReady { get; }

Property Value

bool

Start

Start of interval. The interval includes this value. The default start value is 0.

public int Start { get; }

Property Value

int

Stop

End of interval. The interval does not include this value, except in some cases where step is not an integer and floating point round-off affects the length of out.

public int Stop { 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