Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Variables

Functions

Type aliases

Options

Options: Options

Variables

Const defaults

defaults: Options = LongDay.defaults

Functions

test

  • Tests whether the given candle matches the pattern: Piercing Line

    sample

    Rules

    1. The first day is a long black body continuing the downtrend.
    2. The second day is a white body which opens below the low of the previous day.
    3. The second day closes within but above the midpoint of the the previous day's body.

    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

Generated using TypeDoc