Table of Contents

Class ThreeOutside

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Three Outside Up/Down candlestick pattern

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

Remarks

 Must have:
  • first: black(white) real body
  • second: white(black) real body that engulfs the prior real body
  • third: candle that closes higher(lower) than the second candle The returned value is positive (+1) for the three outside up or negative (-1) for the three outside down; The user should consider that a three outside up must appear in a downtrend and three outside down must appear in an uptrend, while this function does not consider it

Constructors

ThreeOutside()

Initializes a new instance of the ThreeOutside class.

public ThreeOutside()

ThreeOutside(string)

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

public ThreeOutside(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