/** * CM Time Based Vertical Lines * * Overlay indicator that highlights recurring session windows via background colors. * Six configurable session windows, each with its own independent bgcolor. * * PineScript bgcolor calls (all overlay, all independent, transp=40): * 1. Session 1 (default 0000-0100) yellow * 2. Session 2 (default 0300-0400) orange * 3. Session 3 (default 0800-0900) aqua * 4. Session 4 (default 0930-1030) fuchsia * 5. Session 5 (default 1500-1600) maroon * 6. Session 6 (default 1700-1800) lime * * Reference: TradingView "CM_Time Based Vertical Lines" by ChrisMoody */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BgColorData } from '../types'; export interface CMTimeLinesInputs { show1: boolean; session1: string; show2: boolean; session2: string; show3: boolean; session3: string; show4: boolean; session4: string; show5: boolean; session5: string; show6: boolean; session6: string; } export declare const defaultInputs: CMTimeLinesInputs; 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 CMTimeLines: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: CMTimeLinesInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=cm-time-lines.d.ts.map