Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: Matching High

    sample

    Rules

    1. The first day is long white day that occurs in an uptrend.
    2. The second day has the same closing price as the first day.
    3. Both days have little or no upper shadow.

    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

precision

precision: number = 0

Generated using TypeDoc