OPEN-SOURCE SCRIPT
Updated Sessions Highs/Lows

This indicator plots the High and Low of the three main trading sessions:
Asia (20:00–03:00) – green lines
London (03:00–08:00) – blue lines
New York (08:00–13:00) – red lines
Features:
Levels update in real time during each session.
When a new session starts, the previous lines are deleted – only the latest active sessions remain visible.
Default session times are set to Asia (20:00–03:00), London (03:00–08:00), and New York (08:00–13:00), but you can adjust them to your own custom hours in the settings.
Colors can also be customized.
Use cases:
Quickly visualize session ranges.
Track session highs/lows for breakouts, fakeouts, and reactions around liquidity zones.
Asia (20:00–03:00) – green lines
London (03:00–08:00) – blue lines
New York (08:00–13:00) – red lines
Features:
Levels update in real time during each session.
When a new session starts, the previous lines are deleted – only the latest active sessions remain visible.
Default session times are set to Asia (20:00–03:00), London (03:00–08:00), and New York (08:00–13:00), but you can adjust them to your own custom hours in the settings.
Colors can also be customized.
Use cases:
Quickly visualize session ranges.
Track session highs/lows for breakouts, fakeouts, and reactions around liquidity zones.
Release Notes
📈 Sessions Highs/Lows (Major Update)This update transforms the basic session indicator into a highly customizable, performance-optimized tool for day traders and scalpers. We've completely rebuilt the core logic to give you precise control over how and where session extremes are visualized on your chart, without cluttering your workspace.
🚀 What's New in this Version?
1. Precision Anchoring (Start from Extremum)
Instead of drawing the horizontal line from the very beginning of the session, you now have the option to anchor the line exactly at the candle that formed the High or Low. This makes it much easier to spot exactly when the liquidity was created.
2. Independent High/Low Toggles
You no longer have to show both lines. You can now toggle the High and Low lines completely independently for each session (e.g., show only the New York Low or only the London High).
3. Vertical Session Markers
Visually segment your trading day with new vertical boundary lines.
Full height: Clean vertical lines marking the start and end of sessions (optimized using extend.both so it never breaks your chart's auto-scaling).
Candle range: Markers that highlight specific price action ranges at session boundaries.
4. Dynamic Price Labels
Optional, clean text labels (e.g., "Tokyo High", "London Low") that float above or below the extreme candles. Built using optimized Pine Script v6 functions (label.set_xy()) so they update instantly in real-time without lagging your chart.
5. Overhauled UI & Styling
Organized Settings: All inputs are now neatly categorized into collapsible groups (Asia, Europe, America, Labels, Vertical Markers).
Advanced Styling: Choose between Solid, Dashed, or Dotted lines for every session independently. Customize colors, widths, and marker styles to perfectly match your chart template.
⚙️ Core Features Retained:
Real-time updates of session extremes as price action unfolds.
Clean chart environment (previous session lines are automatically cleaned up when a new session starts).
Fully customizable session hours (Default: Tokyo 20:00–03:00, London 03:00–08:00, NY 08:00–17:00).
Perfect for spotting liquidity sweeps, breakout levels, and session-to-session transitions.
Release Notes
fixed bugged chart.Release Notes
Here are the patch notes written in a professional, industry-standard format, similar to what you would see in game development or software updates:Sessions Highs/Lows - Update Notes
Feature Updates
Advanced Line Extension Logic
Completely overhauled the line extension behavior for session High/Low levels. Users can now choose from three distinct modes under the newly added 'Line Extensions' settings group:
Infinite: Legacy behavior. Session lines extend indefinitely to the right scale.
Offset: Lines automatically terminate after a user-defined number of candles (default: 20). This prevents infinite overlapping and keeps historical chart data clean.
Until Broken: Dynamic extension mode. Lines project to the right but will immediately terminate once the price breaches the specific support or resistance level. This ensures invalidated levels are removed from active price action areas.
Per-Session Label Colorization
Removed the global text color constraint. The indicator now supports independent text color configurations for each trading session.
Tokyo, London, and New York text labels can now be colored individually via the 'Labels' section.
By default, label colors now inherit their respective session's line color (Red for Tokyo, Blue for London, Black for New York), significantly improving at-a-glance readability of regional levels.
Quality of Life (QoL) & Optimizations
Dynamic Label Synchronization: Optimized the rendering engine for text labels. Text anchors now seamlessly synchronize with both the spatial coordinates and the real-time drawing state of the session lines, preventing detached or ghosting text.
Settings Menu Restructuring: Reorganized the indicator input menu. Parameters are now compartmentalized into logical, dedicated blocks (Line Extensions, Labels, and individual Session Groups) to streamline user configuration and navigation.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
