Table of Contents

Class SpinningTop

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Spinning Top candlestick pattern indicator

public class SpinningTop : CandlestickPattern, IIndicator, IUpdatable
Inheritance
SpinningTop
Implements
Inherited Members
Extension Methods

Remarks

 Must have:
  • small real body
  • shadows longer than the real body The meaning of "short" is specified with SetCandleSettings The returned value is positive(+1) when white or negative(-1) when black; it does not mean bullish or bearish

Constructors

SpinningTop()

Initializes a new instance of the SpinningTop class.

public SpinningTop()

SpinningTop(string)

Initializes a new instance of the SpinningTop class using the specified name.

public SpinningTop(string name)

Parameters

name string

The name of this indicator

Properties

IsReady

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

public override bool IsReady { get; }

Property Value

bool

Methods

Forward(IReadOnlyWindow<long>, IReadOnlyWindow<DoubleArray>, long, DoubleArray)

Computes the next value of this indicator from the given state

protected override DoubleArray Forward(IReadOnlyWindow<long> timeWindow, IReadOnlyWindow<DoubleArray> window, long time, DoubleArray input)

Parameters

timeWindow IReadOnlyWindow<long>
window IReadOnlyWindow<DoubleArray>

The window of data held in this indicator

time long
input DoubleArray

Returns

DoubleArray

A new value for this indicator

Reset()

Resets this indicator to its initial state

public override void Reset()