/** * Automatic Support & Resistance by getmohsin.py * * Pine: overlay=true, 8 plots from pivot analysis: * level1/level2 = quick pivot high/low (valuewhen occurrence 0) * level3/level4 = regular pivot high/low (valuewhen occurrence 0) * level5/level6 = regular pivot high/low (valuewhen occurrence 1) * level7/level8 = regular pivot high/low (valuewhen occurrence 2) * Each plot colored green when close >= level, red otherwise. * * Reference: TradingView "Automatic Support & Resistance by getmohsin.py" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface AutoSupportResistanceInputs { left: number; right: number; quickRight: number; } export declare const defaultInputs: AutoSupportResistanceInputs; 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 AutoSupportResistance: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: AutoSupportResistanceInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=auto-support-resistance.d.ts.map