/** * Pivot Point SuperTrend * * SuperTrend using pivot high/low based center line with ATR bands. * Direction flips when price crosses the opposite band. * * Reference: TradingView "Pivot Point SuperTrend" by LonesomeTheBlue */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface PivotPointSupertrendInputs { pivotLen: number; atrFactor: number; atrLen: number; showPivot: boolean; } export declare const defaultInputs: PivotPointSupertrendInputs; 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 & { markers: MarkerData[]; }; export declare const PivotPointSupertrend: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: PivotPointSupertrendInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=pivot-point-supertrend.d.ts.map