Table of Contents

Class Minimum

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

Represents an indicator capable of tracking the minimum value and how many periods ago it occurred

public class Minimum : WindowIndicator, IIndicator, IUpdatable
Inheritance
Minimum
Implements
Inherited Members
Extension Methods

Constructors

Minimum(int)

Creates a new Minimum indicator with the specified period

public Minimum(int period)

Parameters

period int

The period over which to look back

Minimum(string, int)

Creates a new Minimum indicator with the specified period

public Minimum(string name, int period)

Parameters

name string

The name of this indicator

period int

The period over which to look back

Properties

IsReady

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

public override bool IsReady { get; }

Property Value

bool

PeriodsSinceMinimum

The number of periods since the minimum value was encountered

public int PeriodsSinceMinimum { get; }

Property Value

int

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(IReadOnlyWindow<long>, IReadOnlyWindow<DoubleArray>, long, DoubleArray)

Computes the next value for this indicator from the given state.

protected override DoubleArray Forward(IReadOnlyWindow<long> timeWindow, IReadOnlyWindow<DoubleArray> window, long time, DoubleArray input)

Parameters

timeWindow IReadOnlyWindow<long>
window IReadOnlyWindow<DoubleArray>

The window of data held in this indicator

time long
input DoubleArray

Returns

DoubleArray

A new value for this indicator

Reset()

Resets this indicator to its initial state

public override void Reset()