UNPKG

trading-signals

Version:

Technical indicators to run technical analysis with JavaScript / TypeScript.

10 lines (9 loc) 403 B
import { TrendIndicatorSeries } from '../../base/Indicator.js'; export declare class TDS extends TrendIndicatorSeries { private readonly closes; private setupCount; private setupDirection; getRequiredInputs(): number; update(close: number, replace: boolean): number | null; protected calculateSignalState(result?: number | null | undefined): "BEARISH" | "BULLISH" | "UNKNOWN"; }