Session Range BoxSession Range Box
A universal tool that draws the range of a chosen session as a box. The trader
sets the conditions: the session, the timezone, and the window. The borders are
built from the session highs and lows - an area of potential liquidity, since
resting orders tend to build up above the highs and below the lows.
This is a tool, not a signal system. It gives a clean, non-repainting map of the
range. How to use it is up to the trader's own strategy.
How It Works
1. Accumulation window. The trader sets the session time in their own timezone.
The highest high and the lowest low inside this window become the box borders.
2. Freeze. Once the window closes, the borders are locked and never repaint.
What you see on history is what actually happened at that moment.
3. Extend. The frozen box is stretched to the right until the end of the day, so
you can watch price test the borders after the session. A new day starts a new box.
What It Pairs With
Smart Money logic and the accumulation - manipulation - distribution model. The box
shows where potential liquidity sits; the trader applies their own scenario on top.
Applications
- Trading the Asian range
- Trading the European and US range
- First-hour range
- Mean reversion (from the box midline)
Settings
- Timezone: city entries (which adjust automatically for daylight saving) or fixed
UTC offsets (to match a broker's server time).
- Accumulation window: any length, from one hour to a full session.
- Extend box to end of day: on/off.
- Style: color, fill, borders, midline, label.
To show several sessions at once (Asia + Europe + US), add the indicator to the
chart more than once with different settings.
Notes
- Recommended timeframe: M1 to H1, depending on the strategy.
- Time is based on the selected timezone; city entries adjust for daylight saving,
fixed offsets do not. Indicator

STRX - Session Range TrapsSTRX - Session Range Traps is a session-based market structure tool designed to map the main intraday sessions (Asia, Frankfurt, London, New York), measure their ranges, and highlight potential liquidity traps around those ranges.
The goal is not to provide automatic entry signals, but to help traders read intraday structure, liquidity pools, and potential manipulation zones more clearly.
How it works
For each configured session, the script:
draws a box from session high to session low, displaying the live range in points;
optionally plots a 50% midline to show the session’s equilibrium;
extends the session range into a defined “hunting” window, where price interaction with the box is monitored.
During the extension window:
When price trades above the session high and then closes back below it, the script flags a potential bearish liquidity trap.
When price trades below the session low and then closes back above it, the script flags a potential bullish liquidity trap.
A compact on-chart dashboard summarizes for each session: current status (ACTIVE / HUNT / DONE), range size and whether price is trading above, below or inside the session range.
Inputs and customization
Session times for Asia, Frankfurt, London and New York are fully configurable so you can adapt them to your broker feed, timezone or instrument (FX, indices, crypto, etc.).
Midlines, trap detection and the dashboard can be individually toggled on/off to match your workflow.
Colors and label sizes are customizable to keep the indicator readable on both light and dark chart themes.
How to use it
Treat the “TRAP” labels as context around liquidity and failed breakouts, not as standalone buy/sell signals.
Combine this tool with your own price action, HTF levels, order-flow or risk management rules.
Always validate the session times for your market and adjust them if necessary.
Limitations & disclaimer
The script does not account for specific exchange holidays or instrument-specific trading halts.
All logic is derived from price behaviour around session highs and lows only.
This script is for informational and educational purposes only and does not constitute financial advice or a guarantee of performance.
You are fully responsible for any trading decisions you make when using this tool.
Indicator

Session Range Expansion Planner [AGPro Series]Session Range Expansion Planner
🧠 Core Idea
Is the session expanding from balance into a valid range extension, or is the break still too weak to trust as context?
📌 Overview / What it does
Session Range Expansion Planner is a 1H-focused intraday execution-readiness tool built around one clear workflow: define the early-session balance, track expansion beyond that range, and score whether the move has enough acceptance, volume support, volatility fit, and target room to deserve attention.
The script produces a session range box, accepted target-room bands, acceptance/rejection context, alerts, and a premium AGPro panel with a 0-100 planner score. The default visual preset is optimized for 1H and lower charts. Higher intraday charts such as 4H are intentionally kept clean by default.
It does not predict the next candle, automate entries, or issue buy/sell commands. It organizes session behavior into a structured decision layer so the user can evaluate the setup within their own plan.
🎯 Purpose & Design Philosophy
This script was built to fill the gap between simple session boxes and generic breakout indicators.
Most tools show where the session range is. Fewer tools explain whether the break from that range is actually being accepted, whether participation supports it, and whether there is usable room beyond the range.
Session Range Expansion Planner supports a planning mindset: define balance first, wait for expansion, check acceptance, evaluate room, then decide whether the context is worth further review.
⚡ Why This Script Is Different
Most session tools focus on marking opens, coloring sessions, or printing a breakout label as soon as price crosses a high or low.
This script does NOT act as a generic session high/low map, generic support/resistance tool, or broad session reaction scanner.
Instead, it treats the first part of the session as a balance structure and asks whether the later expansion has enough quality to become actionable context. The decision layer is built around acceptance bars, volume support, ATR regime, obstacle distance, and target-room quality.
⚙️ Methodology
1. Context Detection
The script reads the selected intraday session and builds an initial balance range from the first user-defined number of bars.
2. Reference Mapping
The session balance high and low become the only active expansion boundaries. The tool does not use PDH, PDL, weekly open, order blocks, FVGs, or generic swing zones.
3. Reaction Evaluation
When price breaks beyond the balance range, the engine measures acceptance closes, volume support, ATR regime quality, break distance, and nearby obstacle room.
4. Visual Output
The script displays a centered session range label, directional expansion labels, target-room band, acceptance/rejection labels, alerts, and a premium panel with score and next-action state.
🗺️ How to Read the Chart
Session Range Box = the early-session balance area.
Expansion Labels = the side where price first expands beyond the balance high or low.
Target-Room Band = the projected room beyond the broken boundary after expansion has been accepted, scaled by session range or ATR.
Acceptance Labels = confirmation that price has sustained closes beyond the range for the configured number of bars.
Rejection Labels = warning that price has failed back through the broken boundary.
Colors:
• Teal = upside expansion context
• Pink = downside expansion context
• Amber = neutral, warning, or rejection context
• Indigo = AGPro visual accent and target-room support
Panel = the decision cockpit showing planner score, session range, expansion side, acceptance, room score, and next action.
🚦 Signals & States
• Range Set → the initial balance window has completed.
• Expansion Up → price expanded above the session balance high.
• Expansion Down → price expanded below the session balance low.
• Accepted → the expansion held beyond the range for the required acceptance bars.
• Rejection Risk → price failed back through the broken boundary.
• Room Check Reached → price reached the projected target-room area.
🔔 Alerts Logic
Alerts trigger when:
• Upside range expansion is detected
• Downside range expansion is detected
• Expansion becomes accepted
• Rejection risk appears after expansion
Alerts are attention markers. They are not trade instructions and should be interpreted together with broader market context.
🧩 Confluence Logic
The strongest context appears when expansion direction, sustained acceptance, volume support, balanced ATR regime, and clean target room align at the same time.
When those conditions stack together, the planner score rises and the panel moves toward a review-ready state.
📊 When to Use
• 1H intraday charts with clear session behavior
• Opening balance or early-session range workflows
• Breakout quality review
• Volatility expansion planning
• Session continuation evaluation
The script is most useful when a trader wants to know whether a session range break is actually being accepted, not just whether a line was crossed.
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy micro timeframes
• Markets with unreliable volume
• Sessions with irregular trading hours
• News-driven candles where range expansion is disorderly
In weak conditions, reduce sensitivity or require stricter acceptance.
🎛️ Key Inputs
• Session Timezone → defines how the selected session is interpreted.
• Expansion Session → sets the active intraday window. The default full-day session is designed to work cleanly on crypto and other 24-hour symbols.
• Visual Timeframe Preset → controls which intraday timeframes show chart objects. The default is 1H and lower because 4H session expansion charts can become too compressed.
• Balance Window Bars → controls how many early-session bars define the range.
• Acceptance Bars → defines how much sustained closing behavior is required.
• Sensitivity → adjusts how fast the script recognizes expansion.
• Confirmation Mode → controls wick, close, or strict acceptance confirmation.
• Minimum Planner Score → sets the score threshold for review-ready context.
• ATR Length → controls volatility normalization and label spacing.
• Obstacle Lookback → estimates nearby structure that may reduce room quality.
• Target Room Multiplier → controls the projected target-room distance.
• Visual Settings → control range boxes, centered range label limit, rails, accepted target-room band, minimum visual score, optional expansion labels, optional room-check labels, optional range-set labels, label size, and object limits.
• Panel Settings → control panel visibility, location, theme, and font size.
🖥️ Interface & Visual Design
The interface is chart-first. The range box and target-room band carry the main visual story, while labels explain state transitions only when meaningful events occur.
The panel is intentionally compact. It gives a fast read of expansion quality without forcing the user to decode many separate plots.
The first panel row follows the AGPro standard: a single merged blue header row with only the script name.
🧪 Practical Usage Workflow
1. Apply the script to an intraday chart.
2. Confirm the correct session and timezone.
3. Let the initial balance window complete.
4. Watch for expansion beyond the balance high or low.
5. Check whether acceptance bars confirm sustained behavior.
6. Read the planner score and room score.
7. Use the next-action state as context for your own execution plan.
🔍 Interpretation Guidelines
A clean expansion is not just a break beyond the range. It should show acceptance, participation, reasonable volatility, and enough room before nearby obstruction.
Low scores usually mean the break is early, unsupported, too noisy, too extended, or too close to an obstacle.
The best use is comparative: review which sessions and symbols repeatedly produce clean accepted expansions versus weak false breaks.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a buy/sell command system
• Not a generic support/resistance map
• Not an order block, FVG, or liquidity sweep scanner
⚠️ Limitations & Transparency
Session behavior can vary across assets, timeframes, exchanges, and trading hours.
ATR regime and volume support are rule-based approximations, not certainty models.
On very low timeframes, labels may appear more frequently. On higher intraday timeframes, fewer but more meaningful events are expected.
Markets can expand cleanly and still reverse later. The tool measures context quality, not future certainty.
🧠 Market Context Notes
Session range expansion often becomes more meaningful when it is read together with broader trend, liquidity, volatility, and higher-timeframe structure.
The script deliberately stays focused on session balance and expansion quality. Users can combine it with their own broader framework without duplicating other AGPro tools.
🧾 Use Case Examples
When price breaks above the session range, holds above the balance high for the required acceptance bars, and room score remains strong, the panel may shift into review-ready continuation context.
When price breaks the range but quickly closes back inside the balance, the script marks rejection risk and the panel moves away from continuation review.
🧱 System Philosophy
AGPro tools are built to help traders organize context into clear decision layers.
Session Range Expansion Planner follows that philosophy by turning a common intraday event into a structured planning process: balance, expansion, acceptance, room, action.
🔐 Non-Promise Statement
No script can guarantee future price movement.
The score is a structured context model, not a certainty model.
📉 Risk Disclosure
Trading involves risk. Market conditions can change quickly, and historical session behavior does not guarantee future outcomes.
Users are responsible for their own decisions, risk management, and position sizing.
This script is provided for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the script to study how different markets expand from early-session balance. The most valuable insight is not a single label, but the repeated relationship between range quality, acceptance, room, and market context.
Indicator

AG Pro Kill Zone Session Engine [AGPro Series]AG Pro Kill Zone Session Engine
Overview / What it does
AG Pro Kill Zone Session Engine is a session-based overlay designed to map the internal range behavior of selected intraday kill zones and preserve the most relevant reference levels after each zone has ended.
Instead of treating London, New York, Asia, and London Close as simple background highlights, this script organizes each enabled zone as a structured session event. During an active zone, it tracks the developing high, low, and optional midpoint. After the zone closes, it can carry those levels forward as clean horizontal references so traders can study how price interacts with prior session liquidity.
The script is built for users who want more context than a basic session coloring tool. It helps visualize where a session range formed, how wide it was relative to recent history, whether the session expanded or stayed narrow, and whether later price action interacted with that session through sweep-style behavior.
This is not a prediction engine and it does not attempt to forecast the next directional move. Its purpose is to structure session information into a cleaner analytical framework so traders can evaluate intraday context with more consistency.
Unique Edge
What makes this script different from a standard session indicator is that it does not stop at showing when a session is active.
Its core focus is session range formation plus post-session interaction. Each enabled kill zone can build a live range while active, then leave behind reference levels that remain usable after the session ends. This allows the chart to show not only where a session occurred, but also how later price responded to that session.
The script also adds session-width context. A zone can be classified relative to recent comparable zones so traders can quickly see whether the session was narrow, balanced, or expanded. That extra layer helps separate passive session activity from zones that created a more meaningful range.
Another important distinction is the sweep engine. Rather than only drawing static levels, the script can evaluate whether later price action interacts with prior session highs or lows in a sweep-oriented manner. This makes the tool more useful for traders who study liquidity behavior around specific intraday windows.
In short, this script is intended to function as a session behavior map, not as a simple background painter.
Methodology
The script works in four main steps.
1) Session detection
The user can enable or disable the supported kill zones individually and define session windows using a UTC offset and custom time settings. This keeps the script flexible across instruments, broker feeds, and local chart preferences.
2) Range construction
While a kill zone is active, the script updates the developing session high and low. Optional midpoint logic can also be shown. These values form the core session range for that specific zone.
3) Post-session reference mapping
When the zone ends, the completed high and low can remain on the chart as forward reference levels. This allows later price interaction to be evaluated against a completed session range rather than only during the active zone itself.
4) Sweep and width analysis
The script can evaluate reference-level interactions using its sweep logic and can also classify the completed width of a zone relative to prior zones of the same type. This helps the user distinguish between narrow, balanced, and expanded sessions.
Signals & Alerts
This script is primarily an analytical overlay, but it also supports alertable events around session activity and sweep behavior.
Depending on the enabled options, the script can be used to monitor:
- when a new kill zone becomes active,
- when price interacts with a prior session high,
- when price interacts with a prior session low,
- when sweep-oriented behavior is detected relative to a carried-forward reference range.
These events are designed to describe chart conditions, not to deliver standalone trade calls.
The visual outputs can include:
- session background shading,
- current and completed session high/low levels,
- optional midpoint levels,
- compact session summary labels,
- sweep markers,
- an information panel showing active zone status, width context, reference zone, and sweep status.
Key Inputs
The script includes a focused but flexible input set so users can adapt it without overcomplicating the chart.
Core controls include:
- UTC offset and custom session timing,
- individual enable/disable controls for Asia, London, New York, and London Close,
- high/low visibility,
- midpoint visibility,
- projection length for completed session levels,
- label density and summary behavior,
- panel visibility, placement, and text sizing,
- sweep mode and alert controls,
- visible session memory so the chart can stay cleaner on higher timeframes.
These controls allow the tool to be used in a more detailed mode on lower intraday charts or in a more compressed mode on higher timeframes.
Limitations & Transparency
This script is designed as a context tool. It does not define trade entries, stop placement, or risk management for the user.
Session behavior can vary across instruments and feeds, so identical settings may not produce equally meaningful output on every market. Some assets respond more clearly to session-based reference levels than others.
Sweep logic is also a chart-interpretation aid, not a certainty model. A detected sweep does not imply immediate reversal, continuation, or trade validity on its own. It simply highlights a specific type of interaction with a prior session reference.
The script is best suited to intraday analysis. While it can still display useful information on higher timeframes, the underlying logic is rooted in session behavior, so lower intraday charts will usually provide more direct visual relevance.
As with any visual overlay, increasing history depth or label density may add chart clutter. For that reason, the script includes controls to compress memory and reduce label load when needed.
Risk Disclosure
This script is provided for educational and analytical use only.
It is not financial advice, not a signal service, and not a promise of outcome. It does not guarantee reversals, breakouts, continuations, or profitable execution. Any trading decision should be made within the user's own process, risk model, and market understanding.
The intended use of this script is to help organize session structure, liquidity references, and post-session interaction on the chart so that traders can make more informed observations with a clearer visual framework.
Indicator

