/** * MACD 4C (Four Color MACD) * * Standard MACD histogram with 4-color coding: * - Lime: positive and rising * - Green: positive and falling * - Maroon: negative and falling * - Red: negative and rising * * Reference: TradingView "MACD 4C" by vkno422 */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface MACD4CInputs { fastLength: number; slowLength: number; signalLength: number; src: SourceType; } export declare const defaultInputs: MACD4CInputs; 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 MACD4C: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MACD4CInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=macd-4c.d.ts.map