/** * ATR+ (Stop Loss Indicator) * * Overlay=false indicator showing 5 circle-style plots: * - ATR (whole number conversion) * - Long Entry Size (pips from close to recent low + stop) * - Long Target Size (long entry * R:R ratio) * - Short Entry Size (pips from recent high to close + stop) * - Short Target Size (short entry * R:R ratio) * * Pine plots all 5 with plot.style_circles and color.new(color, 100) (fully transparent). * We keep them visible with low opacity so the data is usable in the TS framework. * * Reference: TradingView "ATR+ (Stop Loss Indicator)" by ZenAndTheArtOfTrading */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface ATRPlusInputs { riskRatio: number; atrLength: number; lookback: number; stopSize: number; useATR: boolean; } export declare const defaultInputs: ATRPlusInputs; 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; export declare const ATRPlus: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: ATRPlusInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=atr-plus.d.ts.map