Indicador

Best Sessions - New York, London & Asia - Xcelerate TradeXcelerate — Best Sessions: New York, London & Asia | Xcelerate Trade
A professional session-mapping overlay from the Xcelerate Trade team. It highlights the three major forex / index trading windows — Asia, London (Europe) and New York — plus a full daily range toolkit, all anchored to America/New_York (EST/EDT). Built for intraday traders who plan entries around session highs/lows, daily open/close and kill-zone timing.
What you get on the chart
Three session boxes (intraday only)
Each session draws a live box from session open to the current bar, then freezes it as history when the session ends:
Session Default window (EST) Color
Asia
20:00 → 05:00
Yellow
London
03:00 → 12:00
Blue
New York
09:30 → 16:00
Red
Live box — grows with price during the active session (high/low tracked in real time).
Historical boxes — completed sessions saved to chart history (FIFO cap per session).
Outline-only mode — optional per session: border highlight with transparent fill (“Daily Highlights” style).
Session times are fully editable via input.session — adapt them to your broker’s server time or personal kill-zone preferences.
Daily box (00:00 → 24:00 NY)
Current day — live lime box from midnight NY to midnight NY, expanding with the day’s high/low.
Historical days — completed daily ranges saved to history (default keep: 31 days).
Outline-only — optional transparent fill for a cleaner chart.
Daily high / low labels
D Hi and D Lo labels at the exact timestamp of the day’s extreme.
Separate toggles for historical and live labels.
Customizable colors, decimal precision and vertical offset (ticks).
Daily open / close lines
Horizontal Open line (purple by default) and Close/Last line (gray) spanning the full NY trading day.
Optional historical and live price labels on the lines.
Label placement by ticks or percentage offset from the daily range.
Global controls
Show Asia / Europe / New York — master toggles to hide entire sessions without digging into each group.
Per-session history — independent keep limits (default 31 sessions each).
Smart drawing guards — automatic FIFO caps scaled to your timeframe so you never hit TradingView’s object limits (boxes, lines, labels). Works from 1-second charts up to monthly.
Timezone accuracy
All session detection and daily rollover use America/New_York consistently:
Session time() checks use the NY timezone string.
Daily box boundaries use timestamp(TIMEZONE, …) at 00:00 NY.
Daily open pulled via request.security(..., "1D", open) for alignment with the daily candle.
This keeps Asia / London / NY boxes and the daily box synchronized — no drift between session logic and daily logic.
Suggested settings
Forex (EURUSD, GBPUSD, XAUUSD) on 1m–15m: all three sessions ON, daily box + D Hi/Lo labels ON, open/close lines ON.
US indices (SPX, NQ) on 1m–5m: focus on New York session; optionally hide Asia if your broker’s overnight session is quiet.
Cleaner chart: enable Outline only on sessions and/or daily box; turn off historical labels if you only care about today.
Higher timeframes (1H+): session boxes auto-disable on daily+ charts (isIntraday guard) — only the daily toolkit remains active.
Inputs overview
Group What you control
Session schedules
Asia / London / NY time windows
Colors
Fill + border per session and daily
Daily Box
Historical + live, outline mode
Daily Labels
Hi/Lo labels, colors, offsets
Asia / London / NY
Per-session historical + live toggles
GLOBAL
Master show/hide per session
Daily Lines
Open/Close lines + labels
Promo Banner
Flash timing (minutes hidden / seconds visible)
Notes & disclaimers
Session boxes appear on intraday timeframes only (below 1D). On daily/weekly charts the session engine is disabled automatically.
Session boxes track the high/low range inside the window, not volume or order flow — use them as a time + range reference, not as a signal generator.
Default session times follow common EST conventions; verify against your broker if you trade instruments with different session cuts (e.g. futures RTH vs ETH).
Pine Script v6.
Built and maintained by the Xcelerate Trade team. Asia, London and New York session boxes + daily range, Hi/Lo labels and open/close lines — all in one clean, NY-timezone-aware overlay.
Indicador