Session ATR Progression Tracker📊 Session ATR Progression Tracker - SIYL Regression Trading Tool
Track how much of your instrument's 7-day Average True Range (ATR) has been covered during the current trading session. This indicator is specifically designed for regression traders who follow the "Stay In Your Lane" (SIYL) methodology, helping you identify when the probability of mean reversion significantly increases. If you are interested in more on that check out Rod Casselli and tradersdevgroup.com.
🎯 Key Features:
• Real-time ATR Coverage Percentage - See at a glance what percentage of the 7-day ATR has been covered in the current session
• SIYL-Optimized Thresholds - See at a glance when the instrument has achieved 80% and 100% ATR coverage, the proven thresholds where mean reversion probability increases (customizable)
• Flexible Session Modes:
- Daily: Resets at calendar day change
- Session: Uses exchange-defined trading sessions
- Custom Session: Set your exact session start/end times (perfect for futures traders and international markets)
• Visual Alerts - Color-coded display (gray → orange → red) and optional background highlighting
• Repositionable Display - Choose from 9 screen positions to avoid chart clutter
• Session Markers - Green triangles mark the start of each new session
• Detailed Stats - View current range, ATR value, session high/low, and session status
💡 Why Use This Indicator?
This tool is built around a proven concept: regression trading becomes significantly more effective once a session has achieved at least 80% of its 7-day ATR. At this threshold, the probability of price reverting to mean increases substantially, creating higher-probability trade setups for SIYL practitioners.
Benefits for regression traders:
- Identify optimal entry points when mean reversion probability is highest (≥80% ATR coverage)
- Avoid premature regression entries before adequate range has been established
- Recognize when daily moves have "earned their range" and are ripe for reversal
- Time fade-the-move and counter-trend strategies with statistical backing
- Improve win rates by trading only after proven probability thresholds are met
⚙️ Setup Instructions:
1. Add the indicator to your chart
2. Select your preferred "Reset Mode" (recommend "Custom Session" for futures/international markets)
3. If using Custom Session, enter your session times in 24-hour format (e.g., 0930-1600 for US stocks, 1700-1600 for CME futures)
4. Adjust alert thresholds if desired (default: 80% and 100% - proven SIYL thresholds)
5. Position the display where it's most visible on your chart
📈 Works Across All Markets:
Stocks • Futures • Forex • Indices • Crypto • Commodities
Perfect for regression traders, mean reversion specialists, and SIYL practitioners who want to trade with probability on their side by entering only after the session has "earned its range."
---
Tip: For futures contracts with overnight sessions that span calendar days (like MES, MNQ, MYM), use "Custom Session" mode with your exchange's official session times for accurate tracking.
Indicator

Indicator

[FN] Session Range & Date Range For BacktestingThis has been done before in different ways, however, my goal is to publish a single, simplified copy/paste version of the idea so you can quickly and easily incorporate it into your strategy backtesting.
You can designate weekdays, weekdays + weekends for 24/7 markets, and also session range.
So, you trade bitcoin? It works. CME futures? It works. You are a discretionary trader so the only signals that matter are the ones that happen when you're awake? It works. Copy and paste.
The goal is that its that easy. You'll have to let me know if it is. glhf everyone.
If I'm not mistaken, you should be able to copy/paste this directly into your strategy script (Paste it in before your entry declarations). Just leave out the last 2 lines where the bgcolor() is declared... unless you want the background color lit up, that's up to you. It's just for demonstration purposes in this script.
After you've pasted it in, then in your strategy.entry() function you are adding: to the strategy.entry() function.
e.g:
strategy.entry("Long", strategy.long, qty=1, when = ENTRY_SIGNAL and signal_backtest())
Shoutouts to @zenandtheartoftrading and @allanster for providing the basis of this code that I put together here. We stand on the shoulders of giants. Indicator

Indicator

Indicator

Indicator
