/** * Isolated Peak and Bottom (Tuncer SENGOZ) * * Detects 4 specific isolated peak/bottom patterns using bar-offset comparisons: * - Peak Type 1 (PEAK2): high[2] is highest of bars 0..4, confirmed by low breakdown * - Peak Type 2 (PEAK1): high[1] is highest of bars 0..3, confirmed by low breakdown * - Bottom Type 1 (BOT2): low[2] is lowest of bars 0..4, confirmed by high breakout * - Bottom Type 2 (BOT1): low[1] is lowest of bars 0..3, confirmed by high breakout * * Reference: TradingView "Isolated Peak and Bottom" (community) by KivancOzbilgic */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface IsolatedPeakBottomInputs { } export declare const defaultInputs: IsolatedPeakBottomInputs; 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 & { markers: MarkerData[]; }; export declare const IsolatedPeakBottom: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: IsolatedPeakBottomInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=isolated-peak-bottom.d.ts.map