Table of Contents

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

period int
delta double
tool SwissArmyKnifeTool

SwissArmyKnife(string, int, double, SwissArmyKnifeTool)

Swiss Army Knife indicator by John Ehlers

public SwissArmyKnife(string name, int period, double delta, SwissArmyKnifeTool tool)

Parameters

name string
period int
delta double
tool SwissArmyKnifeTool

Properties

IsReady

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

public override bool IsReady { get; }

Property Value

bool

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(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 to the initial state

public override void Reset()