Indicator

Nexus Sessions Session High/Low (Asia / London / New York)Draws the running high and low of the Asia, London and New York sessions as clean horizontal
lines with labels that follow price. No boxes, no vertical dividers, no clutter — just the levels.
CORE + CARRY WINDOWS
Each session has a core window and a carry window, and the level keeps forming through both
before it locks. London's range isn't finished at 05:00 — flow from that session keeps working
the book for hours, and a high printed at 08:54 still belongs to London even though the core
ended long before. Defaults: Asia 18:00-00:00 (carry to 02:00), London 02:00-05:00 (carry to
09:30), New York 09:30-11:00 (carry to 16:00), all New York time.
SWEPT LEVELS
Once a session's core and carry are both done, its high and low lock. If price later trades back
through one, that line turns dotted and relabels itself SWEPT — while keeping its session colour,
so you can still tell at a glance whose liquidity just got taken. An untouched session extreme is
resting liquidity; a swept one is spent. Nothing gets marked swept while the level is still
forming, so a new high inside its own session never false-flags as a sweep of itself.
TWO WAYS TO DRAW THE LINE
By default each line starts on the bar that actually printed the high or low, so you can see
exactly when the level was set. Switch to Session open and the line spans the entire session
instead, showing how long the level has been in play and how much of the session traded above or
below it. Same levels, two different questions.
TIMEZONES
Defaults are New York time and the standard core windows, so it lines up with what you're already
reading. Each session can also be switched to its own market's local time — which changes nothing
for about 48 weeks a year, and differs only in the ~4 weeks when the US and UK clocks disagree.
Japan observes no DST at all, so an Asia window pinned to New York drifts against Tokyo at every
US changeover. Pick native if you want the literal London open; leave it on New York to match
every other session tool.
Full colour control per session — separate high, low and swept colours — plus infinite or
fixed-length extension, adjustable label offset, and per-session toggles.
Open source and fully commented. Take it, change it, use it.
I build custom indicators and backtesting tools — message me if you need something specific. Indicator

All-In-One Trader Toolkit# All-In-One Trader Toolkit (AIO Toolkit)
A comprehensive overlay indicator that combines the key tools intraday futures traders need into a single script. Designed for ES, NQ, and other futures instruments with all sessions anchored to New York (Eastern) time.
## Features
**Supply & Demand Zones**
Auto-detected zones scored 1–10 based on impulse strength vs. basing range. Zones auto-extend until price closes through them (or use a fixed bar width). Filter by minimum score to show only the strongest levels. Fully customizable colors.
**Previous Day High/Low (PDH/PDL)**
Automatically plots the prior trading day's high and low as dashed reference lines. Configurable number of days to keep on chart.
**Pre-Market High/Low (PMH/PML)**
Captures the high and low of the overnight/globex session. Default session is 6:00 PM – 9:30 AM ET (full globex), adjustable to any window (e.g. 4:00 AM – 9:30 AM for London open only).
**15-Minute Opening Range Breakout (ORB)**
Plots the 9:30–9:45 AM ET opening range high/low. Generates BUY/SELL signals on breakout retests. Includes three configurable take-profit levels with optional symbol-specific points for NQ and ES.
**Daily VWAP + ±1 Standard Deviation Bands**
Manually calculated VWAP with upper and lower bands, resetting each trading day.
**NY-Open Anchored VWAP + ±1 Standard Deviation Bands**
Session-only VWAP anchored to the 9:30 AM NY open. Plots only during the 9:30–4:00 PM session with no carryover lines between sessions.
**Initial Balance (IB) + Extensions**
Captures the first 60 minutes of the NY session (9:30–10:30 AM ET). Plots IB High/Low with 50% and 100% extensions in both directions.
**News / Event Markers**
Up to 3 configurable event markers with custom labels and timestamps. Draws vertical dashed lines at the specified times.
**Dual EMA**
Two independent EMAs with adjustable length, color, and line width. Defaults: 8 EMA and 200 EMA.
## Display
- All labels are pinned to the right edge of the chart for easy identification
- Global label size control (tiny / small / normal / large / huge) applies to all elements
- Every feature can be toggled on/off independently
- All colors are fully customizable through the settings panel
## Alerts
Built-in alert conditions for ORB breakouts (up/down) and retest buy/sell signals.
## Best Used On
Intraday futures charts (1-min, 2-min, 5-min) for instruments like NQ, ES, YM, RTY. Works on any symbol but session times are optimized for US equity futures. Indicator

RPFXBYDAN - Untouched Session Liquidity - Asia / London / NYRPFXBYDAN - Untouched Session Liquidity — Asia / London / NY
**What this script does**
This indicator marks the high and low of each Asia, London, and New York trading session and projects those two levels forward as horizontal lines. Unlike a standard session-range indicator that leaves every past level on the chart, this one automatically deletes any level the moment price reaches it. The result is a running inventory of the recent session highs and lows that price has NOT yet run — the liquidity that is still "live" on the chart.
By default the script keeps the ten most recent sessions per region so you can see whether the current market is respecting, sweeping, or ignoring older session extremes.
**Why session highs and lows matter**
Session highs and lows tend to attract price because they collect a predictable pool of stop-loss orders — protective stops from participants who entered inside the previous session's range. Price often gravitates toward these levels, sweeps the liquidity, and reverses. Knowing which specific levels are still untaken (versus already mitigated) is more actionable than seeing every historical level indiscriminately, because only untaken levels still hold that liquidity.
**How the script works, step by step**
1. On every bar, the script checks whether the bar falls inside the Asia, London, or New York session window, using Pine's timezone-aware time function so detection is correct on any chart regardless of the user's timezone settings.
2. While a session is active, it tracks the running high and low and remembers the bar index at which each was set.
3. The instant a session closes (the first bar the session check flips from true to false), it draws two horizontal lines anchored at those bar indexes — one at the session high, one at the session low — with a text label naming the region.
4. Each new line and label is pushed onto a per-region array. If the array now holds more than the configured lookback count (default ten), the oldest entry is shifted off and deleted.
5. On every subsequent bar, the script walks the array of active lines and compares the current candle's high to each high level and the current candle's low to each low level. Any line whose level has been reached is deleted along with its label. Any line not yet touched has its right edge advanced so the projection stays anchored to the current bar.
The touch check is the mechanism that keeps the chart focused only on liquidity that hasn't been taken yet — it's what differentiates this from a normal "show previous session range" indicator.
**Timezone handling**
The default Auto mode detects each session in its own home timezone: Asia in Tokyo time, London in London time, and New York in New York time. Because Pine's time function accepts a timezone argument, the detection is correct regardless of what timezone your chart is set to, and daylight saving transitions are handled automatically. If you'd rather have all three sessions interpreted in one specific timezone (for example, always in your local one), the location dropdown lets you select from a menu of common cities and UTC offsets, and the session windows will be read in that timezone instead.
**Inputs**
- Your Location / Timezone — Auto (recommended) or a specific city / UTC offset
- Asia, London, New York Session windows — defaults calibrated to each session's home clock time
- Sessions to Keep — how many recent sessions per region to display (default 10)
- Colors per region, line width, line style, right-extension length, label toggle
**How to use it**
Add the indicator to a 5-minute, 15-minute, 30-minute, or 1-hour chart of any symbol. Give the chart a few days of history to load so the script can walk through session closes and populate the levels. Watch how price interacts with the untaken lines — a clean sweep of an old session high can precede a reversal, while price trading through a level without pausing suggests continuation. Because touched levels are removed automatically, whatever remains on the chart at any moment is the current "menu" of session liquidity worth watching.
Works on any instrument, though it's most useful on FX pairs, index futures, and crypto where session structure is meaningful. Higher timeframes (4H+) compress sessions into a single bar and reduce the value of the lines.
**Notes**
Session detection uses each session's home timezone in Auto mode; in manual mode you select a single timezone that applies to all three. Both modes automatically handle daylight saving. Indicator

