Session Levels

Overview
Session Levels is a Pine Script v6 indicator for TradingView that plots key price levels from previous and current sessions. It overlays Previous Day High/Low, Pre-Market High/Low, Previous Close, and Today’s Open/High/Low as horizontal lines—levels that traders commonly reference as potential support/resistance. The script updates dynamically and offers customizable timing and visuals for intraday and multi-day analysis.
How It Works
Previous Day High, Low, and Close are retrieved via request.security on the daily timeframe. Pre-Market High/Low are tracked inside a user-defined window (default: 4:00–8:30 America/New_York) using timestamp and rolling math.max/math.min. Today’s Open is captured at 9:30 America/New_York, and Today’s High/Low update throughout the session. Lines are plotted with user-selectable style (solid/dotted/dashed), width, and color, and labeled (e.g., PDH, PDL, PMH, PML). Lines extend to the right for ongoing context.
Key Features
• Previous Day, Pre-Market, and Today’s levels in one view
• Custom pre-market window (America/New_York, DST-aware)
• Flexible line styles, widths, and colors
• Per-level visibility toggles
• Ongoing updates to Today’s High/Low
• Clear labels for quick identification
What It Displays
A consolidated set of session-based reference levels to help study potential support, resistance, and breakout zones across intraday and multi-day contexts.
Originality
The Pine v6 indicator implementation uses TradingView built-ins (request.security, timestamp, math.max, math.min). No external open-source code is incorporated.
Common Uses
• Day traders reviewing intraday levels and potential breakouts
• Swing traders monitoring multi-day reference zones
• Technical analysts annotating key price areas
Configuration Notes
Set the pre-market window (default: 4:00–8:30 America/New_York) and choose which levels to display (e.g., Previous Day, Pre-Market, Today’s Open). Adjust line styles, widths, and colors to fit your chart.
Legal Disclaimer
For informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves significant risk. Provided “as is,” without warranties. Consult a qualified professional before making decisions. By using, you accept all risks and agree to this disclaimer.
Skrypt tylko na zaproszenie
Tylko użytkownicy zatwierdzeni przez autora mogą uzyskać dostęp do tego skryptu. Musisz złożyć prośbę i uzyskać zgodę na jego użycie. Zazwyczaj jest ona udzielana po dokonaniu płatności. Aby uzyskać więcej informacji, postępuj zgodnie z instrukcjami autora poniżej lub skontaktuj się bezpośrednio z TradingScriptSolutions.
TradingView NIE zaleca płacenia za skrypt ani jego używania, jeśli nie masz pełnego zaufania do jego autora i nie rozumiesz, jak działa. Możesz także znaleźć darmowe, open-source'owe alternatywy w naszej sekcji skryptów społecznościowych.
Instrukcje autora
Wyłączenie odpowiedzialności
Skrypt tylko na zaproszenie
Tylko użytkownicy zatwierdzeni przez autora mogą uzyskać dostęp do tego skryptu. Musisz złożyć prośbę i uzyskać zgodę na jego użycie. Zazwyczaj jest ona udzielana po dokonaniu płatności. Aby uzyskać więcej informacji, postępuj zgodnie z instrukcjami autora poniżej lub skontaktuj się bezpośrednio z TradingScriptSolutions.
TradingView NIE zaleca płacenia za skrypt ani jego używania, jeśli nie masz pełnego zaufania do jego autora i nie rozumiesz, jak działa. Możesz także znaleźć darmowe, open-source'owe alternatywy w naszej sekcji skryptów społecznościowych.