/** * CM Stochastic POP Method 2 * * Enhanced POP: K crosses above D while both below 20 = buy, * K crosses below D while both above 80 = sell. * * Reference: TradingView "CM_Stochastic POP Method 2" by ChrisMoody */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BarColorData } from '../types'; export interface StochPOP2Inputs { kLen: number; kSmooth: number; ul: number; ll: number; } export declare const defaultInputs: StochPOP2Inputs; 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[]; }; export declare const StochPOP2: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: StochPOP2Inputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=stoch-pop-2.d.ts.map