NY RTH Opening Range [M1D]NY RTH Opening Range
This indicator marks the New York Regular Trading Hours Opening Range (09:30–10:00 New York time, DST-adjusted automatically) on any chart timeframe at or below 30 minutes.
How it works: the script accumulates the highest high and lowest low across every bar that falls inside the 09:30–10:00 New York session window, rather than assuming a single candle equals the range — this makes it accurate whether you're viewing a 1-minute or 30-minute chart.
Once the window closes, the range locks and three levels are drawn: the range high, the range low, and the midpoint (equilibrium). The current day's range plus a user-defined number of prior days are displayed for reference, with prior days dimmed automatically.
After the range locks, the script monitors price for a confirmed bar close beyond the range high or low and marks a single directional signal per side per day. If price later closes back inside the range following a break, a separate marker flags that the break may have failed, prompting reassessment rather than continued directional bias.
A status panel in the corner of the chart shows whether the range is still forming or has locked, the current high/low values, and the live directional bias.
Settings: session window and timezone, line extension length, number of prior days shown, line/marker colours, and panel visibility are all user-adjustable via the indicator's settings menu.
Note: This tool identifies a structural reference level and does not constitute financial advice or a standalone trading signal. As with any single concept, it is intended to be used as one component of a broader trading framework and should be combined with proper risk management. Indicator

Ict Mmxm Frameworkict mmxm framework is a session-based market structure tool designed to organize intraday price delivery around fpi zones, macro windows, order blocks, imbalances, breakaway gap order blocks, opening ranges, and session range structure.
The script is built to help traders study how price behaves during the asian, london, new york morning, lunch, and new york afternoon sessions. It separates each major session into its own visual components so the user can compare pre-session ranges, active session ranges, macro windows, fpi areas, imbalance areas, order block zones, breakaway gap order blocks, and opening range levels.
Main components:
* pre-asian range from 7:00 pm to 9:00 pm new york time
* asian range from 9:00 pm to 12:00 am new york time
* asian macro windows at 6:50 pm to 7:10 pm, 8:50 pm to 9:10 pm, and 12:50 am to 1:10 am
* pre-london range from 2:00 am to 3:00 am new york time
* london range from 3:00 am to 5:00 am new york time
* london macro windows at 1:50 am to 2:10 am, 2:50 am to 3:10 am, and 4:50 am to 5:10 am
* new york morning, lunch, and afternoon session structure
* fpi visualization for asian, london, and new york sessions
* separate fpi detection for asian and london macro windows
* selected-bias imbalance mapping
* selected-bias order block mapping
* breakaway gap order block mapping
* high, midpoint, and low price labels for imbalance, order block, and breakaway gap order block zones
* opening range levels for the new york morning and afternoon sessions
* configurable session visibility and visual settings
The asian and london sections include range boxes, high and low references, midpoint references, macro windows, fpi areas, selected-bias imbalance zones, selected-bias order block zones, and breakaway gap order block context. These components are intended to help traders compare how price develops from one session into the next.
The selected expected bias controls how the main imbalance and order block zones are emphasized. When bearish bias is selected, the framework focuses on the highest relevant bullish order block and premium-side imbalance context. When bullish bias is selected, the framework focuses on the lowest relevant bearish order block and discount-side imbalance context.
The order block, imbalance, and breakaway gap order block zones use soft transparent colors based on the selected expected bias. Bearish bias uses red-toned zones, while bullish bias uses green-toned zones. This is intended to keep the chart visually aligned with the selected directional framework.
The purpose of this script is to provide a structured visual framework for studying session-based delivery, liquidity reference points, fpi behavior, macro timing, order blocks, imbalances, breakaway gap order blocks, and projected levels. It is intended for market context, discretionary planning, and research.
This script does not generate guaranteed trade signals, does not predict future price movement, and does not provide financial advice. It should be used together with independent analysis and proper risk management.
Asian Session:
London Session:
Ny Session:
Indicator

Strategy

ALN Sessions [NQ Stats x CantoLab]A statistical tool for NQ intraday traders built around research from NQ Stats (NQStats on twitter / nqstats.com ). Credit to NQ Stats for the original concept and data — published here as an open source indicator with permission.
Introduction
This indicator visualizes Asia and London session ranges on NQ (NASDAQ futures), then overlays statistically-derived probability levels showing how likely price is to sweep each session's high or low — based on historical pattern data compiled by NQ Stats.
How to Read the Probability Numbers
When London session closes, two horizontal lines appear — one above (London High) and one below (London Low) — each labeled with a percentage like 81.1% or 74.9%.
These numbers answer: "Historically, how often does price return to sweep this level after London closes?"
For example, if you see 81.1% on the high line, it means: in roughly 8 out of 10 historical sessions matching this pattern, price eventually traded back up to or through the London High
What happens when a level is hit?
The label updates to show in blue — confirming that level was reached
The other line's probability updates to a new conditional probability, e.g. 46% , shown in brackets
This delta tells you how the odds of sweeping the second level changed now that the first was reached
The Four Patterns (Asia vs London relationship)
The probabilities change depending on how London's range relates to Asia's range that day. The indicator detects four patterns automatically:
London Engulfs Asia — London trades both above AND below Asia's range. The most expansive session structure.
Asia Engulfs London — Asia's range fully contains London's range. London consolidates inside the prior overnight range.
London High Break — London breaks only above Asia's high, leaving Asia's low intact.
London Low Break — London breaks only below Asia's low, leaving Asia's high intact.
Each pattern has its own set of historical probabilities, so the percentages you see are always contextual to that day's Asia/London relationship — not a fixed number.
Settings
Asia Session — color, session time window, and label text
London Session — color, session time window, and label text
Label Size — Tiny / Small / Normal / Large
Border — toggle, style (Solid/Dashed/Dotted), and width for session boxes
Probability Lines — toggle, Auto color or manual color pick, style (Solid/Dashed/Dotted), and width
Daily Dividers — toggle, color, style (Solid/Dashed/Dotted), and width
Notes
Built for NQ Futures. Behaviour on other instruments is untested
All times are New York time
Probability data is derived from 10 years of NQ historical data by nqstats.com
This indicator does not provide financial advice or a complete strategy. You are responsible for how you build around and execute on this data
⚠️ Important
This is a statistical study indicator. It does not guarantee that the London high or low will be hit. Over a large sample, this is the expected behaviour based on 10 years of NQ data. It is best combined with other confluences to confirm direction — this indicator alone is not a strategy.
Indicator

