/** * Volume-Weighted MACD & Sentiment Zone Oscillator * * Two oscillators combined: * VWMACD = EMA(close*vol, fast)/EMA(vol, fast) - EMA(close*vol, slow)/EMA(vol, slow) * SZO = EMA(sign(close - close[1]) * volume, len) / EMA(volume, len) * 100 * * Reference: TradingView "VWMACD & SZO" community indicator */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface VWMACDSZOInputs { vwFast: number; vwSlow: number; vwSignal: number; szoLen: number; } export declare const defaultInputs: VWMACDSZOInputs; 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 VWMACDSZO: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: VWMACDSZOInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=vwmacd-szo.d.ts.map