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 TRIX extends TrendIndicatorSeries { #private; readonly interval: number; constructor(interval: number); getRequiredInputs(): number; update(price: number, replace: boolean): number | null; protected calculateSignalState(result: number | null | undefined): "BEARISH" | "BULLISH" | "SIDEWAYS" | "UNKNOWN"; }