trading-signals
    Preparing search index...

    Class SMA15

    Spencer's 15-Point Moving Average Type: Trend

    A specialized weighted moving average that uses 15 points with predefined weights designed for optimal data smoothing. It’s a specific weighted moving average, designed to preserve the trend component in data while minimizing distortion from seasonal or irregular variations.

    The formula uses these specific weights: [-3, -6, -5, 3, 21, 46, 67, 74, 67, 46, 21, 3, -5, -6, -3]

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    highest?: Big
    interval: number
    lowest?: Big

    Accessors

    • get isStable(): boolean

      Returns boolean

    Methods

    • Parameters

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

      Returns (null | Big)[]