Class ThreeBlackCrows
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Three Black Crows candlestick pattern
public class ThreeBlackCrows : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
ThreeBlackCrows
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- three consecutive and declining black candlesticks
- each candle must have no or very short lower shadow
- each candle after the first must open within the prior candle's real body
- the first candle's close should be under the prior white candle's high The meaning of "very short" is specified with SetCandleSettings The returned value is negative (-1): three black crows is always bearish; The user should consider that 3 black crows is significant when it appears after a mature advance or at high levels, while this function does not consider it
Constructors
ThreeBlackCrows()
Initializes a new instance of the ThreeBlackCrows class.
public ThreeBlackCrows()
ThreeBlackCrows(string)
Initializes a new instance of the ThreeBlackCrows class using the specified name.
public ThreeBlackCrows(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()