Tokyo London New York Session HighlighterTokyo London New York Session Highlighter shades the Tokyo, London and New York trading sessions directly on the chart background so users can see time-of-day context at a glance. It is a visual aid for intraday charts.
Each session is defined by its own hours, day mask and IANA timezone, so the correct local times are used throughout the year, including daylight-saving changes in London and New York.
### Features
- Background shading for the Tokyo, London and New York sessions, each with its own color, transparency and on/off switch.
- Overlap handling: choose a dedicated color for periods when more than one session is active, or use a Priority order of New York over London over Tokyo.
- Optional session start/end markers with neutral session codes: TYO, LDN and NY.
- Optional active-session high and low plotted only while that session is open.
- Optional compact top-right table showing each session's Active/Inactive state and the number of sessions currently active.
- Optional informational session start/end alerts.
### Inputs
- Sessions: enable/disable, hours, timezone and day mask for each of the three sessions.
- Day mask: 23456 = Monday to Friday, 1234567 = every day.
- Colors: color and transparency for each session and for overlaps.
- Display: overlap handling, markers, active high/low, and the status table.
- Alerts: a single switch for session start/end alerts.
### How it works
The script checks, for every bar, whether the bar falls inside each configured session using TradingView's time engine and the session's IANA timezone.
A session start is the first bar inside the session after a bar outside it. A session end is the first bar outside the session after a bar inside it.
No higher-timeframe requests are used. The script reads only the current chart's bars and time.
### Default session references
- Tokyo: 09:00-18:00, Asia/Tokyo
- London: 08:00-17:00, Europe/London
- New York: 08:00-17:00, America/New_York
These defaults are practical regional time references for intraday analysis. They are not universal market rules and may not match every broker, exchange, product, holiday schedule, or early close. Users can adjust the session times, timezones and active days in the Inputs tab.
### Originality and usefulness
This script is not only a static three-color background tool. It adds several practical context features:
1. Timezone-aware sessions
Each major session can use its own local IANA timezone. This helps London and New York remain aligned with local time changes such as daylight saving time.
2. Explicit overlap handling
When multiple sessions are active at the same time, the script can either use a dedicated overlap color or a clear priority order. This makes overlapping trading periods easier to identify.
3. Current-session range context
Optional high/low plots show the developing range of the active session. This can help users compare current price movement with that session's own developing range.
4. Compact active-session table
The table shows which sessions are currently active and how many sessions are active at the same time. This gives a quick status view without adding another pane.
5. Clean, non-directional design
The script does not label market direction, classify trend, or suggest a trading action. It only visualizes time-based context.
### Limitations
- Designed for intraday charts. On daily or higher timeframes, the script displays an informational notice and does not shade sessions.
- Session backgrounds only appear where bars exist on the chart. If a symbol has no trading data during a period, the script cannot fill missing bars.
- Holiday schedules, broker-specific trading breaks, exchange-specific sessions, and early closes are not detected automatically.
- Default session times are user-adjustable references, not universal market rules.
- It reflects the session hours and timezones configured by the user; users should verify them against the instrument and data feed.
- It shows time-of-day context only and does not analyze price beyond plotting the optional high/low of the active session.
### What this script does not do
- It does not generate trade signals.
- It does not provide entries, exits, targets, or position sizing.
- It does not predict future price movement.
- It does not claim improved performance, accuracy, or profitability.
- It does not use future data.
- It is not a strategy or backtest system.
- It is not financial advice.
### Suggested use
Use this on intraday charts where session timing is relevant, such as FX, index CFDs, futures, or other markets where regional trading activity may matter. Keep the chart clean so the session backgrounds, overlap periods, and optional range plots remain easy to read.
### Japanese notes / 日本語補足
このインジケーターは、東京・ロンドン・ニューヨークの各セッションをチャート背景色で可視化する、日中足向けの時間帯コンテキストツールです。
目的は、セッションごとの値動きの違いや、ロンドン・ニューヨークなどの重複時間帯を見やすくすることです。売買シグナル、エントリー、エグジット、目標値、ポジションサイズの提案は行いません。
主な機能
- 東京・ロンドン・ニューヨークの背景色表示
- セッション重複時の専用カラー表示、または優先順位表示
- セッション開始・終了マーカーの任意表示
- 現在進行中のセッション高値・安値ラインの任意表示
- 現在アクティブなセッションを表示する小型テーブル
- 各セッションの時間帯・曜日・タイムゾーン・色・透明度の調整
- セッション開始・終了の情報通知アラート
このスクリプトは日中足向けです。日足以上の時間足では、背景色によるセッション表示は行わず、情報メッセージのみを表示します。
初期値は一般的な地域別時間帯の参考設定であり、特定のブローカー、取引所、銘柄、祝日、短縮取引を完全に反映するものではありません。必要に応じて各自の取引対象に合わせて調整してください。
このスクリプトは、相場の時間帯を把握するための可視化ツールです。将来の値動き、成績、勝率、精度を示唆または保証するものではありません。投資助言ではありません。 Indicador

Elaris Session Strength Indicator## Elaris Session Breakout Pro
Elaris Session Breakout Pro is a clean and professional session-based trading indicator designed to help traders identify high-probability breakout opportunities during key market sessions such as London and New York.
The indicator automatically tracks the opening range of the selected session and highlights breakout confirmations when price closes above or below the defined session range. This allows traders to quickly spot momentum expansion, liquidity-driven moves, and potential intraday trend continuation setups without manually drawing levels.
Built with a strong focus on clarity, usability, and real-time decision support, the indicator is optimized for scalpers, day traders, and momentum traders across crypto, forex, and index markets.
### Key Features
• Automatic session opening range detection
• Dynamic breakout signals for bullish and bearish moves
• Non-repainting breakout confirmations
• Clean chart visualization with minimal clutter
• Configurable session timings and breakout logic
• Visual breakout labels and session range plotting
• Suitable for crypto, forex, and traditional markets
• Optimized for lower timeframes and intraday trading
### How It Works
The indicator monitors the first candle or opening range of the selected trading session. When price successfully closes above the session high, a bullish breakout signal is generated. When price closes below the session low, a bearish breakout signal is generated.
This approach helps traders identify moments where liquidity and volatility expand during active market hours, often leading to strong directional movement.
### Best Use Cases
• London session breakout trading
• New York open momentum trades
• Crypto volatility expansion setups
• Intraday trend continuation strategies
• Liquidity and range breakout confirmation
### Notes
Like all trading indicators, this tool should be used as part of a complete trading plan with proper risk management and confirmation techniques. Market conditions can vary, and no indicator guarantees profitability or a 100% win rate.
TradingView session concepts referenced in this script are based on TradingView’s official Pine Script session documentation.
Indicador

