/** * Ichimoku Cloud Indicator * * Hand-optimized implementation using oakscriptjs. * A comprehensive trend-following system that shows support/resistance, * momentum, and trend direction all at once. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; /** * Ichimoku Cloud indicator input parameters */ export interface IchimokuInputs { /** Conversion Line (Tenkan-sen) period */ conversionPeriods: number; /** Base Line (Kijun-sen) period */ basePeriods: number; /** Leading Span B (Senkou Span B) period */ laggingSpan2Periods: number; /** Displacement for Leading Spans and Lagging Span */ displacement: number; } /** * Default input values matching TradingView defaults */ export declare const defaultInputs: IchimokuInputs; /** * Input configuration for UI */ export declare const inputConfig: InputConfig[]; /** * Plot configuration - order matches CSV columns */ export declare const plotConfig: PlotConfig[]; /** * Indicator metadata */ export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; /** * Calculate Ichimoku Cloud indicator * * @param bars - OHLCV bar data * @param inputs - Indicator parameters (optional, uses defaults) * @returns Indicator result with plot data */ export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; /** * Ichimoku Cloud indicator module */ export declare const IchimokuCloud: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: IchimokuInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=ichimoku.d.ts.map