/** * False Breakout (Expo) * * Detects false breakouts by identifying new highs/lows followed by * price reversal (crossing back through the breakout level). * A false breakout up occurs when price makes consecutive new highs * then crosses below the breakout level. Vice versa for down. * Draws horizontal lines from breakout bar to current bar at breakout price level. * * Reference: TradingView "False Breakout (Expo)" by Zeiierman */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, LineDrawingData } from '../types'; export interface FalseBreakoutInputs { period: number; minPeriod: number; maxPeriod: number; maType: 'none' | 'WMA' | 'HMA'; smoothLength: number; aggressive: boolean; } export declare const defaultInputs: FalseBreakoutInputs; 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[]; lines: LineDrawingData[]; }; export declare const FalseBreakout: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: FalseBreakoutInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=false-breakout.d.ts.map