SmartFlow Kill ZoneSmartFlow Kill Zone highlights the three major trading sessions (Tokyo, London, New York) and their corresponding ICT Kill Zones directly on your chart. Designed for intraday traders who use session-based and Smart Money Concepts (SMC) strategies, this indicator gives you instant visual clarity on when high-probability trading windows are active.
█ WHAT IT DOES
This indicator identifies and displays the three global forex sessions and three ICT Kill Zones using distinct background colors. It also tracks the High and Low of each session in real time and draws horizontal reference lines that update as the session progresses.
A built-in dashboard provides a quick overview of which sessions and Kill Zones are currently active, along with each session's range in pips.
█ HOW IT WORKS
Session and Kill Zone detection is based on time-of-day logic using the user-selected timezone (default: America/New_York):
Sessions:
- Tokyo: 19:00 – 04:00 ET
- London: 03:00 – 12:00 ET
- New York: 08:00 – 17:00 ET
Kill Zones (ICT):
- London Kill Zone: 02:00 – 05:00 ET
- New York Kill Zone: 07:00 – 10:00 ET
- Asian Kill Zone: 20:00 – 00:00 ET (off by default)
Session High/Low lines are drawn from the session's opening bar and updated on every new bar during the session. When a session closes, lines optionally extend to the right until the next session of the same type begins. Previous sessions' High/Low lines are preserved across multiple days (configurable via "Days to Display").
The dashboard table uses the last bar's data to show open/closed status, the session's current range, and whether any Kill Zone is active.
█ HOW TO USE
- Apply the indicator to any intraday chart (1m to 1h recommended).
- Use the background shading to quickly identify which session you are trading in.
- The brighter Kill Zone overlay tells you when the highest-probability reversal windows are active — this is where ICT traders look for optimal trade entries.
- Session High/Low lines act as key reference levels. Price often reacts at these levels as they represent session-based liquidity.
- The dashboard gives you a heads-up display so you never miss a Kill Zone activation.
█ FEATURES
- Three session backgrounds with independent on/off toggles
- Three ICT Kill Zone backgrounds with independent on/off toggles
- Real-time Session High/Low tracking with configurable line style and width
- High/Low labels that update live during the session
- "Extend Lines Right" option for lines to project forward until the next session
- Multi-day history (up to 30 days of past session H/L lines)
- Dashboard with session status, range (pips), and Kill Zone status
- Dashboard position and size are fully customizable
- 9 alert conditions (session open/close and Kill Zone activation)
- Full timezone support (10 major timezones)
- Works on any symbol and any intraday timeframe
█ SETTINGS
Sessions — Toggle visibility for Tokyo, London, and New York sessions.
Kill Zones — Toggle each ICT Kill Zone independently. Asian KZ is off by default.
Colors — Customize background colors for each session and Kill Zone.
Session High/Low — Toggle H/L lines and labels, set line width, style, and right extension.
Dashboard — Toggle, reposition, and resize the info panel.
Timezone — Select the timezone used for session calculations.
History — Set how many days of past session H/L lines to display (1–30).
█ NOTES
- This indicator does not generate buy or sell signals. It provides session structure and timing context to support your own trading strategy and decision-making.
- Kill Zone times are based on the ICT (Inner Circle Trader) framework. Different educators may define slightly different windows.
- For best results, use on timeframes of 1 hour or lower where session boundaries are clearly visible. Indicador

EdgeMatrix SessionsUnlike most session indicators that only mark static open or close levels, EdgeMatrix Sessions draws a live expanding range box for each session that updates bar by bar and remains as a permanent reference level after the session closes
EdgeMatrix Sessions draws real-time high and low range boxes for the four major global trading sessions directly on the chart. The sessions covered are Tokyo, London, New York, and Sydney.
Each session box begins drawing at the open of the session window and expands automatically bar by bar as price establishes new highs or lows within that session period. When the session closes, the box remains on the chart as a permanent reference level, giving traders a visual record of where price was accepted during each major market period.
Session boundary detection is handled using a UTC offset input, which allows the indicator to align session times accurately regardless of the trader's local timezone or broker server time. Each session has its own independent color input and can be toggled on or off individually. Session time ranges are fully adjustable for traders whose broker uses non-standard open and close times.
The indicator works on all asset classes including Futures, Forex, Crypto, and Indices on any timeframe.
How to use: Set the UTC offset to match your broker server time. Enable or disable each session with the toggle inputs. The boxes draw and expand automatically during active session hours and remain as static reference levels after each session closes. Indicador

Indicador

Indicador

Indicador

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.
Indicador

