/** * EMA Enveloper * * EMA with high/low envelope bands. * upper = ema(high, length), lower = ema(low, length). * * Reference: TradingView "EMA Enveloper" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { BgColorData } from '../types'; export interface EMAEnveloperInputs { length: number; src: SourceType; } export declare const defaultInputs: EMAEnveloperInputs; 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 EMAEnveloper: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: EMAEnveloperInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=ema-enveloper.d.ts.map