/** * Vdub FX SniperVX2 Color v2 * * Overlay indicator (overlay=true) with: * - SMA body channel (highest/lowest of close over 13 bars) with fill (black, linebr) * - LB Resistance channel (self-referencing up/down) with red/green linebr plots * - S/R lines from valuewhen(pivothigh/pivotlow) with red/green colors * - EMA 13 trend line (colored lime/red based on direction) * - EMA 21 signal line (colored lime/red based on direction) * - Hull MA (black, linewidth 3) * - Buy/Sell markers from TEMA/DEMA signal logic * - Supertrend arrows on trend change * - Fills: body channel (black), resistance (red), support (green) * * Reference: TradingView "Vdub FX SniperVX2 Color v2" by Vdubus */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface VdubSniperInputs { bodyChannelLen: number; bodyChannelPeriod: number; ema1Len: number; ema2Len: number; fastSignal: number; slowSignal: number; supertrendFactor: number; supertrendPeriod: number; sRLength: number; hmaBaseLength: number; hmaLengthScalar: number; } export declare const defaultInputs: VdubSniperInputs; 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 VdubSniper: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: VdubSniperInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=vdub-sniper.d.ts.map