INVITE-ONLY SCRIPT
NQ 12h Midpoint Retracement

Overview
This advanced indicator is specifically designed for NQ futures traders who trade the overnight session (18:00 ET to 6:00 AM ET) and the subsequent day session (6:00 AM to 18:00 ET). It draws vertical lines at key session times, visualizes the 12-hour overnight range with a box, plots the midpoint of that range, and most importantly, displays real-time probability statistics for price retracing back to the 18:00 midpoint based on historical data.
Key Features
📍 Session Markers
Vertical lines at 6:00 AM and 6:00 PM Eastern Time
Fully customizable colors, line styles (solid, dotted, dashed), and widths
Automatically adjusts for Daylight Saving Time
📦 12-Hour Range Box
Visualizes the complete overnight session range (18:00 to 6:00 AM)
Historic mode: Display all historical boxes or just the current one
Customizable background color, border color, and border style
Captures the high and low of the entire 12-hour period
📊 18:00 Midpoint Line
Plots the midpoint of the 18:00-6:00 AM range
Extends through the following 6:00 AM to 6:00 PM session
Customizable color, style, and width (default: black dotted line)
Serves as a key reference level for the day session
🎯 Probability Statistics Label (The Game Changer)
This indicator includes embedded historical probability data that shows the likelihood of price retracing to the 18:00 midpoint based on:
How far the 6:00 AM open is from the midpoint (distance percentile groups)
Current time (updated every 30 minutes from 6:00 AM to 6:00 PM)
The label displays:
Base %: The starting retracement probability at 6:00 AM for the given distance
Time Decay %: Current retracement probability (decreases throughout the day)
Percentile: Which distance group (e.g., "Above 50-75th", "Below 25-50th")
Dist %: Exact percentage distance of 6:00 AM open from the 18:00 midpoint
Toggle any label element on/off to customize what information you see.
How It Works
Distance Percentile Groups
The indicator categorizes the 6:00 AM open distance from the 18:00 midpoint into percentile groups:
Above Midpoint:
Above 0-25th: +0.00% to +0.05%
Above 25-50th: +0.05% to +0.11%
Above 50-75th: +0.11% to +0.20%
Above 75-85th: +0.20% to +0.27%
Above 85-95th: +0.27% to +0.46%
Above 95th+: +0.46% and higher
Below Midpoint:
Below 0-25th: -0.04% to 0.00%
Below 25-50th: -0.10% to -0.04%
Below 50-75th: -0.19% to -0.10%
Below 75-85th: -0.26% to -0.19%
Below 85-95th: -0.47% to -0.26%
Below 95th+: Lower than -0.47%
Time Decay
The retracement probability starts high at 6:00 AM and decays throughout the day. For example:
6:00 AM: ~78% probability for "Above 50-75th" group
9:00 AM: ~62%
12:00 PM: ~17%
3:00 PM: ~8%
The further you are from the midpoint AND the more time passes, the lower the probability of retracement.
Use Cases
Mean Reversion Trading
Identify high-probability mean reversion setups when price is far from the 18:00 midpoint
Use time decay to determine optimal entry and exit windows
Session Planning
Understand the statistical likelihood of price returning to key levels
Plan your trading strategy based on distance and time factors
Risk Management
Avoid mean reversion trades when probabilities are low
Size positions according to retracement probability
Settings
6:00 AM Line Settings
Color, style, and width customization
6:00 PM Line Settings
Color, style, and width customization
Box Settings
Show/hide 12-hour box
Historic boxes toggle (show all or just current)
Background color and transparency
Border color, style, and width
Midpoint Settings
Show/hide midpoint line
Color, style, and width
Label Settings
Background color (default: gray)
Text color (default: white)
Toggle Base %
Toggle Time Decay %
Toggle Percentile group
Toggle Distance %
Best Practices
Use on lower timeframes (5m, 15m, 30m) for precise entries to then target retracement to the midpoint.
Pay attention to Base probability - higher base probabilities (>70%) indicate stronger mean reversion potential
Watch time decay - earlier in the session offers better probability for retracement
Consider market conditions - probabilities are based on historical data and may vary in trending markets
Data Source
The probability statistics are based on extensive historical analysis of NQ futures 18:00 session midpoint retracements, categorized by distance percentiles and time intervals.
Notes
All times are in Eastern Time (ET) and automatically adjust for DST
The indicator is optimized for NQ futures but can be applied to other instruments
Probabilities update every 30 minutes from 6:00 AM to 6:00 PM ET
Maximum of 500 historical boxes/midpoints stored when historic mode is enabled
Disclaimer: Past performance does not guarantee future results. Use proper risk management and combine with your own analysis.
This advanced indicator is specifically designed for NQ futures traders who trade the overnight session (18:00 ET to 6:00 AM ET) and the subsequent day session (6:00 AM to 18:00 ET). It draws vertical lines at key session times, visualizes the 12-hour overnight range with a box, plots the midpoint of that range, and most importantly, displays real-time probability statistics for price retracing back to the 18:00 midpoint based on historical data.
Key Features
📍 Session Markers
Vertical lines at 6:00 AM and 6:00 PM Eastern Time
Fully customizable colors, line styles (solid, dotted, dashed), and widths
Automatically adjusts for Daylight Saving Time
📦 12-Hour Range Box
Visualizes the complete overnight session range (18:00 to 6:00 AM)
Historic mode: Display all historical boxes or just the current one
Customizable background color, border color, and border style
Captures the high and low of the entire 12-hour period
📊 18:00 Midpoint Line
Plots the midpoint of the 18:00-6:00 AM range
Extends through the following 6:00 AM to 6:00 PM session
Customizable color, style, and width (default: black dotted line)
Serves as a key reference level for the day session
🎯 Probability Statistics Label (The Game Changer)
This indicator includes embedded historical probability data that shows the likelihood of price retracing to the 18:00 midpoint based on:
How far the 6:00 AM open is from the midpoint (distance percentile groups)
Current time (updated every 30 minutes from 6:00 AM to 6:00 PM)
The label displays:
Base %: The starting retracement probability at 6:00 AM for the given distance
Time Decay %: Current retracement probability (decreases throughout the day)
Percentile: Which distance group (e.g., "Above 50-75th", "Below 25-50th")
Dist %: Exact percentage distance of 6:00 AM open from the 18:00 midpoint
Toggle any label element on/off to customize what information you see.
How It Works
Distance Percentile Groups
The indicator categorizes the 6:00 AM open distance from the 18:00 midpoint into percentile groups:
Above Midpoint:
Above 0-25th: +0.00% to +0.05%
Above 25-50th: +0.05% to +0.11%
Above 50-75th: +0.11% to +0.20%
Above 75-85th: +0.20% to +0.27%
Above 85-95th: +0.27% to +0.46%
Above 95th+: +0.46% and higher
Below Midpoint:
Below 0-25th: -0.04% to 0.00%
Below 25-50th: -0.10% to -0.04%
Below 50-75th: -0.19% to -0.10%
Below 75-85th: -0.26% to -0.19%
Below 85-95th: -0.47% to -0.26%
Below 95th+: Lower than -0.47%
Time Decay
The retracement probability starts high at 6:00 AM and decays throughout the day. For example:
6:00 AM: ~78% probability for "Above 50-75th" group
9:00 AM: ~62%
12:00 PM: ~17%
3:00 PM: ~8%
The further you are from the midpoint AND the more time passes, the lower the probability of retracement.
Use Cases
Mean Reversion Trading
Identify high-probability mean reversion setups when price is far from the 18:00 midpoint
Use time decay to determine optimal entry and exit windows
Session Planning
Understand the statistical likelihood of price returning to key levels
Plan your trading strategy based on distance and time factors
Risk Management
Avoid mean reversion trades when probabilities are low
Size positions according to retracement probability
Settings
6:00 AM Line Settings
Color, style, and width customization
6:00 PM Line Settings
Color, style, and width customization
Box Settings
Show/hide 12-hour box
Historic boxes toggle (show all or just current)
Background color and transparency
Border color, style, and width
Midpoint Settings
Show/hide midpoint line
Color, style, and width
Label Settings
Background color (default: gray)
Text color (default: white)
Toggle Base %
Toggle Time Decay %
Toggle Percentile group
Toggle Distance %
Best Practices
Use on lower timeframes (5m, 15m, 30m) for precise entries to then target retracement to the midpoint.
Pay attention to Base probability - higher base probabilities (>70%) indicate stronger mean reversion potential
Watch time decay - earlier in the session offers better probability for retracement
Consider market conditions - probabilities are based on historical data and may vary in trending markets
Data Source
The probability statistics are based on extensive historical analysis of NQ futures 18:00 session midpoint retracements, categorized by distance percentiles and time intervals.
Notes
All times are in Eastern Time (ET) and automatically adjust for DST
The indicator is optimized for NQ futures but can be applied to other instruments
Probabilities update every 30 minutes from 6:00 AM to 6:00 PM ET
Maximum of 500 historical boxes/midpoints stored when historic mode is enabled
Disclaimer: Past performance does not guarantee future results. Use proper risk management and combine with your own analysis.
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系LevelLogic。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Email admin@levellogicindicators.com for access
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系LevelLogic。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Email admin@levellogicindicators.com for access
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。