Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

test

  • test(candles: Candle[], trend?: Trend, offset?: number): boolean
  • Tests whether the given candle matches the pattern: Dark Cloud Cover

    sample

    Rules

    1. The first day is a white black body, which is continuing the uptrend.
    2. The second day is a black body day with the open above the previous day's high.
    3. The second (black) day closes within but and below the midpoint of the the previous white body.

    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

    Returns boolean

Generated using TypeDoc