Class MinimumDeltaIndicator
- Namespace
- FinanceSharp.Indicators
- Assembly
- FinanceSharp.dll
Calculates the delta between Minimum and current price.
public class MinimumDeltaIndicator : Indicator, IIndicator, IUpdatable
- Inheritance
-
MinimumDeltaIndicator
- Implements
- Inherited Members
- Extension Methods
Constructors
MinimumDeltaIndicator(int?)
public MinimumDeltaIndicator(int? period = null)
Parameters
periodint?
MinimumDeltaIndicator(string, int)
public MinimumDeltaIndicator(string name, int period)
Parameters
Properties
Delta
The delta between Minimum and current price.
public IndicatorBase Delta { get; }
Property Value
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
Minimum
The maximum to calculate Minimum based on.
public IIndicator Minimum { get; }
Property Value
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
timelonginputDoubleArrayThe 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()