Table of Contents

Class MaximumDeltaIndicator

Namespace
FinanceSharp.Indicators
Assembly
FinanceSharp.dll

Calculates the delta between Maximum and current price.

public class MaximumDeltaIndicator : Indicator, IIndicator, IUpdatable
Inheritance
MaximumDeltaIndicator
Implements
Inherited Members
Extension Methods

Constructors

MaximumDeltaIndicator(int?)

public MaximumDeltaIndicator(int? period = null)

Parameters

period int?

MaximumDeltaIndicator(string, int)

public MaximumDeltaIndicator(string name, int period)

Parameters

name string
period int

Properties

Delta

The delta between Maximum and current price.

public IndicatorBase Delta { get; }

Property Value

IndicatorBase

Remarks

Updated internally in Forward(long, DoubleArray).

IsReady

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

public override bool IsReady { get; }

Property Value

bool

Maximum

The maximum to calculate Delta based on.

public IIndicator Maximum { get; }

Property Value

IIndicator

Remarks

Updated internally in Forward(long, DoubleArray).

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