Table of Contents

Class MorningDojiStar

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Morning Doji Star candlestick pattern

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

Remarks

 Must have:
  • first candle: long black real body
  • second candle: doji gapping down
  • third candle: white 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 positive(+1): morning doji star is always bullish; the user should consider that a morning star is significant when it appears in a downtrend, while this function does not consider the trend

Constructors

MorningDojiStar()

Initializes a new instance of the MorningDojiStar class.

public MorningDojiStar()

MorningDojiStar(double)

Initializes a new instance of the MorningDojiStar class.

public MorningDojiStar(double penetration)

Parameters

penetration double

Percentage of penetration of a candle within another candle

MorningDojiStar(string, double)

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

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