Class GravestoneDoji
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Gravestone Doji candlestick pattern indicator
public class GravestoneDoji : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
GravestoneDoji
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- doji body
- open and close at the low of the day = no or very short lower shadow
- upper shadow(to distinguish from other dojis, here upper shadow should not be very short) The meaning of "doji" and "very short" is specified with SetCandleSettings The returned value is always positive(+1) but this does not mean it is bullish: gravestone doji must be considered relatively to the trend
Constructors
GravestoneDoji()
Initializes a new instance of the GravestoneDoji class.
public GravestoneDoji()
GravestoneDoji(string)
Initializes a new instance of the GravestoneDoji class using the specified name.
public GravestoneDoji(string name)
Parameters
namestringThe 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
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
timeWindowIReadOnlyWindow<long>windowIReadOnlyWindow<DoubleArray>The window of data held in this indicator
timelonginputDoubleArray
Returns
- DoubleArray
A new value for this indicator
Reset()
Resets this indicator to its initial state
public override void Reset()