Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: Belt Hold

    sample

    sample

    Rules

    1. The Belt Hold line is identified by the lack of a shadow on one end.
    2. The bullish white Belt Hold opens on its low and has no lower shadows.
    3. The bearish black Belt Hold opens on its high and has no upper shadows.

    Remarks

    • Source: p.32

    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

ratio

ratio: number = 2

Generated using TypeDoc