Class Hikkake
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Hikkake candlestick pattern
public class Hikkake : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
Hikkake
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- first and second candle: inside bar (2nd has lower high and higher low than 1st)
- third candle: lower high and lower low than 2nd(higher high and higher low than 2nd) The returned value for the hikkake bar is positive(+1) or negative(-1) meaning bullish or bearish hikkake Confirmation could come in the next 3 days with:
- a day that closes higher than the high(lower than the low) of the 2nd candle The returned value for the confirmation bar is equal to 1 + the bullish hikkake result or -1 - the bearish hikkake result Note: if confirmation and a new hikkake come at the same bar, only the new hikkake is reported(the new hikkake overwrites the confirmation of the old hikkake)
Constructors
Hikkake()
Initializes a new instance of the Hikkake class.
public Hikkake()
Hikkake(string)
Initializes a new instance of the Hikkake class using the specified name.
public Hikkake(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()