/** * Realtime Volume Bars w Market Buy/Sell/Neutral Split & Mkt Delta * * Splits volume into buy/sell/neutral components based on price direction. * Buy volume = volume on uptick bars, Sell = downtick bars, Neutral = flat. * Includes volume MA and delta direction bar coloring. * * Reference: TradingView "Volume with Market Buy/Sell and Neutral Volume Split" by the_MarketWhisperer */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface RealtimeVolumeBarsInputs { mode: string; showSplit: boolean; showMA: boolean; maPeriod: number; showDelta: boolean; } export declare const defaultInputs: RealtimeVolumeBarsInputs; 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 RealtimeVolumeBars: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: RealtimeVolumeBarsInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=realtime-volume-bars.d.ts.map