PROTECTED SOURCE SCRIPT

Look Back Calculator

23
Custom Lookbacks with Individual Colors (Accurate on All Timeframes)

A clean, monochrome-grey indicator that displays historical closing price levels from user-defined lookback periods.

Key Features:
• 4 Custom Hourly Levels (e.g., 1.5h, 3h, 6h, 9h or any value you choose) – fully accurate on 15-minute and lower timeframes
• 4 Custom Daily Levels (e.g., 20d, 40d, 60d, 90d or any number of days)
• Independent toggle for each level
• Individual color selection for every vertical line
• Table column backgrounds match the selected vertical line colors
• Optional candle highlighting (background/border/both) at lookback bars
• Dashed vertical lines at lookback points (toggleable)
• Current price row with automatic spanning
• Time row shown only for daily levels (cleaner layout for intraday)
• Alerts on price crossing any enabled level (with dynamic messages)
• Compact mode for shorter labels

Perfect for support/resistance analysis, order flow, or ICT/SMC concepts. Works seamlessly on any timeframe, including 15min charts.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.