Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: Doji Star

    sample

    sample

    Rules

    1. The first day is a long day.
    2. The second day gaps in the direction of the previous trend.
    3. The second day is a Doji.
    4. The shadows on the Doji should not be excessively long, especially in the bullish case.

    Remarks

    • Source: p.62

    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

gap

gap: number = 1

longDay

longDay: Options = LongDay.defaults

ratio

ratio: number = 2

Generated using TypeDoc