/** * Forex Sessions * * Session indicator based on bar index with cyclic pattern showing 4 session phases. * Volume displayed as histogram colored by session phase. * Sydney (yellow), Tokyo (blue), London (green), New York (red). * * Reference: TradingView "Code for All 4 Forex Sessions" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BgColorData } from '../types'; export interface ForexSessionsInputs { sessionLen: number; } export declare const defaultInputs: ForexSessionsInputs; 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 ForexSessions: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: ForexSessionsInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=forex-sessions.d.ts.map