Liquidity Reaction Market Context FrameworkDescription
Liquidity Reaction – Market Context Framework is a structured visual tool designed to provide traders with clear market context based on session behavior, time-based positioning, and key reference levels.
This script does not aim to generate signals. Instead, it builds a contextual framework that helps traders understand how price evolves across different trading sessions and how liquidity transitions occur throughout the day.
Core Concept
Markets do not move randomly — they evolve through time-based cycles, where each session contributes to liquidity creation, expansion, and rebalancing.
This indicator organizes that behavior into a unified structure, allowing traders to:
Identify where price is within the daily cycle
Understand how sessions interact with each other
Detect where liquidity is likely being formed or consumed
Track how price reacts to prior session ranges and reference levels
Components
1. Sessions (Day, Asia, London, New York)
Each session is represented as a dynamic range (high–low) that evolves in real time.
Purpose:
Define structural ranges
Highlight consolidation and expansion phases
Provide context for intraday positioning
2. Session Close–Open Relationship (Gap)
The script tracks the relationship between the previous reference close and the next session open.
Purpose:
Identify imbalance zones
Highlight potential rebalancing areas
Provide a key reference for intraday reactions
3. Time Zones (Background Context)
Background shading represents key trading windows in New York time.
Purpose:
Provide temporal orientation
Align price action with institutional trading hours
Improve session-based analysis
4. Extended Hours
Marks low-liquidity periods outside primary sessions.
Purpose:
Contextualize reduced participation
Identify transitions between active and inactive markets
5. SMA 200
A long-term moving average included as a structural reference.
Purpose:
Provide directional bias context
Help visualize broader market positioning
Why This Script Is Different
Unlike traditional indicators that focus on signals or isolated calculations, this script is built as a contextual framework.
It integrates multiple time-based elements into a single, coherent structure that reflects how markets actually operate:
Through sessions
Through time
Through liquidity transitions
How to Use
Use sessions to understand where price is developing structure
Observe how price behaves when entering or leaving a session
Use the gap as a reference for imbalance and potential reaction
Align execution with time zones rather than arbitrary signals
Use SMA 200 as a higher-level directional filter
Notes
This indicator is designed to be used directly on the main chart
For proper visualization, place it above in the object tree
Works best on intraday timeframes where session behavior is more relevant
Each component can be enabled or disabled and limited by timeframe
This script is intended for traders who prioritize context over signals, and who want to understand the structure behind price movement, not just its outcome. Indicator

Trading Sessions Suite [BackQuant]Trading Sessions Suite
Overview
Trading Sessions Suite is a full intraday structure framework built around market sessions, kill zones, and session-specific order flow . It transforms the trading day into a sequence of structured regimes, allowing you to track how liquidity, volatility, and positioning evolve across Asia, London, and New York.
Instead of treating price as a continuous stream, this indicator segments the market into time-based auction phases , each with its own:
Range (high and low)
VWAP (fair value)
Open (reference anchor)
Equilibrium (midpoint)
Momentum (session oscillator)
It also overlays kill zones , highlighting the exact windows where volatility and participation tend to expand.
Example of kill zones in action:
Example combining RSI-style oscillator + VWAP structure:
This tool is designed for traders who want to understand how intraday structure builds, shifts, and resolves .
---
Core Philosophy
Markets are not random throughout the day. Liquidity, volatility, and institutional participation are time-dependent .
Each session has distinct characteristics:
Asia → accumulation, compression, range-building
London → expansion, breakout, liquidity grabs
New York → continuation, distribution, reversal potential
Rather than using static indicators, this script builds a dynamic framework tied to these time regimes .
---
Session Engine
The indicator tracks three primary sessions:
Asia Session
London Session
New York Session
Each session is defined by a configurable time window and processed as an independent structure.
Internally, each session maintains a full state:
Session high and low
Session open
Rolling VWAP
Start index (session start)
Drawn objects (box, lines, labels)
Oscillator data (if enabled)
This allows each session to behave like a self-contained market environment .
---
Session Boxes (Auction Structure)
Each session is visualized as a box:
Top = session high
Bottom = session low
Width = duration of the session
This gives you an immediate view of:
Range expansion vs compression
Relative volatility between sessions
Where price is positioned within each session
Interpretation:
Tight box → compression, buildup
Wide box → expansion, active participation
Overlapping boxes → consolidation across sessions
---
Session VWAP (Fair Value per Session)
Each session has its own VWAP:
VWAP = volume-weighted average price within that session only
This is critical because:
VWAP resets every session
Reflects session-specific positioning
Acts as a dynamic equilibrium level
Interpretation:
Price above VWAP → bullish control for that session
Price below VWAP → bearish control
Reversion to VWAP → mean reversion inside session
Unlike standard VWAP, this gives you multiple fair value anchors per day .
---
Session Open & Midline (Key References)
Each session also tracks:
Open Line → where the session started
Midline → (high + low) / 2
These act as:
Bias indicators (above/below open)
Equilibrium zones (midline)
Reaction levels
Typical behavior:
Holding above open → trend continuation
Crossing midline → shift in control
Rejecting midline → continuation signal
---
Range Extension (Forward Liquidity Levels)
When a session closes, its high and low can be extended forward.
These extensions act as:
Future support/resistance
Liquidity targets
Breakout validation zones
Mechanically:
High and low are projected into the next session
Remain until replaced or invalidated
Interpretation:
Next session often trades toward previous session extremes
Breaks of prior session range = regime shift
---
Kill Zones (High-Probability Windows)
Kill zones are specific time windows inside sessions where:
Liquidity spikes
Volatility expands
Institutional activity increases
Included zones:
Asia Kill Zone
London Open Kill Zone
New York Open Kill Zone
New York Close Kill Zone
They are visualized as shaded boxes separate from session boxes.
Why they matter:
Most breakouts occur during kill zones
Most reversals are initiated during kill zones
Liquidity sweeps cluster around these times
From the example:
You can see how price reacts specifically within these windows.
---
Session Oscillator (Embedded Momentum Engine)
Each session optionally includes its own oscillator plotted directly below the session box.
This is not a standard indicator overlay. It is:
Bound to the session range
Scaled relative to that session
Reset each session
Core mechanics:
Uses RSI-style calculation
Signal line = moving average of oscillator
Stored per bar within the session
Displayed as:
A mini panel under each session
With 30 / 50 / 70 reference levels
Example:
Interpretation:
Above 50 → bullish momentum within session
Below 50 → bearish momentum
30/70 → oversold/overbought zones
This gives you contextual momentum , not global momentum.
---
Why Session-Based Oscillators Matter
Standard oscillators ignore time segmentation.
This approach:
Resets momentum every session
Prevents carryover noise
Aligns signals with actual trading windows
So instead of:
“RSI is overbought”
You get:
“RSI is overbought within London session”
This is a much stronger contextual signal.
---
Labels & Range Statistics
Each session can display:
Session name (ASIA, LON, NY)
Range percentage
This helps quantify:
How much the market moved during that session
Which session is dominating volatility
---
Putting It All Together
This indicator gives you a full intraday map:
Where price moved (session boxes)
Where fair value sits (VWAP)
Where equilibrium lies (midline)
Where momentum stands (oscillator)
Where volatility expands (kill zones)
Where liquidity rests (extended highs/lows)
---
How to Use It
1) Identify the current session
Always start with:
Which session is active?
Each session behaves differently.
---
2) Use VWAP + midline for bias
Above VWAP + above mid → strong trend
Below VWAP + below mid → bearish control
Between → range
---
3) Watch kill zones for setups
Breakouts during kill zones are higher probability
Fake moves often occur just before them
---
4) Track previous session levels
Asia high/low often targeted during London
London extremes often targeted during NY
---
5) Use oscillator for confirmation
Momentum aligning with structure → stronger signal
Divergence → potential reversal
---
Strengths
Fully contextual intraday framework
Combines time, price, and volume-weighted logic
Visual and intuitive
Highly configurable
---
Summary
Trading Sessions Suite converts the trading day into a structured sequence of auctions. By combining session ranges, VWAP, kill zones, and a session-specific momentum engine, it provides a complete framework for understanding how price moves throughout the day. Instead of relying on static indicators, it aligns analysis with when liquidity actually enters the market, allowing for more precise timing, better context, and cleaner trade execution. Indicator

