Class WilderMovingAverage
- Namespace
- FinanceSharp.Indicators
- Assembly
- FinanceSharp.dll
Represents the moving average indicator defined by Welles Wilder in his book: New Concepts in Technical Trading Systems.
public class WilderMovingAverage : Indicator, IIndicator, IUpdatable
- Inheritance
-
WilderMovingAverage
- Implements
- Inherited Members
- Extension Methods
Constructors
WilderMovingAverage(int)
Initializes a new instance of the WilderMovingAverage class with the default name and period
public WilderMovingAverage(int period)
Parameters
periodintThe period of the Wilder Moving Average
WilderMovingAverage(string, int)
Initializes a new instance of the WilderMovingAverage class with the specified name and period
public WilderMovingAverage(string name, int period)
Parameters
Properties
IsReady
Gets a flag indicating when this indicator is ready and fully initialized
public override bool IsReady { get; }
Property Value
WarmUpPeriod
Required period, in data points, for the indicator to be ready and fully initialized.
public override int WarmUpPeriod { get; }
Property Value
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()