Class MAD

Mean Absolute Deviation (MAD) Type: Volatility

The mean absolute deviation (MAD) is calculating the absolute deviation / difference from the mean over a period. Large outliers will reflect in a higher MAD.

Hierarchy (view full)

Constructors

Properties

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

Accessors

  • get isStable(): boolean
  • Returns boolean

Methods

  • Parameters

    • prices: BigSource[]
    • Optional average: BigSource

    Returns Big