OPEN-SOURCE SCRIPT
Precision Time Markers & Session Labels

Precision Time Markers & Session Labels [Balanced]
Overview
This indicator is designed for intraday traders (SMC, ICT, or Session traders) who need to visualize specific time-based opens and events without cluttering their charts. It draws vertical lines and labels at user-defined times, such as the Midnight Open, London Open, and New York Sessions.
The standout feature of this script is the Balanced Vertical Offset. Unlike standard scripts where labels might overlap candles or appear too far away depending on the asset, this script calculates the optimal label height to ensure perfect visibility whether you are trading BTCUSD, Gold, or EURUSD.
Key Features
6 Fully Customizable Time Slots: Pre-configured for Midnight Open, London Open, and Daily Close, with three additional "Extra" slots for your own custom times.
Intelligent Label Positioning: Uses yloc.abovebar and price-based offsets to ensure labels stay clear of the price action.
Smart Timeframe Visibility: Labels automatically hide on timeframes higher than 30 minutes. This keeps your 1H, 4H, and Daily charts clean while providing precision on your execution timeframes (1m, 5m, 15m).
Universal Scaling: The vertical spacing is balanced to look consistent across all asset classes, regardless of price decimals or volatility.
How to Use
Set Your Times: Open the settings menu and input the specific Hour and Minute for the levels you want to track.
Customize Labels: Change the text labels (e.g., "NY OPEN", "KILLZONE") and colors to match your personal trading template.
Adjust Offsets: If the labels are too close or too far from the candles, adjust the Vertical Offset in the settings.
Settings Explained
Show Line: Toggle individual time markers on or off.
Hour/Minute: The exact time the line will trigger (based on your chart's exchange time).
Label Text: The text that appears at the top of the vertical line.
Color: Customize the color for both the line and the label for quick visual recognition.
This script is optimized for performance and uses the label.new logic to bypass the const string limitations of standard plotshapes, allowing you full control over your label text directly from the UI.
Disclaimer: This indicator is a visual aid and does not constitute financial advice. Always test your strategy in a paper trading environment before risking capital.
Overview
This indicator is designed for intraday traders (SMC, ICT, or Session traders) who need to visualize specific time-based opens and events without cluttering their charts. It draws vertical lines and labels at user-defined times, such as the Midnight Open, London Open, and New York Sessions.
The standout feature of this script is the Balanced Vertical Offset. Unlike standard scripts where labels might overlap candles or appear too far away depending on the asset, this script calculates the optimal label height to ensure perfect visibility whether you are trading BTCUSD, Gold, or EURUSD.
Key Features
6 Fully Customizable Time Slots: Pre-configured for Midnight Open, London Open, and Daily Close, with three additional "Extra" slots for your own custom times.
Intelligent Label Positioning: Uses yloc.abovebar and price-based offsets to ensure labels stay clear of the price action.
Smart Timeframe Visibility: Labels automatically hide on timeframes higher than 30 minutes. This keeps your 1H, 4H, and Daily charts clean while providing precision on your execution timeframes (1m, 5m, 15m).
Universal Scaling: The vertical spacing is balanced to look consistent across all asset classes, regardless of price decimals or volatility.
How to Use
Set Your Times: Open the settings menu and input the specific Hour and Minute for the levels you want to track.
Customize Labels: Change the text labels (e.g., "NY OPEN", "KILLZONE") and colors to match your personal trading template.
Adjust Offsets: If the labels are too close or too far from the candles, adjust the Vertical Offset in the settings.
Settings Explained
Show Line: Toggle individual time markers on or off.
Hour/Minute: The exact time the line will trigger (based on your chart's exchange time).
Label Text: The text that appears at the top of the vertical line.
Color: Customize the color for both the line and the label for quick visual recognition.
This script is optimized for performance and uses the label.new logic to bypass the const string limitations of standard plotshapes, allowing you full control over your label text directly from the UI.
Disclaimer: This indicator is a visual aid and does not constitute financial advice. Always test your strategy in a paper trading environment before risking capital.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
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 u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.