/** * OBV MACD Indicator * * Applies MACD calculation to On Balance Volume instead of price. * MACD Line = EMA(OBV, fast) - EMA(OBV, slow) * Signal = EMA(MACD, signal) * Histogram = MACD - Signal * * Reference: TradingView community indicator */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface OBVMACDInputs { fastLength: number; slowLength: number; signalLength: number; showSignal: boolean; } export declare const defaultInputs: OBVMACDInputs; 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[]; }; export declare const OBVMACD: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: OBVMACDInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=obv-macd.d.ts.map