0830-0845 High/Low Marker (Accurate Start + History)

Key Features:
Session-based Tracking: Automatically tracks and records the high and low of the 15-minute period starting at 08:30 and ending at 08:45.
Excludes 08:45 High: If a high is created exactly at 08:45, the indicator will ignore it and use the highest value before 08:45, ensuring it only references the price action during the specified window.
Line Extension: The high and low lines are drawn and extended to the right for a user-defined number of bars, making them visible beyond the session's close.
Customizable Parameters: Adjust the start and end times of the session, line colors, and line width to fit your preferences.
Use Case:
Ideal for traders who focus on the price action during the early part of the trading session (08:30 to 08:45) and want to track significant levels of support and resistance from that period.
The extended lines help identify potential price zones for the rest of the session or the trading day.
This indicator automatically plots the high and low of a customizable opening range, helping traders visualize key intraday levels of interest. You can set the start and end time of the range to match your preferred market session (e.g., 8:30–8:45 AM), and the script will dynamically capture the highest and lowest prices within that window. After the session ends, the indicator draws horizontal lines at the high and low levels, extended forward by a user-defined number of bars. These levels can act as potential support/resistance zones throughout the trading day.
Key features include:
Fully customizable session times
Adjustable line color and thickness
User-defined extension for projecting the levels forward
Avoids including the final candle (e.g., 8:45) to prevent overlap with the session close
Ideal for intraday traders looking to track breakout levels, manage risk, or identify potential reversal zones based on early price action.
New Input: A setting called "Display Mode" was introduced. This allows the user to choose between Lines and Box to display the high/low range.
Lines: Displays horizontal lines at the high and low prices of the session.
Box: Displays a rectangular box that marks the opening range, with the high and low as the top and bottom of the box.
2. Box Mode Settings:
New Inputs for customizing the appearance of the box were added:
Box Fill Color: Allows the user to choose the fill color of the box.
Box Border Color: Controls the color of the box's border.
Box Opacity: Adjusts the opacity of the box's fill, allowing for more or less transparency.
3. Line Mode Settings:
New Inputs for customizing the appearance of the lines were added:
Line Color for High: Customize the color of the high line.
Line Color for Low: Customize the color of the low line.
Line Opacity: Adjusts the transparency of the lines, allowing for more or less visibility.
Line Width: Allows the user to control the width of the lines.
4. Session High/Low Tracking:
Session Tracking functionality remains the same, tracking the highest and lowest prices during the specified session times.
Session Reset: The session high/low values reset at the start of the session and update accordingly during the session.
5. Alerts for Price Breakouts:
Alert Conditions were added to trigger when the price closes above the opening range high or below the opening range low.
Close Above Opening Range High: Generates an alert when the price closes above the session's high.
Close Below Opening Range Low: Generates an alert when the price closes below the session's low.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.