Previous Session Lines — High, Low, and 50% LevelsThis indicator automatically marks the previous completed session’s price range on your chart. You select a daily session window (for example: 09:30–16:00) and the script calculates:
* Previous Session High
* Previous Session Low
* Previous Session 50% (Midpoint)
When a session closes, the indicator draws all three levels on the chart and extends them forward for 24 hours, giving you clean, stable reference levels for the current trading day. Only the most recent session is shown; older sessions are automatically removed.
These levels are commonly used by day traders and swing traders to identify:
* Key support and resistance zones
* Breakout or rejection levels
* Market bias for the new session
* Areas where liquidity tends to accumulate
* Price reaction levels during overnight or intraday trading
Because the lines do not update in real time during the session, the levels remain static, accurate, and truly represent the completed session.
Settings users can adjust:
Session Settings:
* Start and end time of the session (repeats daily)
* Custom session name, which appears on the line labels
Line Appearance:
* Color
* Line thickness
* Line style (solid, dashed, dotted)
Label Appearance:
* Text size (tiny to huge)
* Text color automatically adjusts to contrast with the selected line color
Why this indicator is useful:
* Makes prior session structure immediately visible
* Helps identify high-probability reaction areas
* Shows only one session to reduce clutter
* Lines stay stable regardless of chart zoom or scaling
* Labels stay aligned at the right side of the chart
* Works on all timeframes, including extended hours and crypto charts
This tool is ideal for traders who rely on structured session analysis, including day traders, futures traders, forex traders, crypto traders, and anyone using session highs and lows to guide trading decisions.
This was developed to create an auto-mapping tool to comply with MrZinc's "London 50" strategy. You can learn more about that on his YouTube channel www.youtube.com
You can follow my YouTube trading channel here
www.youtube.com
