Class ConcealedBabySwallow
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Concealed Baby Swallow candlestick pattern
public class ConcealedBabySwallow : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
ConcealedBabySwallow
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- first candle: black marubozu (very short shadows)
- second candle: black marubozu(very short shadows)
- third candle: black candle that opens gapping down but has an upper shadow that extends into the prior body
- fourth candle: black candle that completely engulfs the third candle, including the shadows The meanings of "very short shadow" are specified with SetCandleSettings; The returned value is positive(+1): concealing baby swallow is always bullish; The user should consider that concealing baby swallow is significant when it appears in downtrend, while this function does not consider it
Constructors
ConcealedBabySwallow()
Initializes a new instance of the ConcealedBabySwallow class.
public ConcealedBabySwallow()
ConcealedBabySwallow(string)
Initializes a new instance of the ConcealedBabySwallow class using the specified name.
public ConcealedBabySwallow(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()