Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

  • Tests whether the given candle matches the pattern: Inverted Hammer

    sample

    Rules

    1. A small real body is formed near the lower part of the price range.
    2. No gap down is required, as long as the pattern falls after a downtrend.
    3. The upper shadow is usually no more than two times as long as the body.
    4. The lower shadow is virtually nonexistent.

    Remarks

    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

gap

gap: number = 1

precision

precision: number = 0

ratio

ratio: number = 2

Generated using TypeDoc