Table of Contents

Class GapSideBySideWhite

Namespace
FinanceSharp.Indicators.CandlestickPatterns
Assembly
FinanceSharp.dll

Up/Down-gap side-by-side white lines candlestick pattern

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

Remarks

 Must have:
  • upside or downside gap (between the bodies)
  • first candle after the window: white candlestick
  • second candle after the window: white candlestick with similar size(near the same) and about the same open(equal) of the previous candle
  • the second candle does not close the window The meaning of "near" and "equal" is specified with SetCandleSettings The returned value is positive(+1) or negative(-1): the user should consider that upside or downside gap side-by-side white lines is significant when it appears in a trend, while this function does not consider the trend

Constructors

GapSideBySideWhite()

Initializes a new instance of the GapSideBySideWhite class.

public GapSideBySideWhite()

GapSideBySideWhite(string)

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

public GapSideBySideWhite(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()