trading-signals
    Preparing search index...

    Class WMA

    Weighted Moving Average (WMA) Type: Trend

    Compared to SMA, the WMA puts more emphasis on the recent prices to reduce lag. Due to its responsiveness to price changes, it rises faster and falls faster than the SMA when the price is inclining or declining.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

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

    Accessors

    • get isStable(): boolean

      Returns boolean

    Methods

    • Parameters

      • price: BigSource
      • replace: boolean

      Returns null | Big

    • Parameters

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

      Returns (null | Big)[]