UNPKG

trading-signals

Version:

Technical indicators to run technical analysis with JavaScript / TypeScript.

10 lines (9 loc) 415 B
import { TrendIndicatorSeries } from '../../base/Indicator.js'; export declare class MOM extends TrendIndicatorSeries { #private; readonly interval: number; constructor(interval: number); getRequiredInputs(): number; update(value: number, replace: boolean): number | null; protected calculateSignalState(result?: number | null | undefined): "BEARISH" | "BULLISH" | "SIDEWAYS" | "UNKNOWN"; }