Session Reaction Map [AGPro Series]Session Reaction Map
🔷 OVERVIEW
Session Reaction Map is a premium intraday study that maps how price reacts to the most important daily and weekly reference levels right at the opens of the Asia, London and New York sessions. Each session open is evaluated inside a fixed measurement window, and the resulting reaction is broken down into four dimensions: dominant move, close follow-through, wick rejection and counter-move penalty. The output is a single 0-100 reaction score that is then translated into tier-coded labels, premium reaction zones, an active reference band and a compact status panel, so you can instantly read what happened at each session open without scrolling through candles.
The indicator is designed for discretionary traders, systematic traders, SMC and price action practitioners who want a clean, consistent and quantitative way to read session open behaviour around PDH, PDL, PDM, Daily Open and Weekly Open. Reactions are drawn as directional zones (bull zones above the reference and bear zones below), with up or down pointing labels centered on the reaction, so orientation is always unambiguous.
🧭 UNIQUE EDGE
Most session open tools only mark time windows or highlight levels. Session Reaction Map goes further and quantifies the quality of the reaction itself. Four independent dimensions are measured against a fixed ATR-normalized baseline, and the final score determines not only whether a label is shown but also how prominent it is. Elite scores (80+) get the strongest visuals; strong scores (70-79) get a slightly softer treatment; watch scores (55-69) are coded as caution; anything below 55 is filtered out by default.
This separation between detection (a session open near a reference) and evaluation (the reaction quality score) is the core edge. It lets you focus only on the best intraday reactions and discard noise automatically, while still being able to audit every component by adjusting the ATR length, touch tolerance, evaluation window and score thresholds.
⚙️ METHODOLOGY
Session detection uses the chosen timezone and three session windows (Asia, London, New York), each with its own editable open range. When a session open occurs, the script checks whether the open price is within an ATR based touch tolerance of any enabled reference level (Previous Day High, Previous Day Low, Previous Day Mid, Daily Open or Weekly Open). If so, a reaction window is engaged on that bar and tracked for a configurable number of bars.
During the reaction window, the live zone, reference band and dashed reference line are updated in real time. When the window completes, the final score is computed as:
• Dominant move score (up to 45 points) - scaled against 1.20 x ATR
• Close follow-through score (up to 30 points) - scaled against 0.90 x ATR
• Wick rejection score (up to 15 points) - scaled against 0.50 x ATR
• Counter-move penalty (up to -20 points) - scaled against 1.00 x ATR
The sum is clamped into the 0-100 range and mapped into four tiers: Elite, Strong, Watch and Weak. The dominant direction of the reaction (up or down) is determined by comparing the upside excursion from the reference to the downside excursion from the reference during the window.
🎯 SIGNALS AND VISUALS
• Reaction zones - rectangular areas connecting the reference level with the reaction extreme, tier-coded by score and bias
• Active reference band - a thin accent band around the current reference level during a live reaction window
• Dashed reference line - marks the exact reference price while the reaction is being measured
• Tier-coded labels - up-pointing labels below bullish reactions and down-pointing labels above bearish reactions, centered on the reaction window
• Session dots - small colored markers that optionally display only on valid events, keeping the chart clean
• Active measurement highlight - an ultra-soft background shade on bars inside a live reaction window
Labels use a ring buffer overlap check, so dense multi-session conditions do not pile labels on top of each other. When two labels would visually conflict, the higher-scored reaction wins.
🛠️ KEY INPUTS
Sessions - enable/disable and edit Asia, London and New York session windows, each with its own color and timezone.
Reference Levels - individually toggle PDH, PDL, PDM, Daily Open and Weekly Open.
Reaction Logic - ATR length, touch tolerance in ATR, evaluation bars, label score filter, minimum label score, overlap reduction (bars and vertical ATR gap).
Visuals - show/hide reference levels, session dots, dots only on valid events, reaction zones, minimum score for zones, zone transparency and extension, live reaction zone, active reference band with its ATR size and transparency, active measurement highlight, level width, label size, label offset in ATR and label background transparency.
Panel - show/hide, position (six anchor points), Dark or Light theme, font size, optional guide row.
All numerical inputs carry professional English tooltips explaining their role, so the script can be tuned for any symbol, timeframe and trading style.
📘 HOW TO USE
1. Apply the script on an intraday timeframe. It is designed for intraday use and will stay passive on daily/higher timeframes.
2. Recommended starting timeframe is 4H for swing intraday context, and 1H for tactical intraday work. Lower timeframes (15m, 30m) work too but may produce dense output.
3. Start with the default settings. Observe which sessions and which reference levels generate the most Elite and Strong reactions on your symbol.
4. Use the panel to monitor the current state: last session, last reference, bias, score, tier, label filter, zone filter and the active reaction status.
5. Treat Elite (80+) and Strong (70-79) reactions as the main signals. Watch tier is informative and Weak tier is generally discarded.
6. Align with your own confluence: higher timeframe bias, structure, orderflow, or whatever your primary framework is. The script does not issue buy or sell calls - it scores reactions, and you decide.
⚠️ LIMITATIONS AND TRANSPARENCY
• This is not a strategy and does not place orders. No backtest statistics are implied.
• Reaction scores are computed after the evaluation window completes, so they are not repainting but are confirmed with a lag equal to the evaluation window size.
• The live reaction zone updates during the window and is finalized when the window closes.
• Session behavior varies significantly by symbol (crypto vs FX vs equities) and by volatility regime. Inputs should be tuned per symbol.
• Daily and Weekly references use standard request.security with barmerge.lookahead_off to avoid look-ahead bias.
• The script is not a forecasting tool. It is a post-event quantification of how price has just reacted to a known reference level.
🛡️ RISK DISCLOSURE
Trading involves substantial risk. Past reactions, patterns, zones or scores do not guarantee future performance. This script is provided for educational and analytical purposes only and is not financial advice. Always combine any tool with your own research, a defined risk plan and proper position sizing. You are solely responsible for your trading decisions. Indicador

