Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: Harami Cross

    sample

    sample

    Rules

    1. A long day occurs within a trending market.
    2. The second day is a Doji (open and close are equal)
    3. The second-day Doji is within the range of the previous long day

    Remarks

    • Source: p.45

    Parameters

    • candles: Candle[]

      candles to be tested against this pattern

    • trend: Trend

      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

doji

doji: Options = Doji.defaults

longDay

longDay: Options = LongDay.defaults

Generated using TypeDoc