PROTECTED SOURCE SCRIPT
Look Back Calculator

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.
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.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.