/** * Triangular Momentum Oscillator & Real Time Divergences [LuxAlgo] * * osc = mom(sma(sma(src, length), length), length) * Momentum of a double-SMA smoothed source. * Histogram with 4-color scheme + divergence markers and lines. * * Reference: TradingView "Triangular Momentum Oscillator & Real Time Divergences [LuxAlgo]" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { MarkerData, LineDrawingData } from '../types'; export interface TriangularMomentumOscInputs { length: number; src: SourceType; showLines: boolean; } export declare const defaultInputs: TriangularMomentumOscInputs; 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[]; lines: LineDrawingData[]; }; export declare const TriangularMomentumOsc: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: TriangularMomentumOscInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=triangular-momentum-osc.d.ts.map