/** * Adaptive Trend Flow [QuantAlgo] * * Dual EMA basis (fast + slow on hlc3) plus stdev volatility bands. * Trend state tracks: bullish when close > upper, bearish when close < lower. * Plots basis line and trailing level (lower in uptrend, upper in downtrend). * * Reference: TradingView "Adaptive Trend Flow [QuantAlgo]" by QuantAlgo */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface AdaptiveTrendFlowInputs { length: number; smoothLen: number; sensitivity: number; } export declare const defaultInputs: AdaptiveTrendFlowInputs; 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 AdaptiveTrendFlow: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: AdaptiveTrendFlowInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=adaptive-trend-flow.d.ts.map