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

Constructors

Properties

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

Accessors

  • get isStable(): boolean
  • Returns boolean

Methods

  • Parameters

    • price: BigSource
    • replace: boolean = false

    Returns void | Big