Table of Contents

Class UniqueThreeRiver

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Unique Three River candlestick pattern

public class UniqueThreeRiver : CandlestickPattern, IIndicator, IUpdatable
Inheritance
UniqueThreeRiver
Implements
Inherited Members
Extension Methods

Remarks

 Must have:
  • first candle: long black candle
  • second candle: black harami candle with a lower low than the first candle's low
  • third candle: small white candle with open not lower than the second candle's low, better if its open and close are under the second candle's close The meaning of "short" and "long" is specified with SetCandleSettings The returned value is positive(+1): unique 3 river is always bullish and should appear in a downtrend to be significant, while this function does not consider the trend

Constructors

UniqueThreeRiver()

Initializes a new instance of the UniqueThreeRiver class.

public UniqueThreeRiver()

UniqueThreeRiver(string)

Initializes a new instance of the UniqueThreeRiver class using the specified name.

public UniqueThreeRiver(string name)

Parameters

name string

The 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

bool

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

timeWindow IReadOnlyWindow<long>
window IReadOnlyWindow<DoubleArray>

The window of data held in this indicator

time long
input DoubleArray

Returns

DoubleArray

A new value for this indicator

Reset()

Resets this indicator to its initial state

public override void Reset()