Class RiseFallThreeMethods
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Rising/Falling Three Methods candlestick pattern
public class RiseFallThreeMethods : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
RiseFallThreeMethods
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- first candle: long white (black) candlestick
- then: group of falling(rising) small real body candlesticks(commonly black (white)) that hold within the prior long candle's range: ideally they should be three but two or more than three are ok too
- final candle: long white(black) candle that opens above(below) the previous small candle's close and closes above(below) the first long candle's close The meaning of "short" and "long" is specified with SetCandleSettings; here only patterns with 3 small candles are considered; The returned value is positive(+1) or negative(-1)
Constructors
RiseFallThreeMethods()
Initializes a new instance of the RiseFallThreeMethods class.
public RiseFallThreeMethods()
RiseFallThreeMethods(string)
Initializes a new instance of the RiseFallThreeMethods class using the specified name.
public RiseFallThreeMethods(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()