/** * CDC Action Zone V.2 * * Two-EMA crossover system with an intermediate smoothing layer. * AP = EMA(source, 2), Fast = EMA(AP, short), Slow = EMA(AP, long). * Zones: Green (bullish + AP > Fast), Red (bearish + AP < Fast), * Yellow (bullish + AP < Fast), Blue (bearish + AP > Fast). * * Reference: TradingView "CDC Action Zone V.2" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { BarColorData } from '../types'; export interface CDCActionZoneInputs { source: SourceType; shortPeriod: number; longPeriod: number; } export declare const defaultInputs: CDCActionZoneInputs; 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 & { barColors: BarColorData[]; }; export declare const CDCActionZone: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: CDCActionZoneInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=cdc-action-zone.d.ts.map