Class HomingPigeon
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Homing Pigeon candlestick pattern indicator
public class HomingPigeon : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
HomingPigeon
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- first candle: long black candle
- second candle: short black real body completely inside the previous day's body The meaning of "short" and "long" is specified with SetCandleSettings The returned value is positive(+1): homing pigeon is always bullish; The user should consider that homing pigeon is significant when it appears in a downtrend, while this function does not consider the trend
Constructors
HomingPigeon()
Initializes a new instance of the HomingPigeon class.
public HomingPigeon()
HomingPigeon(string)
Initializes a new instance of the HomingPigeon class using the specified name.
public HomingPigeon(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()