/** * Dynamic Structure Indicator * * ATR(14)-based S/R zone detection using fractal swing highs/lows. * Zones are defined by wick-to-body range, filtered by maxZoneSize * ATR. * Potential zones must see significant price movement (atrMovement * ATR) * before becoming active. Active zones get resistance and support plot pairs. * Previous zones (flipped S/R) are also plotted. Zone violation resets. * * Reference: TradingView "Dynamic Structure Indicator" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface DynamicStructureIndicatorInputs { atrMovement: number; lookback: number; maxZoneSize: number; newStructureReset: number; drawPreviousStructure: boolean; } export declare const defaultInputs: DynamicStructureIndicatorInputs; 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 DynamicStructureIndicator: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: DynamicStructureIndicatorInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=dynamic-structure-indicator.d.ts.map