OPEN-SOURCE SCRIPT
Date Range High/Low Lines - JB

This indicator isolates a specific historical time window, highlights it on the chart, and projects its highest high and lowest low forward as dynamic support and resistance levels.
Key Features:
Visual Range Highlight: Automatically shades the background of your selected time period so you can clearly see the exact data being measured.
Projected High/Low Lines: Identifies the absolute highest and lowest price points within the highlighted window and draws horizontal lines that extend continuously to the most recent candle on the chart.
Dynamic Auto-Dates: By default, the script automatically looks back to find the price range between 30 days ago and 15 days ago, snapping to standard 09:00 AM to 04:00 PM session times.
Custom Calendar Inputs: Toggle off the auto-range to manually select your exact Start Date/Time and End Date/Time using TradingView's built-in calendar pickers.
Fully Customizable: Adjust line colors, line width, and the background highlight opacity in the style settings to fit your specific chart theme.
This tool is highly effective for marking out historical consolidation zones, highlighting opening ranges, or projecting the high and low of a previous macroeconomic event as future structural levels.
Key Features:
Visual Range Highlight: Automatically shades the background of your selected time period so you can clearly see the exact data being measured.
Projected High/Low Lines: Identifies the absolute highest and lowest price points within the highlighted window and draws horizontal lines that extend continuously to the most recent candle on the chart.
Dynamic Auto-Dates: By default, the script automatically looks back to find the price range between 30 days ago and 15 days ago, snapping to standard 09:00 AM to 04:00 PM session times.
Custom Calendar Inputs: Toggle off the auto-range to manually select your exact Start Date/Time and End Date/Time using TradingView's built-in calendar pickers.
Fully Customizable: Adjust line colors, line width, and the background highlight opacity in the style settings to fit your specific chart theme.
This tool is highly effective for marking out historical consolidation zones, highlighting opening ranges, or projecting the high and low of a previous macroeconomic event as future structural levels.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.