Table of Contents

Class InvertedHammer

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Inverted Hammer candlestick pattern indicator

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

Remarks

 Must have:
  • small real body
  • long upper shadow
  • no, or very short, lower shadow
  • gap down The meaning of "short", "very short" and "long" is specified with SetCandleSettings; The returned value is positive(+1): inverted hammer is always bullish; The user should consider that an inverted hammer must appear in a downtrend, while this function does not consider it

Constructors

InvertedHammer()

Initializes a new instance of the InvertedHammer class.

public InvertedHammer()

InvertedHammer(string)

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

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