Table of Contents

Class Doji

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Doji candlestick pattern indicator

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

Remarks

 Must have:
  • open quite equal to close How much can be the maximum distance between open and close is specified with SetCandleSettings The returned value is always positive(+1) but this does not mean it is bullish: doji shows uncertainty and it is neither bullish nor bearish when considered alone

Constructors

Doji()

Initializes a new instance of the Doji class.

public Doji()

Doji(string)

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

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