/** * Net Volume Indicator * * Displays the net volume (upVolume - downVolume) for each bar. * Approximates up/down volume by comparing close to open price. * Positive values indicate buying pressure, negative indicates selling pressure. * * Note: TradingView's version uses intrabar data for more precise calculation. * This implementation uses close vs open as an approximation. * * Based on TradingView's Net Volume indicator. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type Bar } from 'oakscriptjs'; export interface NetVolumeInputs { } export declare const defaultInputs: NetVolumeInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], _inputs?: Partial): IndicatorResult; export declare const NetVolume: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: NetVolumeInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; }; //# sourceMappingURL=net-volume.d.ts.map