Table of Contents

Class EveningDojiStar

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Evening Doji Star candlestick pattern

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

Remarks

 Must have:
  • first candle: long white real body
  • second candle: doji gapping up
  • third candle: black real body that moves well within the first candle's real body The meaning of "doji" and "long" is specified with SetCandleSettings The meaning of "moves well within" is specified with penetration and "moves" should mean the real body should not be short ("short" is specified with SetCandleSettings) - Greg Morris wants it to be long, someone else want it to be relatively long The returned value is negative(-1): evening star is always bearish; The user should consider that an evening star is significant when it appears in an uptrend, while this function does not consider the trend

Constructors

EveningDojiStar()

Initializes a new instance of the EveningDojiStar class.

public EveningDojiStar()

EveningDojiStar(double)

Initializes a new instance of the EveningDojiStar class.

public EveningDojiStar(double penetration)

Parameters

penetration double

Percentage of penetration of a candle within another candle

EveningDojiStar(string, double)

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

public EveningDojiStar(string name, double penetration = 0.3)

Parameters

name string

The name of this indicator

penetration double

Percentage of penetration of a candle within another candle

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