Indicator

Midnight OpenThis Midnight open indicator tracks and displays each trading day’s midnight open based on a user-selected time zone. It lets the user choose between America/New_York, the chart’s exchange time zone, UTC, GMT, or a custom GMT/UTC hour offset, then detects when midnight occurs in that time zone and captures the open price either from the chart timeframe or from a 1-minute source for better precision. It filters by trading-week mode, so the script can operate on standard Monday–Friday schedules, Sunday–Thursday futures-style weeks, or all calendar days. Once a valid midnight open is found, it plots the current day’s level as a step line on the chart and can also draw a separate horizontal line for each day, with optional labels showing the weekday, 00:00 time stamp, and active time zone.
The Midnight Open indicator also keeps a rolling weekday dashboard that stores the latest Monday through Friday midnight open values and shows them in a table in the chart corner, with the active time zone included in the table header. Those table values are formatted with comma-separated numbers while preserving the instrument’s tick precision. To keep the chart clean, the script automatically limits how many historical lines and labels remain visible based on a user-defined lookback count. In addition, it generates a “new midnight open” event when a fresh daily level is captured and can fire a dynamic alert message that includes the active time zone, symbol, and timeframe, making it easier to monitor midnight reference levels across different markets and time zone settings.
Indicator

Indicator

Sessions ExtendedSessions Extended
Based on the original "Sessions" indicator by LuxAlgo, this script is a complete
rewrite and substantial expansion. It is built for traders who want control
over session visualization, deep volume analytics, and a live dashboard that works
on any chart timeframe from 1 minute up to 1 week.
=============================================================================
WHAT CHANGED COMPARED TO THE ORIGINAL "SESSIONS" INDICATOR
=============================================================================
SESSIONS
Original: 4 fixed sessions (New York, London, Tokyo, Sydney)
Extended: 11 fully independent sessions labeled A through K, each with its own
complete settings group. The default setup covers the major forex windows:
Asia, London, New York, Sydney, Tokyo I, Hong Kong, Singapore I, Tokyo II,
Singapore II, EU pre-London, and US pre-NY.
PER-SESSION STYLING
Original: One shared background color and transparency, border always dotted,
no width control.
Extended: Per-session background color and transparency, fully independent of
the border color. Per-session border style (Dotted / Dashed / Solid) and border
width (1 to 4 pixels). Every session box can have a completely unique appearance.
SESSION LABELS
Original: One fixed label per session, always tiny, always at the session high.
Extended: Per-session label color and size (Tiny / Small / Normal / Large / Huge).
A numeric "Name Offset" input shifts the label upward by a chosen number of
blank lines, keeping label height constant regardless of zoom level. An optional
second label shows the actual session open and close times in HH:mm format with
its own independent offset, color, and size.
OVERLAYS PER SESSION
Each of the 11 sessions independently supports seven overlay types:
Range Box — High/Low box drawn for each session occurrence
Trendline — Linear regression line (best-fit straight line through closes)
Std Band — Dashed lines at +1σ and -1σ around the regression line.
Works independently — Trendline does not need to be active.
Bars outside the bands indicate unusual price movement.
Mean — Cumulative average of all closing prices within the session,
drawn as a connected line. Equal weight per bar, no volume
influence. See "Understanding Mean vs VWAP" below.
VWAP — Volume-Weighted Average Price. Institutional benchmark.
See "Understanding Mean vs VWAP" below.
Max/Min — Short horizontal tick marks at session High and Low
Midpoint — Horizontal line at the 50% level of the session High/Low range
EXTENDED HIGH/LOW LINES
Each session can project its previous High and Low as horizontal lines extending
to the right of the chart — classic support and resistance reference levels.
Fully configurable per session:
- Line color (independent from the session border color)
- Line style: Solid, Dashed, or Dotted
- Line width: 1 to 4 pixels
- Optional end-of-line label showing session name and date (dd.MM.yy)
- Label text color, background color, and background transparency
A global "Max Extended H/L Lines" setting (Range Settings group, default 10)
caps the total number of line pairs visible across all sessions combined.
DAYS BACK FILTER
Each session has a "Last N sessions" input. When set to 0 (default), all
available history is shown. When set to 1–50, only the N most recent occurrences
are drawn. The pruning applies consistently to boxes, labels, Max/Min lines,
Midpoint lines, Mean lines, VWAP plots, and Extended H/L lines.
TIMEZONE
A "Use Exchange Timezone" checkbox follows the exchange timezone automatically
(syminfo.timezone). When unchecked, a UTC Offset field (−12 to +14) enables
manual adjustment. This is particularly useful for handling Daylight Saving Time
transitions without needing to touch any session time strings.
=============================================================================
THE DASHBOARD — COMPLETE REFERENCE
=============================================================================
ENABLING AND POSITIONING
Find the Dashboard group in Settings. Toggle "Show Dashboard" to show or hide
the panel. Choose from four positions (Top Left, Top Right, Bottom Left,
Bottom Right) and four sizes (Tiny, Small, Normal, Large).
DASHBOARD MODES
The dashboard has three display modes, selected via the "Volume & Sigma columns"
and "Show Buy/Sell Volume" toggles:
Standard mode (both off):
Session | Trend
Advanced mode (Volume & Sigma on):
Session | Volume | Sigma | Trend
Advanced + Buy/Sell mode (both on):
Session | Volume | Sigma | ▲Buy ▼Sell | Trend
COLUMN DESCRIPTIONS
Session
The session name (e.g. ASIA, LONDON, NEW YORK). The cell background
changes color to reflect the session state:
Active background color — session currently open
Inactive background color — session closed today (snapshot visible)
Dimmed border color — session not yet started today or yesterday data
Volume
Total traded volume for the session's measurement window. Updates live
while the session is open. Freezes as a snapshot when it closes.
Calculated at 1-minute resolution via request.security — accurate on
any chart timeframe.
Sigma (σ)
Standard deviation of closing prices within the session. Measures how
much price spread around its average. A high Sigma indicates a volatile,
wide-ranging session. A low Sigma indicates tight, consolidating price
action. Updates live, freezes on session close.
▲Buy ▼Sell (optional, "Show Buy/Sell Volume")
Volume split by bar direction. Up-bars (Close ≥ Open) count as buy volume,
down-bars count as sell. Note: this is an approximation — Pine Script
cannot access PulseWire's internal tick-level buy/sell data.
Open / High / Low (optional, "Show O/H/L + Change")
The session's opening price, highest traded price, and lowest traded price.
These are permanent historical facts and remain visible (dimmed) even after
the session closes and after the trading day resets.
Chg (optional, "Show O/H/L + Change")
The change from session Open to session Close: Close − Open.
Display format:
+1.234 green — session closed above its open (bullish)
-1.234 red — session closed below its open (bearish)
±0.000 grey — session closed exactly at its open (neutral)
The three colors (up, down, flat) are independently configurable.
Trend (r²)
The R-squared value of the linear regression for the session. Ranges from
−1.00 to +1.00. Positive values indicate an upward trend, negative values
a downward trend. Values near 0 indicate a sideways/choppy session.
The cell background is colored green (bullish) or red (bearish) based on
the sign, making trend direction scannable at a glance.
Timer (optional, "Show Timer column")
Countdown to the next relevant session event:
▼ HH:MM — session is currently open, counting down to close
▲ HH:MM — session is closed, counting up to next open
▲ Xd HH:MM — session opens in more than 24 hours (e.g. weekend gap)
The timer is updated in real time using timenow. It is visible at all
times, including when the market is closed. Weekend gaps are handled
correctly: sessions that open Monday morning show 2d+ on Friday evening,
while sessions still opening later on Friday show the same-day countdown.
The timer text is colored with the active session color when open, or
dimmed when the session is waiting to open.
DAY TOTAL ROW
When one or more sessions have "In Day Total" checked in their settings,
a Day Total row appears at the bottom of the dashboard. It shows:
- The sum of all Volume values from today's In-Day-Total sessions
- The average Sigma across those sessions
Critically , Day Total counts only sessions that have actually run since the
last anchor-session reset — not yesterday's data. If ASIA (the default anchor)
opened at 18:00 EST and New York has not yet run today, New York's data from
the previous day will appear in its row (dimmed) but will not be included in
Day Total.
YESTERDAY ROW
When all sessions have closed, a Yesterday row appears showing the prior
trading day's totals for comparison. This row disappears once the new
trading day begins.
STALE DATA — THREE BRIGHTNESS LEVELS
The dashboard uses text brightness to communicate data age at a glance:
Full brightness — session is currently active (live data)
Dimmed — session ran and closed today (today's snapshot)
More dimmed — session has data from the previous day (no run today yet)
Near-invisible — session has no data at all (never run or newly enabled)
The dim percentage is configurable ("Stale data text dim", 0–90%).
RESET LOGIC — HOW THE TRADING DAY IS DEFINED
The dashboard needs to know when a new trading day begins. This is controlled
by "Reset Stats when Session starts" in the Dashboard group (default: A = ASIA).
When the selected anchor session opens:
- All "ran today" tracking flags are cleared
- Day Total recalculates from zero
- Sessions not yet run show their previous data dimmed until they run again
Snapshot data inside each session's measurement function persists until the
session runs again and overwrites it. This means US pre-NY data from 08:30
yesterday is still visible in the dashboard at 04:00 today, correctly dimmed,
and correctly excluded from Day Total.
VOLUME MEASUREMENT WINDOW
Each session has a separate "Vol window" session input. By default this matches
the display session, but you can narrow it. For example, you could display the
full 18-hour ASIA box but only measure volume for the first two hours of
activity. The Vol window does not affect the displayed box or overlays —
it only affects Volume, Sigma, Buy/Sell, and Trend statistics.
DASHBOARD COLORS (configurable)
Active cell background — highlight color for currently open sessions
Inactive cell background — color for closed sessions with today's data
Text color — all non-highlighted cell text
Border color — table grid lines
Background — dashboard panel fill and transparency
Change Up / Down / Flat — three independent colors for the Chg column
Stale data dim % — how strongly to dim closed and yesterday data
=============================================================================
UNDERSTANDING MEAN vs VWAP
=============================================================================
Mean is the simple average of all closing prices within the session:
(Close₁ + Close₂ + ... + Closeₙ) / N
Every bar contributes equally regardless of how much was traded. Mean shows
the geometric center of price over time — a neutral, unweighted reference.
VWAP (Volume Weighted Average Price):
Σ(Close × Volume) / Σ(Volume)
Bars with high volume pull the VWAP toward them. Institutions use VWAP as
the primary benchmark for execution quality. A price above VWAP signals that
the session is running bullish on a volume-weighted basis; below is bearish.
The practical difference: when a sharp directional move occurs on thin volume,
Mean shifts significantly because it counts each bar equally. VWAP barely
reacts because little volume participated in the move. This divergence — Mean
far from VWAP — can itself be a signal that the move lacks conviction.
=============================================================================
DEFAULT SESSION CONFIGURATION (UTC-5 / New York EST)
=============================================================================
A ASIA 18:00 – 02:00 In Day Total, Anchor Reset (enabled)
B LONDON 02:00 – 08:00 In Day Total (enabled)
C NEW YORK 08:00 – 17:00 In Day Total (enabled)
D Sydney 18:00 – 00:00 (enabled)
E Tokyo I 19:00 – 21:30 (enabled)
F Hong Kong 20:30 – 03:00 (enabled)
G Singapore I 20:00 – 23:00 (enabled)
H Tokyo II 22:30 – 01:00 (enabled)
I Singapore II 06:00 – 10:00 (enabled)
J EU pre-Lon 02:00 – 03:00 (enabled)
K US pre-NY 08:00 – 09:30 (enabled)
All times are in UTC-5 (New York EST). Adjust the UTC Offset setting or enable
"Use Exchange Timezone" to match your local time.
Sessions H through K are disabled by default. Enable them in their respective
settings group. Note that newly enabled sessions will show no data until
they have run at least once after being activated.
=============================================================================
SETUP GUIDE — GETTING STARTED
=============================================================================
Step 1 — Timezone
Open Settings → Timezone. If your instrument uses the exchange timezone
natively, enable "Use Exchange Timezone". Otherwise set UTC Offset to your
local offset (e.g. -5 for New York EST, +1 for Berlin CET). If your region
uses DST and PulseWire does not adjust automatically, update this offset
manually at DST transitions.
Step 2 — Sessions
Sessions A (ASIA), B (LONDON), and C (NEW YORK) are enabled by default with
commonly used forex hours. Adjust the session time strings to match your
instrument's actual active hours. Enable additional sessions (D through K) as
needed from their settings groups.
Step 3 — Dashboard
Open Settings → Dashboard. Enable "Show Dashboard". Choose your preferred
position and size. Enable "Volume & Sigma columns" for full statistics.
Enable "Show Timer column" to see live countdowns. Configure which sessions
should contribute to Day Total via the "In Day Total" checkbox in each
session's group.
Step 4 — Overlays
For each session you want to analyze deeply, enable the overlays relevant
to your strategy. Recommended starting set: Range Box (always on), VWAP for
institutional context, Mean for a price-weighted counterpart, Std Band for
volatility context.
Step 5 — Extended H/L Lines
Enable "Ext H/L" in any session group to project that session's previous
High and Low forward as S/R references. Set "Max Extended H/L Lines" in
Range Settings to a comfortable number (default: 10 pairs total).
Step 6 — Days Back
If your chart history is long and performance is slow, set "Last N sessions"
in each session group to limit how many occurrences are drawn (e.g. 5 to 20).
=============================================================================
ALERTS
=============================================================================
22 alert conditions are available — one "Session Start" and one "Session End"
for each of the 11 sessions. Alerts fire only when the corresponding session's
"Show" toggle is enabled. Set alerts via the Add Alert dialog in PulseWire,
selecting this indicator from the condition dropdown.
=============================================================================
LIMITATIONS AND KNOWN BEHAVIOR
=============================================================================
Buy/Sell volume approximation
Up-bar (Close ≥ Open) = Buy volume. Down-bar = Sell volume. True tick-level
data is not accessible in Pine Script. Treat this column as directional
sentiment, not precise order flow.
Initial load time
11 request.security calls at 1-minute resolution cause a delay when first
applying the indicator to a chart with long history. This is a Pine Script
constraint — the 1m resolution is required for accuracy on higher timeframes.
request.security usage
This script uses 12 of Pine Script's 40 allowed request.security calls
(11 session functions + 1 anchor-reset detector), leaving 28 available
if you build on top of this script.
Short sessions on high timeframes
Sessions shorter than the chart's bar duration (e.g. a 30-minute session on
a 4H chart) may not be detected. Use a lower timeframe for short sessions.
Timer and market holidays
The countdown timer uses calendar arithmetic, not an exchange trading calendar.
On public holidays the timer will count down to the session time as if it
were a normal trading day. Weekend detection (Friday evening, Saturday) is
handled correctly for standard Mon–Fri market hours.
Dashboard layout
Table positions are limited to the four corners as defined by Pine Script's
table API. Sub-corner pixel positioning is not supported.
=============================================================================
CREDITS
=============================================================================
Original indicator: Sessions by LuxAlgo
This derivative is an independent rewrite published under CC BY-NC-SA 4.0.
creativecommons.org
Commercial use is prohibited. Derivatives must carry the same license and
credit the original work. Indicator

