Cari skrip untuk "sessions"
Sessions [Plug&Play]This indicator automatically highlights the three major FX trading sessionsโAsia, London, and New Yorkโon your chart and, at the close of each session, draws right-extended horizontal rays at that sessionโs high and low. Itโs designed to help you visually identify when price is trading within each sessionโs range and to quickly see where the highest and lowest prices occurred before the next major session begins.
Key Features:
Session Boxes
Draws a semi-transparent box around each sessionโs timeframe (Asia, London, New York) based on your local UTC offset.
Each box dynamically expands in real time: as new candles form during the session, the boxโs top and bottom edges update to match the highest high and lowest low seen so far in that session.
When the session ends, the box remains on your chart, anchored to the exact candles that formed its boundaries.
High/Low Rays
As soon as a session closes (e.g., London session ends at 17:00 UTC+0 by default), two horizontal rays are drawn at that sessionโs final high and low.
These rays are โpinnedโ to the exact candles where the high/low occurred, so they stay in place when you scroll or zoom.
Each ray extends indefinitely to the right, providing a clear reference of the key supply/demand levels created during that session.
Session Labels
Optionally places a small โLondon,โ โNew York,โ or โAsiaโ label at the top edge of each completed sessionโs box.
Labels are horizontally centered within the sessionโs box and use a contrasting, easy-to-read font color.
Customizable Appearance
Show/Hide Each Session: Toggle display of London, New York, and Asia sessions separately.
Time Ranges: By default, London is 08:00โ17:00 (UTC), New York is 13:00โ22:00 (UTC), and Asia is 00:00โ07:00 (UTC). You can override each sessionโs start/end times using the โTime Rangeโ picker.
Color & Opacity: Assign custom colors to each session. Choose a global โDark,โ โMedium,โ or โLightโ opacity preset to adjust box fill transparency and border shading.
Show/Hide Labels & Outlines: Turn the text labels and the box borders on or off independently.
UTC Offset Support
If your local broker feed or price data is not in UTC, simply adjust the โUTC Offset (+/โ)โ input. The indicator will recalculate session start/end times relative to your chosen offset.
How to Use:
Add the Indicator:
Open TradingViewโs Pine Editor, paste in this script, and click โAdd to Chart.โ
By default, youโll see three translucent boxes appear once each session begins (Asia, London, New York).
Watch in Real Time:
As soon as a session starts, its box will appear anchored to the first candle. The top and bottom of the box expand if new extremes occur.
When the session closes, the final box remains visible and two horizontal rays mark that sessionโs high and low.
Analyze Key Levels:
Use the high- and low-level rays to gauge session liquidity zonesโareas where stop orders, breakouts, or reversals often occur.
For example, if Londonโs high is significantly above current price, it may act as resistance in the New York session.
Customize to Your Needs:
Toggle specific sessions on/off (e.g., if you only care about London and New York).
Change each sessionโs color to match your chart theme.
Adjust the โUTC Offsetโ so sessions align with your local time.
Disable labels or box borders if you prefer a cleaner look.
Inputs Overview:
Show London/New York/Asia Session (bool): Show or hide each sessionโs box and its high/low rays.
Time Range (session): Defines the start/end of each session in โHHMMโHHMMโ (24h) format.
Colour (color): Custom color for each sessionโs box fill, border, and high/low rays.
Show Session Labels (bool): Toggle the โLondon,โ โNew York,โ โAsiaโ text that appears at the top of each completed box.
Show Range Outline (bool): Toggle the box border (if off, only a translucent fill is drawn).
Opacity Preset (Dark/Medium/Light): Controls transparency of box fill and border.
UTC Offset (+/โ) (int): Adjusts session times for different time zones (e.g., +1 for UTC+1).
Why Itโs Useful:
Quickly Identify Session Activity: Visually distinguish when each major trading session is active, then compare price action across sessions.
Pinpoint High/Low Liquidity Levels: Drawn rays highlight where the market hit its extremesโcritical zones for stop orders or breakout entries.
Multi-Timeframe Context: By seeing historical session boxes and rays, you can locate recurring supply/demand areas, overlap zones, or session re-tests.
Fully Automated Workflow: Once added to your chart, the script does all the work of tracking session boundaries and drawing high/low linesโno manual box or line drawing necessary.
Example Use Cases:
London Breakout Traders: See where Londonโs high/low formed, then wait for price to revisit those levels during the New York session.
Range Breakout Strategies: If price consolidates inside the London box, use the boxed extremes as immediate targets for breakout entries.
Intraday Liquidity Swings: During quieter hours, watch Asiaโs high/low to identify potential support/resistance before Londonโs opening.
Overlap Zones: Compare Londonโs range with Asiaโs range to find areas of confluenceโhigh-probability reversal or continuation zones.
Sessions H/L [eFe]An indicator for visualizing Session Highs/Lows and Daily/Weekly/Monthly Open/High/Low levels. This tool is designed to help traders identify key support and resistance levels formed during specific trading sessions and higher timeframes.
## Features
### 1. Session Highs & Lows
Automatically tracks and draws the High and Low prices for user-defined trading sessions.
* **Sessions Supported:**
* Asia
* London
* NY AM
* NY Lunch
* NY PM
* **Visuals:**
* Draws a box covering the session range (High to Low).
* Extends lines from the Session High and Low into the future.
* **Auto-Cutoff:** Lines automatically stop extending when price breaks them (Price >= High Line or Price <= Low Line).
* Optional text labels for Highs and Lows.
### 2. DWM (Day - Week - Month) Levels
Tracks and displays Open, High, and Low levels for higher timeframes.
* **Levels:**
* **Open:** Daily, Weekly, Monthly Open prices.
* **High/Low:** Previous Day/Week/Month Highs and Lows.
* **Visuals:**
* Line extensions for Open prices until broken or timed out.
* Line extensions for Previous High/Low until price touches them.
Sessions By petranThis indicator highlights the key trading sessions on the chart: Asian, Frankfurt, London, and New York. It helps traders visually track when each session begins and ends, making it easier to analyze price action, volume, and volatility during specific times of the day.
Key features:
Customizable session start and end times
Up to 4 major sessions highlighted
Best used on intraday timeframes (1-minute to 1-hour)
Clean, minimal design with adjustable colors and transparency
No repainting โ reliable for both live trading and backtesting
Ideal for intraday traders and anyone who wants to better understand market dynamics during different trading sessions.
Sessions 13-Zones ValentijnJelteA simple indicator to display multiple sessions within sessions. For example, you can divide the New York session into different time slots of 3 hours, 1 hour, and 30 minutes, or whatever you need for your analysis.
Sessions with Mausa session high/low tracker that draws flat, horizontal lines for Asia, London, and New York trading sessions. It updates those levels in real time during each session, locks them in once the session ends, and keeps them on the chart for context.
At a glance, you always know:
Where each sessionโs highs and lows were set
Which session produced them (ASIA, LDN, NY labels float cleanly above the highs)
When price is approaching or reacting to prior session levels
๐น Use Cases:
โข Key Levels โ See where Asia, London, or NY set boundaries, and watch how price respects or rejects them
โข Breakout Zones โ Monitor when price breaks above/below session highs/lows
โข Session Structure โ Know instantly if a move happened during London or NY without squinting at the clock
โข Backtesting โ Keep historic session levels on the chart for reference โ nothing gets deleted
โข Confluence โ Align these levels with support/resistance, fibs, or liquidity zones
Simple, visual, no distractions โ just session structure at a glance.
Sessions by nolimitCustom Trading Sessions Indicator (6 Sessions)
This indicator allows you to display up to 6 customizable trading sessions on your chart with full control over timing, colors, and timezone settings.
Features:
- 6 independent trading sessions that can be enabled/disabled individually
- Flexible time range settings for each session
- Individual color selection for each session background
- Timezone selection (UTC-12 to UTC+12) that applies to all sessions
- Clean, organized settings grouped by session
Sessions and High/LowCan be used to mark highs and lows of any sessions you desire can do 4 sessions
Sessions+Days Marker (SigmaSita)An indicator that marks the sessions and days. You can adjust session start times. Sessions are Asian, London and New York.
Sessions[Lenny Kiruthu]The script below is designed to show up to 4 different trading sessions i.e. London, New York, Tokyo and Sydney sessions, it also displays the days each session is taking place in as well as two horizontal lines one for the previous days high and the other for the previous days low.
It also displays a table that shows the user the highest and lowest price for 4 different currency pairs the previous day as well as their current prices and below it a confirmation row that shows whether price is currently above, below or within yesterdays range. Note that it only states "High Broken" or "Low Broken" if the current close is above or below the lines.
What you can change
Your time zone for example GMT -4 or GMT +3
The session start and end time
The colors, border type and border width of the session ranges
Displaying the table
Ability to choose the 4 symbols to view on the table
Sessions [New_ProfitEfex]This script is use for displaying session in a very attractive an clarity way
You can give it a try for free
Sessions with timeframe filter๐ Smart Timeframe Filtering
This session indicator includes an automatic filter that disables all session boxes when the chart timeframe is greater than the user-defined input. This helps keep higher-timeframe charts clean and focused by hiding intraday sessions when theyโre no longer relevant โ especially helpful for multi-timeframe traders.
๐ Features:
๐ฆ Draws up to 3 customizable session boxes with dynamic high/low tracking.
โฑ๏ธ Auto-disables on higher timeframes (Smart Timeframe Filter).
๐ Fully customizable session times, box colors, and time zone (GMT-based).
โก Optimized for performance using lightweight, non-overlapping box logic.
๐จโ๐ณ UI is organized like a chefโs kitchen: clean, intuitive, and easy to navigate. Settings are grouped and filtered to avoid clutter.
โ
Best Use:
This indicator is most useful for intraday traders on 1mโ15m charts.
Itโs designed to keep your workspace clean on 30m+ charts or whatever threshold you define.
Sessions by SHARK [Kyiv Time]Why Forex Sessions Matter
First of all, it is very convenient for a trader to structure their working hours. The best times to open positions are during the London Kill Zone (KZ) and New York Kill Zone (KZ). Based on what happens within each session, you can build your future analysis while considering the overall context.
We must understand that there are specific times of the day that are more or less volatile. Knowing this will help you determine when you should be looking for trade setups and when you should avoid them.
Trading outside of the Kill Zones can lead to holding positions for too long because market liquidity decreases, which in turn leads to lower volatility.
Sessions ny vizScript Purpose
This indicator draws a colored background during the New York trading session. It's useful for traders who want to have a visual overview of when the American (NY) trading session is active.
Main Features
NY Session Visualization - draws a gray bar in the background of the chart during NY trading hours (15:00-19:00 CET)
Customization - allows users to:
Set custom session time range
Adjust background color and transparency
Limit display to only the last 24 hours
Input Parameters
sessionRange - session time range (default 15:00-19:00 CET)
sessionColour - background color (default gray with 90% transparency)
onlyLast24Hours - toggle for showing only the last 24 hours (default false)
Technical Details
Script is written in Pine Script version 5
Uses UNIX timestamp for time period calculations
Runs as an overlay indicator (overlay=true), meaning it displays directly on the price chart
Uses the bgcolor() function for background rendering
Contains logic to check if current time is within defined session
Usage
This indicator is useful for:
Monitoring active NY trading session hours
Planning trades during the most liquid hours of the US market
Visual orientation in the chart during different trading sessions
Sessions by JuezFxLines Plotted at the opening price of London, New York, New York Stock Exchange, and Asia. It could also plot lines of the closing price of the session.
The script is just plotting a line at those levels to give us a visual indicator of those specific levels as they could be very beneficial for your trading. Opening and closing of the session hold the most liquidity, attracting the market towards it.
I hope this script will help you in your trading and you can use those levels along with other confluences in order to identify key levels that the market could react from!
There are some similar scripts but this one have more lines to plot at could be identified by different color and line thickness!
Sessions Lines & BackgroundDisplay Asia, London & New York sessions as background colors or lines (for a cleaner chart).
Sessions by Aegean This script has the full 8 hours for the 3 major sessions and 1 hour for the Frankfurt, Germany session
Session Bar Color (US Time)This script is designed to change the color of bars on a trading chart based on different trading sessions in Eastern Time (ET). It is different from currently published scripts in that it specifically focuses on US time sessions and provides a customizable approach to defining and coloring each session.
To use this script, you can apply it to a chart by selecting it from the list of available indicators or overlays.
The script is meant for traders who are interested in visualizing different trading sessions on their charts. By coloring the bars based on session boundaries, it can help traders quickly identify session changes and potentially adjust their trading strategies accordingly. Mostly it's used to draw the high and low zones of each session.
The markets this script is suitable for are those that operate within the US time zones, as it specifically focuses on Eastern Time (ET) sessions. It can be used for various types of markets, including stocks, futures, and forex.
The conditions for each session are defined using the input. session function, which allows you to specify the start and end times for each session. The script includes four sessions: Asian, London, USA, and New York. By modifying the defval parameter for each session input, you can customize the session times to fit your specific trading preferences or time zone.
The script uses the time function to check if the current bar falls within a particular session. If the condition is met, it sets the color of the bar using the bar color function. Each session is assigned a different color: black for the Asian session, teal for the London session, a custom RGB color (dark red) for the USA session, and red for the New York session.
It's important to note that this script assumes the time zone of the trading platform is set to "Etc/GMT+4" to align with Eastern Time (ET). If your platform uses a different time zone, you may need to adjust the time function calls to match your desired time zone.
Session-Based Sentiment Oscillator [TradeDots]Track, analyze, and monitor market sentiment across global trading sessions with this advanced multi-session sentiment analysis tool. This script provides session-specific sentiment readings for Asian (Tokyo), European (London), and US (New York) markets, combining price action, volume analysis, and volatility factors into a comprehensive sentiment oscillator. It is an original indicator designed to help traders understand regional market psychology and capitalize on cross-session sentiment shifts directly on TradingView.
๐ HOW IT WORKS
1. Multi-Component Sentiment Engine
Price Action Momentum : Calculates normalized price movement relative to recent trading ranges, providing directional sentiment readings.
Volume-Weighted Analysis : When volume data is available, incorporates volume flow direction to validate price-based sentiment signals.
Volatility-Adjusted Factors : Accounts for changing market volatility conditions by comparing current ATR against historical averages.
Weighted Combination : Merges all components using optimized weightings (Price: 1.0, Volume: 0.3, Volatility: 0.2) for balanced sentiment readings.
2. Session-Segregated Tracking
Automatic Session Detection : Precisely identifies active trading sessions based on user-configured time parameters.
Independent Calculations : Maintains separate sentiment accumulation for each major session, updated only during respective active hours.
Historical Preservation : Stores session-specific sentiment values even when sessions are closed, enabling cross-session comparison.
Real-Time Updates : Continuously processes sentiment during active sessions while preserving inactive session data.
3. Cross-Session Transition Analysis
Sentiment Differential Detection : Monitors sentiment changes when transitioning between trading sessions.
Configurable Thresholds : Generates signals only when sentiment shifts exceed user-defined minimum thresholds.
Directional Signals : Provides distinct bullish and bearish transition alerts with visual markers.
Smart Filtering : Applies smoothing algorithms to reduce false signals from minor sentiment variations.
โ๏ธ KEY FEATURES
1. Session-Specific Dashboard
Real-Time Status Display : Shows current session activity (ACTIVE/CLOSED) for all three major sessions.
Sentiment Percentages : Displays precise sentiment readings as percentages for easy interpretation.
Strength Classification : Automatically categorizes sentiment as HIGH (>50%), MEDIUM (20-50%), or LOW (<20%).
Customizable Positioning : Place dashboard in any corner with adjustable size options.
2. Advanced Signal Generation
Transition Alerts : Triangle markers indicate significant sentiment shifts between sessions.
Extreme Conditions : Diamond markers highlight overbought/oversold threshold breaches.
Configurable Sensitivity : Adjust signal thresholds from 0.05 to 0.50 based on trading style.
Alert Integration : Built-in TradingView alert conditions for automated notifications.
3. Forex Currency Strength Analysis
Base/Quote Decomposition : For forex pairs, separates sentiment into individual currency strength components.
Major Currency Support : Analyzes USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD strength relationships.
Relative Strength Display : Shows which currency is driving pair movement during active sessions.
4. Visual Enhancement System
Session Background Colors : Distinct background shading for each active trading session.
Overbought/Oversold Zones : Configurable extreme sentiment level visualization with colored zones.
Multi-Timeframe Compatibility : Works across all timeframes while maintaining session accuracy.
Customizable Color Schemes : Full color customization for dashboard, signals, and plot elements.
๐ HOW TO USE IT
1. Add the Script
Search for "Session-Based Sentiment Oscillator " in the Indicators tab or manually add it to your chart. The indicator will appear in a separate pane below your main chart.
2. Configure Session Times
Asian Session : Set Tokyo market hours (default: 00:00-09:00) based on your chart timezone.
European Session : Configure London market hours (default: 07:00-16:00) for European analysis.
US Session : Define New York market hours (default: 13:00-22:00) for American markets.
Timezone Adjustment : Ensure session times match your broker's specifications and account for daylight saving changes.
3. Optimize Analysis Parameters
Sentiment Period : Choose 5-50 bars (default: 14) for sentiment calculation lookback period.
Smoothing Settings : Select 1-10 bars smoothing (default: 3) with SMA, EMA, or RMA options.
Component Selection : Enable/disable volume analysis, price action, and volatility factors based on available data.
Signal Sensitivity : Adjust threshold from 0.05-0.50 (default: 0.15) for transition signal generation.
4. Interpret Readings and Signals
Positive Values : Indicate bullish sentiment for the active session.
Negative Values : Suggest bearish sentiment conditions.
Dashboard Status : Monitor which session is currently active and their respective sentiment strengths.
Transition Signals : Watch for triangle markers indicating significant cross-session sentiment changes.
Extreme Alerts : Note diamond markers when sentiment reaches overbought (>70%) or oversold (<-70%) levels.
5. Set Up Alerts
Configure TradingView alerts for:
- Bullish session transitions
- Bearish session transitions
- Overbought condition alerts
- Oversold condition alerts
โ๏ธLIMITATIONS
1. Data Dependency
Volume Requirements : Volume-based analysis only functions when volume data is provided by your broker. Many forex brokers do not supply reliable volume data.
Price Action Focus : In absence of volume data, sentiment calculations rely primarily on price movement and volatility factors.
2. Session Time Sensitivity
Manual Adjustment Required : Session times must be manually updated for daylight saving time changes.
Broker Variations : Different brokers may have slightly different session definitions requiring time parameter adjustments.
3. Ranging Market Limitations
Trend Bias : Sentiment calculations may be less reliable during extended sideways or low-volatility market conditions.
Lag Consideration : As with all sentiment indicators, readings may lag during rapid market transitions.
4. Regional Market Focus
Major Session Coverage : Designed primarily for major global sessions; may not capture sentiment from smaller regional markets.
Weekend Gaps : Does not account for weekend gap effects on sentiment calculations.
โ ๏ธ RISK DISCLAIMER
Trading and investing carry significant risk and can result in financial loss. The "Session-Based Sentiment Oscillator " is provided for informational and educational purposes only. It does not constitute financial advice.
- Always conduct your own research and analysis
- Use proper risk management and position sizing in all trades
- Past sentiment patterns do not guarantee future market behavior
- Combine this indicator with other technical and fundamental analysis tools
- Consider overall market context and your personal risk tolerance
This script is an original creation by TradeDots, published under the Mozilla Public License 2.0.
Session-based sentiment analysis should be used as part of a comprehensive trading strategy. No single indicator can predict market movements with certainty. Exercise proper risk management and maintain realistic expectations about indicator performance across varying market conditions.
RCV Essentialsโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RCV ESSENTIALS - MULTI-TIMEFRAME & SESSION ANALYSIS TOOL
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ WHAT THIS INDICATOR DOES
This professional-grade indicator combines two powerful analysis modules:
1. TRADING SESSION TRACKER - Visualizes high/low ranges for major global market sessions (NY Open, London Open, Asian Session, etc.)
2. MULTI-TIMEFRAME CANDLE DISPLAY - Shows up to 8 higher timeframes simultaneously on your chart (15m, 30m, 1H, 4H, 1D, 1W, 1M, 3M)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ KEY FEATURES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TRADING SESSIONS MODULE:
โ Track up to 6 custom trading sessions simultaneously
โ Real-time high/low range detection during active sessions
โ Pre-configured for NYO (7-9am), LNO (2-3am), Asian Session (4:30pm-12am)
โ 60+ global timezone options
โ Customizable colors, labels, and transparency
โ Daily divider lines (optional Sunday skip for traditional markets)
โ Only displays on โค30m timeframes for optimal clarity
MULTI-TIMEFRAME CANDLES MODULE:
โ Display 1-8 higher timeframes with up to 10 candles each
โ Real-time candle updates (non-repainting)
โ Fully customizable colors (separate bullish/bearish for body/border/wick)
โ Adjustable candle width, spacing, and positioning
โ Smart label system (top/bottom/both, aligned or follow candles)
โ Automatic timeframe validation (only shows TFs higher than chart)
โ Memory-optimized with automatic cleanup
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ง HOW IT WORKS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TECHNICAL IMPLEMENTATION:
Session Tracking Algorithm:
โข Detects session start/end using time() function with timezone support
โข Continuously monitors and updates high/low during active session
โข Finalizes range when session ends using var persistence
โข Draws boxes using real-time bar_index positioning
โข Maintains session ranges across multiple days for reference
Multi-Timeframe System:
โข Uses ta.change(time()) detection to identify new MTF candle formation
โข Constructs candles using custom Type definitions (Candle, CandleSet, Config)
โข Stores OHLC data in arrays with automatic size management
โข Renders using box objects (bodies) and line objects (wicks)
โข Updates current candle every tick; historical candles remain static
โข Calculates dynamic positioning based on user settings (offset, spacing, width)
Object-Oriented Architecture:
โข Custom Type "Candle" - Stores OHLC values, timestamps, visual elements
โข Custom Type "CandleSet" - Manages arrays of candles + settings per timeframe
โข Custom Type "Config" - Centralizes all display configuration
โข Efficient memory management via unshift() for new candles, pop() for old
Performance Optimizations:
โข var declarations minimize recalculation overhead
โข Conditional execution (sessions only on short timeframes)
โข Maximum display limits prevent excessive object creation
โข Timeframe validation at barstate.isfirst reduces redundant checks
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ HOW TO USE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SETUP:
1. Add indicator to chart (works best on 1m-30m timeframes)
2. Open Settings โ "Trading Sessions" group
- Enable desired sessions (NYO, LNO, AS, or custom)
- Select your timezone from 60+ options
- Adjust colors and transparency
3. Open Settings โ "Multi-TF Candles" group
- Enable timeframes (TF1-TF8)
- Configure each timeframe and display count
- Customize colors and layout
READING THE CHART:
โข Session boxes show high/low ranges during active sessions
โข MTF candles display to the right of current price
โข Labels identify each timeframe (15m, 1H, 4H, etc.)
โข Real-time updates on the most recent MTF candle
TRADING APPLICATIONS:
Session Breakout Strategy:
โ Identify session high/low (e.g., Asian session 16:30-00:00)
โ Wait for break above/below range
โ Confirm with higher timeframe candle close
โ Enter in breakout direction, stop at opposite side of range
Multi-Timeframe Confirmation:
โ Spot setup on primary chart (e.g., 5m)
โ Verify 15m, 1H, 4H candles align with trade direction
โ Only take trades where higher TFs confirm
โ Exit when higher TF candles show reversal
Combined Session + MTF:
โ Asian session establishes range overnight
โ London Open breaks Asian high
โ Confirm with bullish 15m + 1H candles
โ Enter long with stop below Asian high
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐จ ORIGINALITY & INNOVATION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What makes this indicator original:
1. INTEGRATED DUAL-MODULE DESIGN
Unlike separate session or MTF indicators, this combines both in a single performance-optimized script, enabling powerful correlation analysis between session behavior and timeframe structure.
2. ADVANCED RENDERING SYSTEM
Uses custom Pine Script v5 Types with dynamic box/line object management instead of basic plot functions. This enables:
โข Precise visual control over positioning and spacing
โข Real-time updates without repainting
โข Efficient memory handling via automatic cleanup
โข Support for 8 simultaneous timeframes with independent settings
3. INTELLIGENT SESSION TRACKING
The algorithm continuously recalculates ranges bar-by-bar during active sessions, then preserves the final range. This differs from static zone indicators that simply draw fixed boxes at predefined levels.
4. MODULAR ARCHITECTURE
Custom Type definitions (Candle, CandleSet, Config) create extensible, maintainable code structure while supporting complex multi-timeframe operations with minimal performance impact.
5. PROFESSIONAL FLEXIBILITY
Extensive customization: 6 configurable sessions, 8 timeframe slots, 60+ timezones, granular color/sizing/spacing controls, multiple label positioning modesโadaptable to any market or trading style.
6. SMART VISUAL DESIGN
Automatic timeframe validation, dynamic label alignment options, and intelligent spacing calculations ensure clarity even with multiple timeframes displayed simultaneously.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ CONFIGURATION OPTIONS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
TRADING SESSIONS:
โข Session 1-6: On/Off toggles
โข Time Ranges: Custom start-end times
โข Labels: Custom text for each session
โข Colors: Individual color per session
โข Timezone: 60+ options (Americas, Europe, Asia, Pacific, Africa)
โข Range Transparency: 0-100%
โข Outline: Optional border
โข Label Display: Show/hide session names
โข Daily Divider: Dotted lines at day changes
โข Skip Sunday: For traditional markets vs 24/7 crypto
MULTI-TF CANDLES:
โข Timeframes 1-8: Enable/disable individually
โข Timeframe Selection: Any TF (seconds to months)
โข Display Count: 1-10 candles per timeframe
โข Bullish Colors: Body/Border/Wick (independent)
โข Bearish Colors: Body/Border/Wick (independent)
โข Candle Width: 1-10+ bars
โข Right Margin: 0-200+ bars from edge
โข TF Spacing: Gap between timeframe groups
โข Label Color: Any color
โข Label Size: Tiny/Small/Normal/Large/Huge
โข Label Position: Top/Bottom/Both
โข Label Alignment: Follow Candles or Align
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ TECHNICAL SPECIFICATIONS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โข Pine Script Version: v5
โข Chart Overlay: True
โข Max Boxes: 500
โข Max Lines: 500
โข Max Labels: 500
โข Max Bars Back: 5000
โข Update Frequency: Real-time (every tick)
โข Timeframe Compatibility: Chart TF must be lower than selected MTFs
โข Session Display: Activates only on โค30 minute timeframes
โข Memory Management: Automatic cleanup via array operations
Last 10 Sessions: High, Low, Pivot, GapLast 10 Sessions: High, Low, Pivot, Gap
This indicator highlights the most important price levels from the last 10 completed trading sessions to help intraday and swing traders quickly spot potential support, resistance, and price reaction zones.
Key Features:
Previous Highs and Lows : Visualize the high and low from each of the past 10 sessions. These are the most commonly tested breakout and reversal points for day trading.
Session Pivots: The classic pivot formula ((High + Low + Close) / 3) for each of the last 10 sessions, often acting as a market โequilibriumโ or intraday magnet.
Gaps: Displays the difference between each dayโs open and the previous sessionโs close (โgapโ), showing sentiment shifts and possible gap fill targets.
Clean, Faded Visuals: All lines and labels are subtly faded so your chart remains clear and uncluttered, with each level labeled by how many sessions ago it occurred.
Full Customization: Instantly toggle any level type (High, Low, Pivot, Gap) ON/OFF in settings, extend lines to the right, and adjust their forward length.
Bulletproof Logic: Never throws runtime errors. Lines and labels only display when valid data is present.
How to Use:
Use recent highs/lows for breakout, breakdown, or mean reversion trades.
Spot where multiple levels from past sessions cluster together for high-probability reversal or breakout areas.
Watch pivots for intraday bias, and gaps for sentiment and possible fill plays.
Perfect for all intraday timeframes.
If you want a powerful yet minimal map of where price is most likely to react, this indicator is for you!
Developed by
Trading Sessions with Highs and LowsTrading Sessions with Highs and Lows is designed to visually highlight specific trading sessions on the chart, providing traders with key insights into market behavior during these time periods. Hereโs a detailed explanation of how the indicator works:
Key Features
1. Session Boxes:
โข The indicator plots colored boxes on the chart to represent the price range of defined trading sessions.
โข Each box spans the sessionโs start and end times and encapsulates the high and low prices during that period.
โข Two trading sessions are defined by default:
โข USA Trading Session: 9:30 AM - 4:00 PM (New York Time).
โข UK Trading Session: 8:00 AM - 4:30 PM (London Time).
2. Session Labels:
โข The name of the session (e.g., โUSAโ or โUKโ) is displayed above the session box for clear identification.
3. High and Low Markers:
โข Markers are added to the chart at the sessionโs high and low points:
โข High Marker: A green label indicating the session high.
โข Low Marker: A red label indicating the session low.
4. Dynamic Reset:
โข After the session ends, the session high and low values are reset to na to prepare for the next trading day.
5. Customizable Background Colors:
โข Each sessionโs box has a distinct, semi-transparent background color for better visual separation.
How It Works
1. Core Functionality:
โข A function, plot_box, takes the session name, start time, end time, and background color as input.
โข It calculates whether the current time is within the session.
โข During the session:
โข It tracks the sessionโs highest and lowest prices.
โข It identifies the bars where the high and low occurred.
โข At the sessionโs end:
โข It plots a box on the chart covering the sessionโs time and price range.
โข Labels are created for the session name and its high/low points.
2. Session Timing:
โข Timestamps for the USA and UK trading sessions are calculated using the timestamp function with respective time zones.
3. Visual Elements:
โข The box.new function draws the session boxes on the chart.
โข The label.new function creates session name and high/low labels.
Usage
โข Overlay Mode: The indicator is applied directly on the price chart (overlay=true), making it easy to visualize session-specific price behavior.
โข Trading Strategy:
โข Identify session-specific support and resistance levels.
โข Observe price action trends during key trading periods.
โข Align trading decisions with session dynamics.
Customization
While the indicator is preset for the USA and UK trading sessions, it can be easily modified:
1. Add/Remove Sessions: Define additional sessions by providing their start and end times.
2. Change Colors: Update the background_color in the plot_box calls to use different colors for sessions.
3. Adjust Time Zones: Replace the current time zones with others relevant to your trading style.
Visualization Example
โข USA Session:
โข Time: 9:30 AM - 4:00 PM (New York Time).
โข Box Color: Semi-transparent orange.
โข UK Session:
โข Time: 8:00 AM - 4:30 PM (London Time).
โข Box Color: Semi-transparent green.
Why Use This Indicator?
1. Market Awareness: Easily spot price behavior during high-liquidity trading periods.
2. Trend Analysis: Analyze how sessions overlap or affect each other.
3. Session Boundaries: Use session high/low levels as dynamic support and resistance zones.
This indicator is an essential tool for intraday and swing traders who want to align their strategies with key market timings.
Forex Session Tracker [MacroGlide]Forex Session Tracker is a tool designed to track and visualize trading activity across the four key Forex market sessions: New York, London, Tokyo, and Sydney. The indicator helps traders see the time intervals of each session, their impact on price movements, and analyze volatility within these sessions.
Key Features:
โข Session Visualization: The indicator highlights price ranges during the New York, London, Tokyo, and Sydney sessions using different colors, making data easier to visually interpret and analyze. Users can customize the color scheme for each session.
โข Price Change Analysis: The indicator tracks the opening prices of each session and calculates the price changes by the session's close. This allows traders to assess market dynamics within each session and make informed trading decisions.
โข Average Price Changes: The average price change for a specified number of sessions is calculated for each session, helping to identify trends and volatility levels.
โข Time Zone Support: The indicator takes into account time zones, allowing users to adjust the display according to their location or use the market's time zone.
โข Interactive Dashboard: The built-in dashboard shows the status of each session in real-time (active or inactive), recent price changes, and average changes, providing quick access to key information directly on the chart.
How to Use:
โข Add the indicator to your chart and configure the displayed sessions according to your needs.
โข Use color differentiation to easily identify active trading sessions and assess their impact on price movements.
โข Monitor price changes in each session and analyze averages for a deeper understanding of market trends.
Methodology:
The indicator uses the time intervals of each trading session to calculate and display opening prices, price ranges, and price changes for the session. Based on this data, the Forex Session Tracker visualizes the session's high and low prices and calculates the average price change over the last several sessions. All data is displayed in real-time, considering the user's time zone settings or the market's time zone.
Originality and Usefulness:
Forex Session Tracker stands out for its ability to combine price change information from several key trading sessions into one indicator, providing traders with a simple and clear way to analyze market activity across different time zones.
Charts:
The indicator displays clean and clear charts, where each trading session is highlighted with its own color, making visual interpretation easier. The charts focus only on essential information for analysis: opening prices, session ranges, and price changes. The integrated dashboard provides quick access to key session metrics, such as activity status, recent price changes, and average values for the selected period. These features make the charts highly useful for rapid analysis and trading decision-making.
Enjoy the game!






















