/** * CM RSI-2 Strategy Upper * * RSI(2) based overlay. When RSI(2) < 10, bar is green (buy). * When RSI(2) > 90, bar is red (sell). Shows SMA(200) for trend filter. * * Reference: TradingView "CM_RSI-2 Strategy" by ChrisMoody */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface CMRSI2UpperInputs { rsiLen: number; smaLen: number; src: SourceType; } export declare const defaultInputs: CMRSI2UpperInputs; 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 CMRSI2Upper: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: CMRSI2UpperInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=cm-rsi-2-upper.d.ts.map