Indicator

Forex Sessions UTC + customise (DST Support)This Pine Script is designed to highlight forex trading sessions on a PulseWire chart, showing which session (Asia, London, New York, Frankfurt, Sydney) is active based on your selected timezone offset and daylight saving time (DST) settings. It also includes an option to highlight session overlaps, like the London-New York and Asia-London overlaps.
Let's break down the script in detail:
### 1. **Inputs**:
* **`timezoneOffset`**:
* This input allows you to select your local timezone offset in hours relative to UTC (e.g., -2 for UTC-2 or +3 for UTC+3). It helps adjust the session times based on your local time.
* **`isDST`**:
* A boolean input that determines if Daylight Saving Time (DST) is active or not. If DST is enabled, the session times will be adjusted by one hour.
### 2. **Function: `timeInDailyRange`**:
This function checks if the current time (bar) is within a given session's start and end time.
* **`startH, startM`**: Start time of the session (hours and minutes).
* **`endH, endM`**: End time of the session (hours and minutes).
* **`tzOffset`**: The timezone offset in hours (which adjusts the start and end times for different regions).
The function handles sessions that cross over midnight. For example, the Asia session starts at 23:00 UTC and ends at 07:00 UTC, so it checks if the current time falls within that period.
### 3. **Session Times (in UTC)**:
Each trading session has specific times defined in UTC:
* **Asia Session**: 23:00 UTC to 07:00 UTC
* **London Session**: 08:00 UTC to 16:00 UTC
* **New York Session**: 13:00 UTC to 21:00 UTC
* **Frankfurt Session**: 07:00 UTC to 15:00 UTC
* **Sydney Session**: 21:00 UTC to 05:00 UTC
These times are defined in 24-hour format, and they represent the opening and closing hours for each market.
The script uses specific colors to represent different sessions:
* **Asia**: Yellow (`asiaColor`)
* **London**: Red (`londonColor`)
* **New York**: Navy Blue (`nyColor`)
* **Frankfurt**: Blue (`frankfurtColor`)
* **Sydney**: Green (`sydneyColor`)
* **Overlaps**:
* London-NY overlap: Purple (`overlapLN`)
* Asia-London overlap: Orange (`overlapAL`)
These colors are used to highlight the background during active sessions.
### 5. **Session Highlighting**:
The script uses the `bgcolor` function to change the background color of the chart when a session is active.
* For each session, it checks whether the current time (bar) falls within the session's time range (adjusted by the `timezoneOffset`).
* If a session is active, it will highlight the chart background in the corresponding session color.
### 6. **Overlaps**:
* **London-NY Overlap**: The script checks if both the London session and the New York session are active at the same time (i.e., if their time ranges overlap). If so, it highlights the overlap area in purple.
* **Asia-London Overlap**: Similarly, the script checks if both the Asia and London sessions are active at the same time, and if so, it highlights the overlap area in orange.
### 7. **Daylight Saving Time (DST) Adjustment**:
* If the **`isDST`** flag is enabled (i.e., DST is active), the script adjusts the session start and end times by adding one hour to each session. This is because during DST, trading hours shift by one hour (usually in regions that observe DST).
* This adjustment is applied to all session times, so the script accounts for the time change and ensures that the session times are correctly displayed.
### 8. **Final Background Color Logic**:
* The `bgcolor` function checks whether each session is active by calling `timeInDailyRange` for each session and then colors the chart accordingly.
* It also checks for overlapping sessions and colors the chart with the appropriate overlap color.
### Example Scenario:
1. **Timezone Offset**: If you select `timezoneOffset = 3` (UTC+3), the session times will be adjusted by adding 3 hours to the start and end times.
2. **Daylight Saving Time (DST)**: If `isDST = true` is selected, the session start times will shift by 1 hour forward (e.g., 23:00 UTC becomes 00:00 UTC for Asia).
3. **Visual Outcome**: The chart will display different colors in the background depending on which trading session is active (e.g., red for London, navy for New York), and purple or orange for overlap sessions.
### Key Features:
* **Customizable Timezone Offset**: Adjust session times to reflect your local timezone.
* **Daylight Saving Time Support**: Automatically adjusts session times during DST.
* **Highlighting Sessions**: Color the chart background to visualize when different trading sessions are active.
* **Overlap Highlighting**: Highlights the periods when certain sessions overlap (London-NY, Asia-London).
In summary, this script is useful for traders who want to visually see when different forex trading sessions are active on the chart, with flexibility for timezone and DST adjustments.
Indicator

