trading-signals
    Preparing search index...

    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 Summary)

    Index

    Constructors

    Properties

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

    Accessors

    • get isStable(): boolean

      Returns boolean

    Methods

    • Parameters

      • inputs: readonly BigSource[]
      • replace: boolean = false

      Returns (null | Big)[]

    • Parameters

      • prices: BigSource[]
      • Optionalaverage: BigSource

      Returns Big