Skip to main content
Module

x/trading_signals/mod.ts>MovingAverage

Technical indicators to run technical analysis for Deno. 📈
Latest
class MovingAverage
Re-export
Abstract
import { MovingAverage } from "https://deno.land/x/trading_signals@3.6.1/mod.ts";

Moving Average (MA) Type: Trend

Base class for trend-following (lagging) indicators. The longer the moving average interval, the greater the lag.

Constructors

new
MovingAverage(interval: number)

Methods

abstract
update(price: BigSource): BigInstance | void