import MIN, { MINArgs } from "../MIN"; import MAX, { MAXArgs } from "../MAX"; import { JSONDef, Indicator, High, Low, Close } from "../types"; export interface FAST_STOCHArgs { period: number; min: MINArgs; max: MAXArgs; } export default class FAST_STOCH extends Indicator { period: number; min: MIN; max: MAX; constructor(period?: number, min?: MIN, max?: MAX); next(value: number): number; nextBar(bar: High & Low & Close): number; reset(): void; toString(): string; toJSON(): JSONDef; static readonly key = "finance.tr.FAST_STOCH"; static minBars({ period }: FAST_STOCHArgs): number; static display({ period }: FAST_STOCHArgs): string; static from({ period, min, max }: FAST_STOCHArgs): FAST_STOCH; }