/** * Double MACD Buy and Sell * * Two MACD instances (12/26 and 5/15) each plotted as both line AND histogram. * Divergence detection on MACD2 with fractal tops/bottoms. * Entry markers (largo/corto) on MACD2 zero cross with MACD1 confirmation. * Counter-trend entries (largo1/corto1) on MACD2/MACD1 cross. * * Reference: TradingView "DOBLE MACD X" community indicator */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { MarkerData, BgColorData } from '../types'; export interface DoubleMACDInputs { fast1: number; slow1: number; sig1: number; fast2: number; slow2: number; sig2: number; src: SourceType; } export declare const defaultInputs: DoubleMACDInputs; 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 & { markers: MarkerData[]; bgColors: BgColorData[]; }; export declare const DoubleMACD: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: DoubleMACDInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=double-macd.d.ts.map