Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: Black Crow

    sample

    Rules

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

    Remarks

    Parameters

    • candles: Candle[]

      candles to be tested against this pattern

    • Default value trend: Trend = "up"

      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