Indicator

Indicator

ORBs, EMAs, AVWAPThis Pine Script (version 6) is a multi-session trading indicator that combines Opening Range Breakouts (ORBs), Exponential Moving Averages (EMAs), and an Anchored VWAP (AVWAP) system — all in one overlay script for PulseWire.
Here’s a clear breakdown of its structure and functionality:
🕒 1. Session Logic and ORB Calculation
Purpose: Identify and plot the high and low of the first 30 minutes (default) for the Tokyo, London, and New York trading sessions.
Session Anchors (NY time):
Tokyo → 20:00
London → 03:00
New York → 09:30
(All configurable in inputs.)
ORB Duration: Default is 30 minutes (orbDurationMin), also user-configurable.
Resets:
London and NY ORBs reset at the start of each new New York trading day (17:00 NY time).
Tokyo ORB resets independently using a stored timestamp.
Process:
For each session:
While the time is within the ORB window, the script captures the session’s high and low.
Once the window closes, those levels remain plotted until reset.
Plot Colors:
Tokyo → Yellow (#fecc02)
London → Gray (#8c9a9c)
New York → Magenta (#ff00c8)
These form visible horizontal lines marking the prior session ranges — useful for breakout or retest trading setups.
📈 2. EMA System
Purpose: Provide trend and dynamic support/resistance guidance.
It calculates and plots four EMAs:
EMA Period Color Purpose
EMA 9 Short-term Green Fast signal
EMA 20 Short-term Red Confirms direction
EMA 113 Medium Aqua Trend filter
EMA 200 Long-term Orange Macro trend baseline
Each EMA is plotted directly on the price chart for visual confluence with ORB and VWAP levels.
⚖️ 3. Anchored VWAP (AVWAP)
Purpose: Display a volume-weighted average price anchored to specific timeframes or events, optionally with dynamic deviation or percentage bands.
Features:
Anchor Options:
Time-based: Session, Week, Month, Quarter, Year, Decade, Century
Event-based: Earnings, Dividends, Splits
VWAP resets when the chosen anchor condition is met (e.g., new month, new earnings event, etc.).
Bands:
Up to three levels of symmetric upper/lower bands.
Choose between Standard Deviation or Percentage-based widths.
Display Toggles:
Each band’s visibility is optional.
VWAP can be hidden on 1D+ timeframes (hideonDWM option).
Color Scheme:
VWAP: Fuchsia (magenta-pink) line
Bands: Green / Olive / Teal with light-filled zones
⚙️ 4. Technical Highlights
Uses ta.vwap() with built-in band calculations.
Handles instruments with or without volume (errors if missing volume).
Uses time-zone aware timestamps (timestamp(NY_TZ, …)).
Uses timeframe.change() to detect new anchors for the VWAP.
Employs persistent variables (var) to maintain session state across bars.
💡 In Practice
This indicator is designed for multi-session intraday traders who:
Trade Tokyo, London, or NY open breakouts or retests.
Use EMA stacking and crossovers for trend confirmation.
Use Anchored VWAP as a fair-value or mean-reversion reference.
Need clear visual structure across different market sessions.
It provides strong session separation, trend context, and volume-weighted price reference — making it ideal for discretionary or semi-systematic trading strategies focused on liquidity zones and session momentum. Indicator

Cumulative Returns by Session [BackQuant]Cumulative Returns by Session
What this is
This tool breaks the trading day into three user-defined sessions and tracks how much each session contributes to return, volatility, and volume. It then aggregates results over a rolling window so you can see which session has been pulling its weight, how streaky each session has been, and how sessions relate to one another through a compact correlation heatmap.
We’ve also given the functionality for the user to use a simplified table, just by switching off all settings they are not interested in.
How it works
1) Session segmentation
You define APAC, EU, and US sessions with explicit hours and time zones. The script detects when each session starts and ends on every intraday bar and records its open, intraday high and low, close, and summed volume.
2) Per-session math
At each session end the script computes:
Return — either Percent: (Close−Open)÷Open×100(Close − Open) ÷ Open × 100(Close−Open)÷Open×100 or Points: (Close−Open)(Close − Open)(Close−Open), based on your selection.
Volatility — either Range: (High−Low)÷Open×100(High − Low) ÷ Open × 100(High−Low)÷Open×100 or ATR scaled by price: ATR÷Open×100ATR ÷ Open × 100ATR÷Open×100.
Volume — total volume transacted during that session.
3) Storage and lookback
Each day’s three session stats are stored as a row. You choose how many recent sessions to keep in memory. The script then:
Builds cumulative returns for APAC, EU, US across the lookback.
Computes averages, win rates, and a Sharpe-like ratio avgreturn÷avgvolatilityavg return ÷ avg volatilityavgreturn÷avgvolatility per session.
Tracks streaks of positive or negative sessions to show momentum.
Tracks drawdowns on cumulative returns to show worst runs from peak.
Computes rolling means over a short window for short-term drift.
4) Correlation heatmap
Using the stored arrays of session returns, the script calculates Pearson correlations between APAC–EU, APAC–US, and EU–US, and colors the matrix by strength and sign so you can spot coupling or decoupling at a glance.
What it plots
Three lines: cumulative return for APAC, EU, US over the chosen lookback.
Zero reference line for orientation.
A statistics table with cumulative %, average %, positive session rate, and optional columns for volatility, average volume, max drawdown, current streak, return-to-vol ratio, and rolling average.
A small correlation heatmap table showing APAC, EU, US cross-session correlations.
How to use it
Pick the asset — leave Custom Instrument empty to use the chart symbol, or point to another symbol for cross-asset studies.
Set your sessions and time zones — defaults approximate APAC, EU, and US hours, but you can align them to exchange times or your workflow.
Choose calculation modes — Percent vs Points for return, Range vs ATR for volatility. Points are convenient for futures and fixed-tick assets, Percent is comparable across symbols.
Decide the lookback — more sessions smooths lines and stats; fewer sessions makes the tool more reactive.
Toggle analytics — add volatility, volume, drawdown, streaks, Sharpe-like ratio, rolling averages, and the correlation table as needed.
Why session attribution helps
Different sessions are driven by different flows. Asia often sets the overnight tone, Europe adds liquidity and direction changes, and the US session can dominate range expansion. Separating contributions by session helps you:
Identify which session has been the main driver of net trend.
Measure whether volatility or volume is concentrated in a specific window.
See if one session’s gains are consistently given back in another.
Adapt tactics: fade during a mean-reverting session, press during a trending session.
Reading the tables
Cumulative % — sum of session returns over the lookback. The sign and slope tell you who is carrying the move.
Avg Return % and Positive Sessions % — direction and hit rate. A low average but high hit rate implies many small moves; the reverse implies occasional big swings.
Avg Volatility % — typical intrabars range for that session. Compare with Avg Return to judge efficiency.
Return/Vol Ratio — return per unit of volatility. Higher is better for stability.
Max Drawdown % — worst cumulative give-back within the lookback. A quick way to spot riskiness by session.
Current Streak — consecutive up or down sessions. Useful for mean-reversion or regime awareness.
Rolling Avg % — short-window drift indicator to catch recent turnarounds.
Correlation matrix — green clusters indicate sessions tending to move together; red indicates offsetting behavior.
Settings overview
Basic
Number of Sessions — how many recent days to include.
Custom Instrument — analyze another ticker while staying on your current chart.
Session Configuration and Times
Enable or hide APAC, EU, US rows.
Set hours per session and the specific time zone for each.
Calculation Methods
Return Calculation — Percent or Points.
Volatility Calculation — Range or ATR; ATR Length when applicable.
Advanced Analytics
Correlation, Drawdown, Momentum, Sharpe-like ratio, Rolling Statistics, Rolling Period.
Display Options and Colors
Show Statistics Table and its position.
Toggle columns for Volatility and Volume.
Pick individual colors for each session line and row accents.
Common applications
Session bias mapping — find which window tends to trend in your market and plan exposure accordingly.
Strategy scheduling — allocate attention or risk to the session with the best return-to-vol ratio.
News and macro awareness — see if correlation rises around central bank cycles or major data releases.
Cross-asset monitoring — set the Custom Instrument to a driver (index future, DXY, yields) to see if your symbol reacts in a particular session.
Notes
This indicator works on intraday charts, since sessions are defined within a day. If you change session clocks or time zones, give the script a few bars to accumulate fresh rows. Percent vs Points and Range vs ATR choices affect comparability across assets, so be consistent when comparing symbols.
Session context is one of the simplest ways to explain a messy tape. By separating the day into three windows and scoring each one on return, volatility, and consistency, this tool shows not just where price ended up but when and how it got there. Use the cumulative lines to spot the steady driver, read the table to judge quality and risk, and glance at the heatmap to learn whether the sessions are amplifying or canceling one another. Adjust the hours to your market and let the data tell you which session deserves your focus.
Indicator

