/** * Williams %R Indicator * * A momentum indicator showing the level of the close relative to the highest high * over a lookback period. Range: -100 to 0. * Williams %R = -100 * (highest - close) / (highest - lowest) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type FillConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface WilliamsRInputs { length: number; src: SourceType; } export declare const defaultInputs: WilliamsRInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const fillConfig: FillConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const WilliamsPercentRange: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: WilliamsRInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; fillConfig: FillConfig[]; }; //# sourceMappingURL=williams-r.d.ts.map