Session Highs and Lows - Fully Customizable + Session Marker

574
Session Highs and Lows + Market Time Markers

COMPLETELY CUSTOMIZABLE

A TradingView Pine Script indicator designed to clearly track Asia, London, Pre-Market, and New York session highs and lows, while also marking key market times throughout the trading day.

The indicator is built to keep unswept session liquidity levels persistent, allowing multiple previous session highs and lows to remain visible until price actually trades through them.

🕒 Session Times

All times are based on New York time (America/New_York):

🟠 Asia: 6:00 PM – 3:00 AM
🔵 London: 3:00 AM – 8:30 AM
🔴 Pre-Market: 8:30 AM – 9:30 AM
🟢 New York: 9:30 AM – 5:00 PM

Session times are fully customizable through the indicator settings.

📈 Session High & Low Levels

At the completion of each session, the indicator plots that session's actual high and low.

The levels:

Begin at the exact candle where the session high or low was formed
Remain on the chart until price actually trades through them
Do not disappear simply because a new session begins
Allow multiple historical session levels to remain active simultaneously
Continue independently until each individual level is swept
Stop exactly on the candle that sweeps the level
Display a session label at the right edge of each active level

Opening candles can also establish a valid session high or low when they form an actual local extreme as part of the price movement.

🎯 Sweep Logic

A level is considered swept only when price trades beyond it:

High swept → High > Session High

Low swept → Low < Session Low

A simple wick that touches the level exactly does not count as a sweep.

Once price trades beyond a level, the horizontal line stops on that candle and its corresponding session label is removed.

🏷️ Session Labels

Active session levels can display labels identifying their originating session:

🟠 Asia
🔵 London
🟣 Pre-Market
🟢 New York

Labels remain attached to their corresponding levels until that level is swept.

Label visibility and size can be customized through the settings.

🎨 Visual Markers

The script uses customizable vertical markers for important market times:

6:00 PM
🟠 Orange — Asia Open

3:00 AM
🔵 Blue — London Open

8:30 AM
🔴 Red — Pre-Market

9:30 AM
🟢 Green — New York Open

15 Minutes After New York Open
🟣 Purple — First 15 Minutes

Each marker has its own:

Enable/disable setting
Color
Line style
Width
⚙️ Customization

The indicator includes settings to:

Change all session times
Enable/disable individual session highs and lows
Customize each session's line color
Customize each session's line style
Adjust session level width
Enable/disable session labels
Adjust session label size
Enable/disable individual time markers
Customize each marker's color
Customize each marker's line style
Adjust vertical marker width
💡 Designed For

This indicator can be useful for traders who use:

Liquidity levels
Session ranges
Previous session highs & lows
Liquidity sweeps
Breakouts
Reversals
FVGs
IFVGs
Order Blocks
Range trading
Price-action setups
Intraday market structure

The goal is to provide a clean and customizable view of important session liquidity levels and key intraday market times, while allowing previous unswept levels to remain on the chart rather than being automatically replaced by new session levels.

Timezone: America/New_York
Platform: TradingView
Language: Pine Script v6

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.