/** * Fisher Transform Indicator * * Converts prices into a Gaussian normal distribution, making * turning points easier to identify. * * Based on TradingView's Fisher Transform indicator. */ import type { Bar, InputConfig, PlotConfig, HLineConfig } from 'oakscriptjs'; export interface FisherTransformInputs { /** Lookback period for highest/lowest calculation */ length: number; } export declare const defaultInputs: FisherTransformInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; /** * Calculate Fisher Transform * * Algorithm: * 1. Calculate hl2 (midpoint of high and low) * 2. Normalize to range [-1, 1] using highest/lowest over length * 3. Apply smoothing with previous value * 4. Apply Fisher Transform: 0.5 * ln((1+x)/(1-x)) */ export declare function calculate(bars: Bar[], inputs?: Partial): ReturnType; export declare const FisherTransform: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: FisherTransformInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; }; //# sourceMappingURL=fisher-transform.d.ts.map