Class FasterMAD

Tracks results of an indicator over time and memorizes the highest & lowest result.

Hierarchy (view full)

Constructors

Properties

highest?: number
interval: number
lowest?: number
prices: number[] = []

Accessors

  • get isStable(): boolean
  • Returns boolean

Methods

  • Parameters

    • prices: number[]
    • Optional average: number

    Returns number