/** * CM Sling Shot System * * Two-EMA crossover system that keeps traders on the trending side of the market. * EMA cloud with silver fill, bar coloring for pullback (yellow) and entry (aqua) * signals, persistent per-bar trend triangles, and conservative entry arrows. * * Reference: TradingView "CM Sling Shot System" by ChrisMoody */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BarColorData, MarkerData } from '../types'; export interface CMSlingShotInputs { emaFast: number; emaSlow: number; showLetters: boolean; } export declare const defaultInputs: CMSlingShotInputs; 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[]; markers: MarkerData[]; }; export declare const CMSlingShot: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: CMSlingShotInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=cm-sling-shot.d.ts.map