/** * Stochastic Heat Map * * Computes stochastic oscillator at multiple periods (1*incr through 28*incr), * smooths each, then averages all into fast/slow signal lines. * Heat map coloring based on average stochastic value. * * Reference: TradingView "Stochastic Heat Map" by Violent */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BarColorData } from '../types'; export interface StochasticHeatMapInputs { maType: string; increment: number; smooth: number; smoothSlow: number; plotNumber: number; paintBars: boolean; } export declare const defaultInputs: StochasticHeatMapInputs; 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 StochasticHeatMap: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: StochasticHeatMapInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=stochastic-heat-map.d.ts.map