OPEN-SOURCE SCRIPT
Session Levels [odnac]

This indicator plots the high and low levels of the three main trading sessions—Asia, Europe, and New York—along with the previous day’s high, low, and open. Each session’s time range can be customized using a UTC offset, and the indicator automatically tracks session highs and lows as price develops.
Functions:
Filter Condition:
This behavior highlights only the most relevant levels for the current market position while still keeping breached levels visible in a subdued style, making it easier to spot active breakout or liquidity zones.
Functions:
- Plots session highs and lows for Asia, Europe, and New York.
- Shows previous day’s high, low, and open as reference levels.
- Session times are fully configurable with hour and minute precision, including UTC offset adjustment.
- Each session level is marked with both a line and a label for clarity.
- Color customization for each session and previous day levels.
- Designed for intraday timeframes (1–60 minutes).
Filter Condition:
- When the filter option is enabled, the indicator adjusts how levels are drawn:
- A session high above the current close is displayed as a solid line with a visible label.
- Once price closes above that high, the line becomes dotted and dimmed, and the label also becomes less emphasized.
- Similarly, a session low below the current close is displayed as a solid line and label.
- If price closes below that low, the line switches to dotted and dimmed, with the label adjusted accordingly.
This behavior highlights only the most relevant levels for the current market position while still keeping breached levels visible in a subdued style, making it easier to spot active breakout or liquidity zones.
Open-source script
In true TradingView 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 TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView 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 TradingView. Read more in the Terms of Use.