Class HikkakeModified
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Hikkake Modified candlestick pattern
public class HikkakeModified : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
HikkakeModified
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- first candle
- second candle: candle with range less than first candle and close near the bottom(near the top)
- third candle: lower high and higher low than 2nd
- fourth candle: lower high and lower low(higher high and higher low) than 3rd 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 3rd 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); The user should consider that modified hikkake is a reversal pattern, while hikkake could be both a reversal or a continuation pattern, so bullish(bearish) modified hikkake is significant when appearing in a downtrend(uptrend)
Constructors
HikkakeModified()
Initializes a new instance of the HikkakeModified class.
public HikkakeModified()
HikkakeModified(string)
Initializes a new instance of the HikkakeModified class using the specified name.
public HikkakeModified(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()