ICT Killzones & Pivots [TFO] - Traditional Chinese VersionICT 殺戮區與樞紐點 — 繁體中文版
ICT Killzones & Pivots — Traditional Chinese Edition
📌 概述 | Overview
本指標為廣受交易者使用的「ICT Killzones & Pivots 」之繁體中文本地化版本,完整保留原版所有功能,並將全部介面文字、設定選單、標籤與警報訊息翻譯為繁體中文,大幅降低中文使用者的操作門檻。
This is a Traditional Chinese localization of the well-known "ICT Killzones & Pivots " indicator. All original functionalities are fully preserved, with every interface element — including settings panels, labels, and alert messages — translated into Traditional Chinese to improve accessibility for Mandarin-speaking traders.
🕐 殺戮區(Killzones)| Session Killzones
根據 ICT(Inner Circle Trader)概念,機構資金最活躍的時段稱為「殺戮區」。本指標預設標記以下五個關鍵時段(以紐約時間為基準):
Based on ICT (Inner Circle Trader) concepts, the periods of highest institutional activity are known as "Killzones." The following five key sessions are marked by default (New York time):
時段 Session時間 Time (ET)🔵 亞洲盤 Asia20:00 – 00:00🔴 倫敦盤 London02:00 – 05:00🟢 紐約早盤 NY AM09:30 – 11:00🟡 紐約午休 NY Lunch12:00 – 13:00🟣 紐約下午盤 NY PM13:30 – 16:00
每個時段皆可個別啟用/停用,並自訂名稱與顏色。
Each session can be individually toggled, renamed, and color-customized.
📐 核心功能 | Core Features
殺戮區方塊 | Session Boxes
以半透明色塊標示各殺戮區範圍,清晰呈現每個時段的高低點震盪區間。
Translucent boxes highlight each killzone's high-to-low range, providing a clear visual of intraday price structure.
樞紐點線 | Pivot Lines
自動標記每個殺戮區結束後的最高點與最低點,並在未被突破前持續延伸,協助識別關鍵支撐與壓力位。
Automatically marks the high and low of each completed killzone session. Lines extend until the level is mitigated, helping identify key support and resistance.
中間點 | Midpoint Lines
可選擇顯示每個殺戮區的50%均衡價位,常作為潛在回撤目標。
An optional display of the 50% equilibrium level within each killzone, commonly used as a retracement target.
振幅統計表 | Range Table
即時顯示各殺戮區的當前振幅與歷史平均振幅,協助評估當日市場波動性。
A real-time table displaying the current and historical average range of each killzone, useful for assessing daily market volatility.
日/週/月開盤線與高低點 | D/W/M Open & High/Low Lines
標記日、週、月級別的開盤價、前高與前低,提供多時間框架的重要參考價位。
Marks the open price and prior high/low for daily, weekly, and monthly timeframes as key multi-timeframe reference levels.
開盤價格線 | Custom Opening Price Lines
最多支援8條自訂時間的水平開盤線,可自行設定任意時間點(如真實日開盤00:00、倫敦開盤等)。
Up to 8 custom horizontal open price lines, configurable for any time (e.g., True Day Open at 00:00, London open, etc.).
星期標籤 | Day-of-Week Labels
在圖表底部或頂部自動顯示星期幾標籤,輔助辨識每日結構。
Automatically displays day-of-week labels at the top or bottom of the chart to assist with daily structural analysis.
時間戳記線 | Timestamp Vertical Lines
最多可設定4條自訂垂直時間線,標記任意重要時間節點(如經濟數據公布時間、特定開盤時間等)。
Up to 4 custom vertical timestamp lines to mark important time events such as economic releases or specific session opens.
突破警報 | Break Alerts
當價格突破殺戮區樞紐高低點,或日/週/月高低點時,自動觸發 TradingView 警報通知。
Automatically triggers TradingView alerts when price breaks through killzone pivot levels or D/W/M high/low levels.
⚙️ 主要設定 | Key Settings
繪圖保留天數:控制圖表上各類繪圖的最大顯示筆數
時間框架上限:超過指定時間框架後自動隱藏所有繪圖
時區:支援全球主要時區,預設為紐約時間
繪圖截止時間:可設定樞紐線與開盤線的自動停止延伸時間
樞紐延伸模式:「直到被突破」或「突破後繼續」兩種模式可選
Session Drawing Limit: Controls the maximum number of drawings retained on the chart
Timeframe Limit: Automatically hides all drawings above the specified timeframe
Timezone: Supports all major global timezones, defaulting to New York (ET)
Drawing Cutoff Time: Optionally stops pivot and open lines from extending at a set time
Pivot Extension Mode: Choose between "Until Mitigated" or "Past Mitigation"
🌐 本地化說明 | Localization Notes
本版本為原作者 @tradeforopp 所著「ICT Killzones & Pivots 」之繁體中文翻譯版,依據 Mozilla Public License 2.0 授權發佈。所有交易邏輯、核心演算法與功能設計之著作權均歸屬於原作者。本版本僅對使用者介面文字進行在地化處理,未更動任何核心程式邏輯。
This is a Traditional Chinese translation of "ICT Killzones & Pivots " originally authored by @tradeforopp, published under the Mozilla Public License 2.0. All trading logic, core algorithms, and functional design remain the intellectual property of the original author. This version only localizes the user interface text without modifying any core logic.
⚠️ 免責聲明 | Disclaimer
本指標僅供技術分析參考用途,不構成任何投資建議。交易涉及風險,請依據個人風險承受能力審慎決策。
This indicator is provided for technical analysis reference purposes only and does not constitute investment advice. Trading involves risk; please make decisions according to your own risk tolerance.
原始腳本 Original Script:ICT Killzones & Pivots by @tradeforopp
授權 License:Mozilla Public License 2.0 Indicador

Indicador

Indicador

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 TradingView'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 TradingView 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 TradingView,
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. Indicador

Forex Sessions UTC + customise (DST Support)This Pine Script is designed to highlight forex trading sessions on a TradingView 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.
Indicador

Indicador

Sesion Operativa - Codigo InstitucionalThis indicator is designed for institutional and precision traders who need to visualize market liquidity and key session operating ranges without visual clutter.
Unlike standard session indicators, this tool focuses on clarity and the projection of key levels (Highs and Lows) to identify potential future reaction zones.
Key Features:
4 Customizable Sessions: Pre-configured with key institutional times (Pre-NY, NY Open, London, and Asia). Each session is fully adjustable in time, color, and style.
Minimalist Labeling: Displays the session name and operating range (in pips/points) in a clean, direct format (e.g., NY - 45), removing decimals and unnecessary text to keep the chart clean.
Range Projections: Option to project the Highs and Lows of each session forward (N candles) to use them as dynamic support or resistance levels.
Opening Highlight (NYSE): Special feature to highlight candle colors during specific high-volatility times (default 09:30 - 09:35 UTC-5), perfect for identifying manipulation or liquidity injections at the stock market open.
Adjustable Time Zone: Default setting is UTC-5 (New York), but fully adaptable to any user time zone. Indicador

