/** * MACD ReLoaded * * MACD with 11 selectable moving average types for fast, slow, and trigger lines. * Supports SMA, EMA, WMA, DEMA, TMA, VAR, WWMA, ZLEMA, TSF, HULL, and TILL (Tillson T3). * * 4-color histogram: bright/faded green/red based on histogram momentum direction. * * Reference: TradingView "MACD ReLoaded" by KivancOzbilgic */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export type MaType = 'SMA' | 'EMA' | 'WMA' | 'DEMA' | 'TMA' | 'VAR' | 'WWMA' | 'ZLEMA' | 'TSF' | 'HULL' | 'TILL'; export interface MacdReloadedInputs { fastLength: number; slowLength: number; triggerLength: number; maType: MaType; t3Volume: number; showHistogram: boolean; } export declare const defaultInputs: MacdReloadedInputs; 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 MacdReloaded: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MacdReloadedInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=macd-reloaded.d.ts.map