/** * WaveTrend with Crosses * * Normalized momentum oscillator using EMA of deviation. * WT1 = EMA(CI, n2) where CI = (hlc3 - EMA(hlc3, n1)) / (0.015 * EMA(|hlc3 - EMA(hlc3, n1)|, n1)) * WT2 = SMA(WT1, 4) * * Reference: TradingView "WaveTrend with Crosses" by LazyBear */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface WaveTrendInputs { channelLength: number; averageLength: number; obLevel1: number; osLevel1: number; } export declare const defaultInputs: WaveTrendInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const WaveTrend: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: WaveTrendInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=wavetrend.d.ts.map