/** * Balance of Power (BOP) Indicator * * Hand-optimized implementation using oakscriptjs. * Measures the strength of buyers vs sellers by comparing close-open to high-low range. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; /** * BOP indicator input parameters (none required) */ export interface BOPInputs { } /** * Default input values */ export declare const defaultInputs: BOPInputs; /** * Input configuration for UI */ export declare const inputConfig: InputConfig[]; /** * Plot configuration */ export declare const plotConfig: PlotConfig[]; /** * Indicator metadata */ export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; /** * Calculate BOP indicator * * Formula: (close - open) / (high - low) * * @param bars - OHLCV bar data * @param inputs - Indicator parameters (optional, none for BOP) * @returns Indicator result with plot data */ export declare function calculate(bars: Bar[], _inputs?: Partial): IndicatorResult; /** * BOP indicator module */ export declare const BOP: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: BOPInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=bop.d.ts.map