SP500 Session Gap Fade StrategySummary in one paragraph
SPX Session Gap Fade is an intraday gap fade strategy for index futures, designed around regular cash sessions on five minute charts. It helps you participate only when there is a full overnight or pre session gap and a valid intraday session window, instead of trading every open. The original part is the gap distance engine which anchors both stop and optional target to the previous session reference close at a configurable flat time, so every trade’s risk scales with the actual gap size rather than a fixed tick stop.
Scope and intent
• Markets. Primarily index futures such as ES, NQ, YM, and liquid index CFDs that exhibit overnight gaps and regular cash hours.
• Timeframes. Intraday timeframes from one minute to fifteen minutes. Default usage is five minute bars.
• Default demo used in the publication. Symbol CME:ES1! on a five minute chart.
• Purpose. Provide a simple, transparent way to trade opening gaps with a session anchored risk model and forced flat exit so you are not holding into the last part of the session.
• Limits. This is a strategy. Orders are simulated on standard candles only.
Originality and usefulness
• Unique concept or fusion. The core novelty is the combination of a strict “full gap” entry condition with a session anchored reference close and a gap distance based TP and SL engine. The stop and optional target are symmetric multiples of the actual gap distance from the previous session’s flat close, rather than fixed ticks.
• Failure mode it addresses. Fixed sized stops do not scale when gaps are unusually small or unusually large, which can either under risk or over risk the account. The session flat logic also reduces the chance of holding residual positions into late session liquidity and news.
• Testability. All key pieces are explicit in the Inputs: session window, minutes before session end, whether to use gap exits, whether TP or SL are active, and whether to allow candle based closes and forced flat. You can toggle each component and see how it changes entries and exits.
• Portable yardstick. The main unit is the absolute price gap between the entry bar open and the previous session reference close. tp_mult and sl_mult are multiples of that gap, which makes the risk model portable across contracts and volatility regimes.
Method overview in plain language
The strategy first defines a trading session using exchange time, for example 08:30 to 15:30 for ES day hours. It also defines a “flat” time a fixed number of minutes before session end. At the flat bar, any open position is closed and the bar’s close price is stored as the reference close for the next session. Inside the session, the strategy looks for a full gap bar relative to the prior bar: a gap down where today’s high is below yesterday’s low, or a gap up where today’s low is above yesterday’s high. A full gap down generates a long entry; a full gap up generates a short entry. If the gap risk engine is enabled and a valid reference close exists, the strategy measures the distance between the entry bar open and that reference close. It then sets a stop and optional target as configurable multiples of that gap distance and manages them with strategy.exit. Additional exits can be triggered by a candle color flip or by the forced flat time.
Base measures
• Range basis. The main unit is the absolute difference between the current entry bar open and the stored reference close from the previous session flat bar. That value is used as a “gap unit” and scaled by tp_mult and sl_mult to build the target and stop.
Components
• Component one: Gap Direction. Detects full gap up or full gap down by comparing the current high and low to the previous bar’s high and low. Gap down signals a long fade, gap up signals a short fade. There is no smoothing; it is a strict structural condition.
• Component two: Session Window. Only allows entries when the current time is within the configured session window. It also defines a flat time before the session end where positions are forced flat and the reference close is updated.
• Component three: Gap Distance Risk Engine. Computes the absolute distance between the entry open and the stored reference close. The stop and optional target are placed as entry ± gap_distance × multiplier so that risk scales with gap size.
• Optional component: Candle Exit. If enabled, a bullish bar closes short positions and a bearish bar closes long positions, which can shorten holding time when price reverses quickly inside the session.
• Session windows. Session logic uses the exchange time of the chart symbol. When changing symbols or venues, verify that the session time string still matches the new instrument’s cash hours.
Fusion rule
All gates are hard conditions rather than weighted scores. A trade can only open if the session window is active and the full gap condition is true. The gap distance engine only activates if a valid reference close exists and use_gap_risk is on. TP and SL are controlled by separate booleans so you can use SL only, TP only, or both. Long and short are symmetric by construction: long trades fade full gap downs, short trades fade full gap ups with mirrored TP and SL logic.
Signal rule
• Long entry. Inside the active session, when the current bar shows a full gap down relative to the previous bar (current high below prior low), the strategy opens a long position. If the gap risk engine is active, it places a gap based stop below the entry and an optional target above it.
• Short entry. Inside the active session, when the current bar shows a full gap up relative to the previous bar (current low above prior high), the strategy opens a short position. If the gap risk engine is active, it places a gap based stop above the entry and an optional target below it.
• Forced flat. At the configured flat time before session end, any open position is closed and the close price of that bar becomes the new reference close for the following session.
• Candle based exit. If enabled, a bearish bar closes longs, and a bullish bar closes shorts, regardless of where TP or SL sit, as long as a position is open.
What you will see on the chart
• Markers on entry bars. Standard strategy entry markers labeled “long” and “short” on the gap bars where trades open.
• Exit markers. Standard exit markers on bars where either the gap stop or target are hit, or where a candle exit or forced flat close occurs. Exit IDs “long_gap” and “short_gap” label gap based exits.
• Reference levels. Horizontal lines for the current long TP, long SL, short TP, and short SL while a position is open and the gap engine is enabled. They update when a new trade opens and disappear when flat.
• Session background. This version does not add background shading for the session; session logic runs internally based on time.
• No on chart table. All decisions are visible through orders and exit levels. Use the Strategy Tester for performance metrics.
Inputs with guidance
Session Settings
• Trading session (sess). Session window in exchange time. Typical value uses the regular cash session for each contract, for example “0830-1530” for ES. Adjust if your broker or symbol uses different hours.
• Minutes before session end to force exit (flat_before_min). Minutes before the session end where positions are forced flat and the reference close is stored. Typical range is 15 to 120. Raising it closes trades earlier in the day; lowering it allows trades later in the session.
Gap Risk
• Enable gap based TP/SL (use_gap_risk). Master switch for the gap distance exit engine. Turning it off keeps entries and forced flat logic but removes automatic TP and SL placement.
• Use TP limit from gap (use_gap_tp). Enables gap based profit targets. Typical values are true for structured exits or false if you want to manage exits manually and only keep a stop.
• Use SL stop from gap (use_gap_sl). Enables gap based stop losses. This should normally remain true so that each trade has a defined initial risk in ticks.
• TP multiplier of gap distance (tp_mult). Multiplier applied to the gap distance for the target. Typical range is 0.5 to 2.0. Raising it places the target further away and reduces hit frequency.
• SL multiplier of gap distance (sl_mult). Multiplier applied to the gap distance for the stop. Typical range is 0.5 to 2.0. Raising it widens the stop and increases risk per trade; lowering it tightens the stop and may increase the number of small losses.
Exit Controls
• Exit with candle logic (use_candle_exit). If true, closes shorts on bullish candles and longs on bearish candles. Useful when you want to react to intraday reversal bars even if TP or SL have not been reached.
• Force flat before session end (use_forced_flat). If true, guarantees you are flat by the configured flat time and updates the reference close. Turn this off only if you understand the impact on overnight risk.
Filters
There is no separate trend or volatility filter in this version. All trades depend on the presence of a full gap bar inside the session. If you need extra filtering such as ATR, volume, or higher timeframe bias, they should be added explicitly and documented in your own fork.
Usage recipes
Intraday conservative gap fade
• Timeframe. Five minute chart on ES regular session.
• Gap risk. use_gap_risk = true, use_gap_tp = true, use_gap_sl = true.
• Multipliers. tp_mult around 0.7 to 1.0 and sl_mult around 1.0.
• Exits. use_candle_exit = false, use_forced_flat = true. Focus on the structured TP and SL around the gap.
Intraday aggressive gap fade
• Timeframe. Five minute chart.
• Gap risk. use_gap_risk = true, use_gap_tp = false, use_gap_sl = true.
• Multipliers. sl_mult around 0.7 to 1.0.
• Exits. use_candle_exit = true, use_forced_flat = true. Entries fade full gaps, stops are tight, and candle color flips flatten trades early.
Higher timeframe gap tests
• Timeframe. Fifteen minute or sixty minute charts on instruments with regular gaps.
• Gap risk. Keep use_gap_risk = true. Consider slightly higher sl_mult if gaps are structurally wider on the higher timeframe.
• Note. Expect fewer trades and be careful with sample size; multi year data is recommended.
Properties visible in this publication
• On average our risk for each position over the last 200 trades is 0.4% with a max intraday loss of 1.5% of the total equity in this case of 100k $ with 1 contract ES. For other assets, recalculations and customizations has to be applied.
• Initial capital. 100 000.
• Base currency. USD.
• Default order size method. Fixed with size 1 contract.
• Pyramiding. 0.
• Commission. Flat 2 USD per order in the Strategy Tester Properties. (2$ buying + 2$selling)
• Slippage. One tick in the Strategy Tester Properties.
• Process orders on close. ON.
Realism and responsible publication
• No performance claims are made. Past results do not guarantee future outcomes.
• Costs use a realistic flat commission and one tick of slippage per trade for ES class futures.
• Default sizing with one contract on a 100 000 reference account targets modest per trade risk. In practice, extreme slippage or gap through events can exceed this, so treat the one and a half percent risk target as a design goal, not a guarantee.
• All orders are simulated on standard candles. Shapes can move while a bar is forming and settle on bar close.
Honest limitations and failure modes
• Economic releases, thin liquidity, and limit conditions can break the assumptions behind the simple gap model and lead to slippage or skipped fills.
• Symbols with very frequent or very large gaps may require adjusted multipliers or alternative risk handling, especially in high volatility regimes.
• Very quiet periods without clean gaps will produce few or no trades. This is expected behavior, not a bug.
• Session windows follow the exchange time of the chart. Always confirm that the configured session matches the symbol.
• When both the stop and target lie inside the same bar’s range, the TradingView engine decides which is hit first based on its internal intrabar assumptions. Without bar magnifier, tie handling is approximate.
Legal
Education and research only. This strategy is not investment advice. You remain responsible for all trading decisions. Always test on historical data and in simulation with realistic costs before considering any live use.
Estrategia