Indicator

STOCK EXCHANGE + SILVER BULLET FRAMESThis script is an updated version of the " NY/LDN/TOK Stock Exchange Opening Hours " script.
Objective
Displays global stock exchange sessions (New York, London, Tokyo) with session frames, highs/lows, and opening lines. Includes ICT Silver Bullet windows (NY, London, Tokyo) with configurable shading. Past sessions are frozen at close, ongoing sessions update dynamically until closure, and upcoming sessions are pre-drawn. Fully customizable with options for weekends, labels, padding, opacity, and individual session toggles.
It is designed to help traders quickly interpret market context, liquidity zones, and session-based price behavior.
Main Features
Past sessions (historical data)
• Session Frames:
• Each box is frozen at the session’s close.
• The left edge aligns with the opening time, while the right edge is fixed at the closing time.
• The top and bottom reflect the highest and lowest prices during the session.
• Session Labels:
• Names (NY, LDN, TOK) displayed above the frame, aligned left, in the same color as the frame.
• Opening Lines:
• Vertical dotted lines mark the start of each session.
Ongoing and upcoming sessions (live market)
• Dynamic Session Frames:
• The right edge is locked at the future close time.
• The top and bottom update in real time as new highs and lows form.
• Labels and Lines:
• The session label is visible above the active frame.
• Opening lines are drawn as soon as the session begins.
Silver Bullet Time Windows (ICT concept)
• Highlights key liquidity windows within sessions:
• New York: 10:00–11:00 and 14:00–15:00
• London: 08:00–09:00
• Tokyo: 09:00–10:00
• Silver Bullet zones are shaded with configurable opacity (default 5%).
Customization and Options
• Enable or disable individual sessions (NY, London, Tokyo).
• Toggle weekend display (frames and Silver Bullets).
• Adjust label size, padding, and text visibility.
• Control frame opacity (default 0%).
• Optimized memory management with automatic pruning of old graphical objects.
Indicator

Indicator
