Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: Short Day

    sample

    Rules

    1. Body of candle is considerably smaller than previous bodies.
    2. Use previous 5 to 10 candles as context to determine what "considerably" means.

    Remarks

    • Source: p.13
    • Opposite Pattern: LongDay

    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

Object literals

Const defaults

defaults: object

noOfCandles

noOfCandles: number = 5

ratio

ratio: number = 2

Generated using TypeDoc