/** * Faith Indicator * * Momentum-based indicator. Faith = EMA(close, fast) - EMA(close, slow). * Signal = SMA(faith, 9). Histogram colored by faith vs signal. * * Reference: TradingView "Faith Indicator" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BgColorData } from '../types'; export interface FaithIndicatorInputs { fastLen: number; slowLen: number; } export declare const defaultInputs: FaithIndicatorInputs; 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 & { bgColors: BgColorData[]; }; export declare const FaithIndicator: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: FaithIndicatorInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=faith-indicator.d.ts.map