Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Object literals

Functions

test

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

    sample

    Rules

    1. Prices gap open after an uptrend.
    2. A small real body is formed near the lower part of the price range.
    3. The upper shadow is at least three 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 = "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

gap

gap: number = 1

precision

precision: number = 0

ratio

ratio: number = 3

Generated using TypeDoc