import SMA, { SMAArgs } from "../SMA"; import { JSONDef, Indicator, High, Low } from "../types"; export interface AOArgs { fast: SMAArgs; slow: SMAArgs; } export default class AO extends Indicator { fast: SMA; slow: SMA; constructor(fast?: number | SMA, slow?: number | SMA); next(): number; nextBar(bar: High & Low): number; reset(): void; toString(): string; toJSON(): JSONDef; static display(): string; static minBars({ fast, slow }: AOArgs): number; static readonly key = "finance.tr.AO"; static from({ fast, slow }: AOArgs): AO; }