Table of Contents

Class Thrusting

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Thrusting candlestick pattern indicator

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

Remarks

 Must have:
  • first candle: long black candle
  • second candle: white candle with open below previous day low and close into previous day body under the midpoint; to differentiate it from in-neck the close should not be equal to the black candle's close The meaning of "equal" is specified with SetCandleSettings The returned value is negative(-1): thrusting pattern is always bearish The user should consider that the thrusting pattern is significant when it appears in a downtrend and it could be even bullish "when coming in an uptrend or occurring twice within several days" (Steve Nison says), while this function does not consider the trend

Constructors

Thrusting()

Initializes a new instance of the Thrusting class.

public Thrusting()

Thrusting(string)

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

public Thrusting(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()