/** * Auto-Support v0.3 * * Pine: overlay=true, 28 pairs of resistance (highest) and support (lowest) lines * at various multipliers of a sensitivity parameter. * Each pair: resistance = highest(close, sensitivity * mult), support = lowest(close, sensitivity * mult) * * Pine uses offset=-9999 with trackprice=true so only the latest value shows as a horizontal line. * In lightweight-charts we render full time-series since trackprice is unavailable. * * Multipliers: 1,2,3,4,5,6,7,8,9,10,15,20,25,30,35,40,45,50,75,100,150,200,250,300,350,400,450,500 * * Reference: TradingView "Auto-Support v 0.3" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface AutoSupportInputs { sensitivity: number; } export declare const defaultInputs: AutoSupportInputs; 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 AutoSupport: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: AutoSupportInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=auto-support.d.ts.map