Class SwissArmyKnife
- Namespace
- FinanceSharp.Indicators
- Assembly
- FinanceSharp.dll
Swiss Army Knife indicator by John Ehlers
public class SwissArmyKnife : Indicator, IIndicator, IUpdatable
- Inheritance
-
SwissArmyKnife
- Implements
- Inherited Members
- Extension Methods
Constructors
SwissArmyKnife(int, double, SwissArmyKnifeTool)
Swiss Army Knife indicator by John Ehlers
public SwissArmyKnife(int period, double delta, SwissArmyKnifeTool tool)
Parameters
periodintdeltadoubletoolSwissArmyKnifeTool
SwissArmyKnife(string, int, double, SwissArmyKnifeTool)
Swiss Army Knife indicator by John Ehlers
public SwissArmyKnife(string name, int period, double delta, SwissArmyKnifeTool tool)
Parameters
namestringperiodintdeltadoubletoolSwissArmyKnifeTool
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 to the initial state
public override void Reset()