Class SeparatingLines
- Namespace
- FinanceSharp.Indicators.CandlestickPatterns
- Assembly
- FinanceSharp.dll
Separating Lines candlestick pattern indicator
public class SeparatingLines : CandlestickPattern, IIndicator, IUpdatable
- Inheritance
-
SeparatingLines
- Implements
- Inherited Members
- Extension Methods
Remarks
Must have:
- first candle: black (white) candle
- second candle: bullish(bearish) belt hold with the same open as the prior candle The meaning of "long body" and "very short shadow" of the belt hold is specified with SetCandleSettings The returned value is positive(+1) when bullish or negative(-1) when bearish; The user should consider that separating lines is significant when coming in a trend and the belt hold has the same direction of the trend, while this function does not consider it
Constructors
SeparatingLines()
Initializes a new instance of the SeparatingLines class.
public SeparatingLines()
SeparatingLines(string)
Initializes a new instance of the SeparatingLines class using the specified name.
public SeparatingLines(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()