/** * HeatmapVolume * * Volume heatmap using standard deviation distance from SMA. * 5-tier coloring: Extra High / High / Medium / Normal / Low based on * how many standard deviations volume is from the moving average. * * Reference: TradingView "Heatmap Volume [xdecow]" by xdecow */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BarColorData } from '../types'; export interface HeatmapVolumeInputs { maLength: number; stdLength: number; thresholdExtraHigh: number; thresholdHigh: number; thresholdMedium: number; thresholdNormal: number; coloredBars: boolean; displayZones: 'None' | 'Lines' | 'Backgrounds' | 'Both'; colorMode: 'Heatmap' | 'Up/Down'; } export declare const defaultInputs: HeatmapVolumeInputs; 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 & { barColors: BarColorData[]; }; export declare const HeatmapVolume: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: HeatmapVolumeInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=heatmap-volume.d.ts.map