Indicador

Sessions Full Markets [TradingFinder] Forex Stocks Index 7 Time🔵 Introduction
In global financial markets, particularly in FOREX and stocks, precise timing of trading sessions plays a crucial role in the success of traders. Each trading session—Asian, European, and American—has its own unique characteristics in terms of volatility and trading volume.
The Asian session (Tokyo), Sydney session, Shanghai session, European session (London and Frankfurt), and American session (New York AM and New York PM) are examples of these trading sessions, each of which opens and closes at specific times.
This session indicator also includes a Time Convertor, enabling users to view FOREX market hours based on GMT, UTC, EST, and local time. Another valuable feature of this indicator is the automatic detection of Daylight Saving Time (DST), which automatically applies time changes for the New York, London, and Sydney sessions.
🔵 How to Use
The indicator also displays session times based on the exact opening and closing times for each geographic region. Users can utilize this indicator to view trading hours either locally or in UTC time, and if needed, set their own custom trading times.
Additionally, the session information table includes the start and end times of each session and whether they are open or closed. This functionality helps traders make better trading decisions by using accurate and precise time data.
Key Features of the Session Indicator
The session indicator is a versatile and advanced tool that provides several unique features for traders.
Some of these features are :
• Automatic Daylight Saving Time (DST) Detection : This indicator dynamically detects Daylight Saving Time (DST) changes for various trading sessions, including New York, London, and Sydney, without requiring manual adjustments. This feature allows traders to manage their trades without worrying about time changes.
Below are the start and end dates for DST in the New York, London, and Sydney trading sessions :
1. New York :
Start of DST: Second Sunday of March, at 2:00 AM.
End of DST: First Sunday of November, at 2:00 AM
2. London :
Start of DST: Last Sunday of March, at 1:00 AM.
End of DST: Last Sunday of October, at 2:00 AM.
3. Sydney :
Start of DST: First Sunday of October, at 2:00 AM.
End of DST: First Sunday of April, at 3:00 AM.
• Session Display Based on Different Time Zones : The session indicator allows users to view trading times based on different time zones, such as UTC, the local time of each market, or the user’s local time. This feature is especially useful for traders operating in diverse geographic regions.
• Custom Trading Time Setup : Another notable feature of this indicator is the ability to set custom trading times. Traders can adjust their own trading times according to their personal strategies and benefit from this flexibility.
• Session Information Table : The session indicator provides a complete information table that includes the exact start and end times of each trading session and whether they are open or closed. This table helps users simultaneously and accurately monitor the status of all trading sessions and make better trading decisions.
🟣 Session Trading Hours Based on Market Mode and Time Zones
The session indicator provides precise information on the start and end times of trading sessions.
These times are adjusted based on different market modes (FOREX, stocks, and TFlab suggestions) and time zones (UTC and local time) :
🟣 (FOREX Session Time) Forex Market Mode
• Sessions in UTC (DST inactive) :
Sydney: 22:00 - 06:00
Tokyo: 23:00 - 07:00
Shanghai: 01:00 - 09:00
Asia: 22:00 - 07:00
Europe: 07:00 - 16:00
London: 08:00 - 16:00
New York: 13:00 - 21:00
• Sessions in UTC (DST active) :
Sydney: 21:00 - 05:00
Tokyo: 23:00 - 07:00
Shanghai: 01:00 - 09:00
Asia: 21:00 - 07:00
Europe: 06:00 - 15:00
London: 07:00 - 15:00
New York: 12:00 - 20:00
• Sessions in Local Time :
Sydney: 08:00 - 16:00
Tokyo: 08:00 - 16:00
Shanghai: 09:00 - 17:00
Asia: 22:00 - 07:00
Europe: 07:00 - 16:00
London: 08:00 - 16:00
New York: 08:00 - 16:00
🟣 Stock Market Trading Hours (Stock Market Mode)
• Sessions in UTC (DST inactive) :
Sydney: 00:00 - 06:00
Asia: 00:00 - 06:00
Europe: 07:00 - 16:30
London: 08:00 - 16:30
New York: 14:30 - 21:00
Tokyo: 00:00 - 06:00
Shanghai: 01:30 - 07:00
• Sessions in UTC (DST active) :
Sydney: 23:00 - 05:00
Asia: 23:00 - 06:00
Europe: 06:00 - 15:30
London: 07:00 - 15:30
New York: 13:30 - 20:00
Tokyo: 00:00 - 06:00
Shanghai: 01:30 - 07:00
• Sessions in Local Time:
Sydney: 10:00 - 16:00
Tokyo: 09:00 - 15:00
Shanghai: 09:30 - 15:00
Asia: 00:00 - 06:00
Europe: 07:00 - 16:30
London: 08:00 - 16:30
New York: 09:30 - 16:00
🟣 TFlab Suggestion Mode
• Sessions in UTC (DST inactive) :
Sydney: 23:00 - 05:00
Tokyo: 00:00 - 06:00
Shanghai: 01:00 - 09:00
Asia: 23:00 - 06:00
Europe: 07:00 - 16:00
London: 08:00 - 16:00
New York: 13:00 - 21:00
• Sessions in UTC (DST active) :
Sydney: 22:00 - 04:00
Tokyo: 00:00 - 06:00
Shanghai: 01:00 - 09:00
Asia: 22:00 - 06:00
Europe: 06:00 - 15:00
London: 07:00 - 15:00
New York: 12:00 - 20:00
• Sessions in Local Time :
Sydney: 09:00 - 16:00
Tokyo: 09:00 - 15:00
Shanghai: 09:00 - 17:00
Asia: 23:00 - 06:00
Europe: 07:00 - 16:00
London: 08:00 - 16:00
New York: 08:00 - 16:00
🔵 Setting
Using the session indicator is straightforward and practical. Users can add this indicator to their trading chart and take advantage of its features.
The usage steps are as follows :
Selecting Market Mode : The user can choose one of the three main modes.
Forex Market Mode: Displays the forex market trading hours.
oStock Market Mode: Displays the trading hours of stock exchanges.
Custom Mode: Allows the user to set trading hours based on their needs.
TFlab Suggestion Mode: Displays the higher volume hours of the forex market in Asia.
Setting the Time Zone : The indicator allows displaying sessions based on various time zones. The user can select one of the following options:
UTC (Coordinated Universal Time)
Local Time of the Session
User’s Local Time
Displaying Comprehensive Session Information : The session information table includes the opening and closing times of each session and whether they are open or closed. This table helps users monitor all sessions at a glance and precisely set the best time for entering and exiting trades.
🔵Conclusion
The session indicator is a highly efficient and essential tool for active traders in the FOREX and stock markets. With its unique features, such as automatic DST detection and the ability to display sessions based on different time zones, the session indicator helps traders to precisely and efficiently adjust their trading activities.
This indicator not only shows users the exact opening and closing times of sessions, but by providing a session status table, it helps traders identify the best times to enter and exit trades. Moreover, the ability to set custom trading times allows traders to easily personalize their trading schedules according to their strategies.
In conclusion, using the session indicator ensures that traders are continuously and accurately informed of time changes and the opening and closing hours of markets, eliminating the need for manual updates to align with DST changes. These features enable traders to optimize their trading strategies with greater confidence and up-to-date information, allowing them to capitalize on opportunities in the market.
Indicador

Indicador

Indicador
