OPEN-SOURCE SCRIPT
Svopex Session Highlighter

# Session Highlighter
## Description
**Session Highlighter** is a powerful Pine Script indicator designed to visually identify and mark specific trading hours on your chart. This tool helps traders focus on their preferred trading sessions by highlighting the background during active hours and marking the session start with customizable visual markers.
## Key Features
- **📊 Session Background Highlighting**: Automatically shades the chart background during your defined trading hours (default: 7:00 - 23:00)
- **🎯 Smart Session Start Marker**: Places a marker on the last candle before session start, intelligently adapting to your timeframe:
- 1 Hour chart: Marker at 6:00
- 15 Minute chart: Marker at 6:45
- 5 Minute chart: Marker at 6:55
- 1 Minute chart: Marker at 6:59
- **🌍 Timezone Support**: Choose from multiple timezones (Europe/Prague, Europe/London, America/New_York, UTC)
- **🎨 5 Marker Styles**: Customize your session start indicator:
- Triangle
- Circle
- Diamond
- Label with time text
- Vertical line
- **⚙️ Fully Customizable**: Adjust start/end hours, timezone, and marker style through simple settings
## Settings
- **Start Hour**: Set your session start time (0-23)
- **End Hour**: Set your session end time (0-23)
- **Timezone**: Select your trading timezone
- **Marker Style**: Choose your preferred visual marker
## Use Cases
- Identify London/New York trading sessions
- Mark Asian session hours
- Highlight your personal trading windows
- Avoid trading during off-hours
- Perfect for day traders and scalpers
## Installation
1. Copy the Pine Script code
2. Open TradingView Pine Editor
3. Paste the code and click "Add to Chart"
4. Configure settings to match your trading schedule
## Description
**Session Highlighter** is a powerful Pine Script indicator designed to visually identify and mark specific trading hours on your chart. This tool helps traders focus on their preferred trading sessions by highlighting the background during active hours and marking the session start with customizable visual markers.
## Key Features
- **📊 Session Background Highlighting**: Automatically shades the chart background during your defined trading hours (default: 7:00 - 23:00)
- **🎯 Smart Session Start Marker**: Places a marker on the last candle before session start, intelligently adapting to your timeframe:
- 1 Hour chart: Marker at 6:00
- 15 Minute chart: Marker at 6:45
- 5 Minute chart: Marker at 6:55
- 1 Minute chart: Marker at 6:59
- **🌍 Timezone Support**: Choose from multiple timezones (Europe/Prague, Europe/London, America/New_York, UTC)
- **🎨 5 Marker Styles**: Customize your session start indicator:
- Triangle
- Circle
- Diamond
- Label with time text
- Vertical line
- **⚙️ Fully Customizable**: Adjust start/end hours, timezone, and marker style through simple settings
## Settings
- **Start Hour**: Set your session start time (0-23)
- **End Hour**: Set your session end time (0-23)
- **Timezone**: Select your trading timezone
- **Marker Style**: Choose your preferred visual marker
## Use Cases
- Identify London/New York trading sessions
- Mark Asian session hours
- Highlight your personal trading windows
- Avoid trading during off-hours
- Perfect for day traders and scalpers
## Installation
1. Copy the Pine Script code
2. Open TradingView Pine Editor
3. Paste the code and click "Add to Chart"
4. Configure settings to match your trading schedule
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.