Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: White Soldier

    sample

    Rules

    1. The pattern starts with a long black say.
    2. The second day is a long white day.
    3. The second day opens at or above the previous day's close.
    4. The second day closes near the highs of the day, ending above the high of the previous day.

    Remarks

    Parameters

    • candles: Candle[]

      candles to be tested against this pattern

    • Default value trend: Trend = "down"

      trend in which candle occured

    • Default value offset: number = 0

      offset to earliest / first candle

    • Default value options: Options = defaults

      configurable options for this pattern

    Returns boolean

Object literals

Const defaults

defaults: object

longDay

longDay: Options = LongDay.defaults

ratio

ratio: number = 3

Generated using TypeDoc