Dokakuri's Magic Hours: Master PlaybookMagic Hour: Master Playbook (Quantitative Mean Reversion)
Overview
The Magic Hour: Master Playbook is not a standard technical indicator; it is a quantitative database overlay for the Nasdaq 100 (NQ). It visualizes the results of a 13-year institutional backtest (2013–2026) directly on your chart, transforming historical probabilities into actionable real-time levels.
This tool focuses on a specific Mean Reversion edge: detecting when an hourly range breakout is statistically likely to fail and revert back to its midpoint (50% Reversion).
How It Works
The strategy identifies specific "Magic Hours" (e.g., 07:00 AM NY) that exhibit a high probability of mean reversion.
The Range: Measures the High and Low of the selected hour.
The Break: Waits for price to break outside this range.
The Reversion: Targets a return to the 50% Midline of the hourly range.
The indicator projects the Maximum Adverse Excursion (MAE) zones from the study, telling you historically how far price pushes against the trade before reversing.
The Master Dashboard: Metrics Explained
The data table displayed on the chart is hardcoded from a study of over 3,000 trading sessions per hour. Here is how to read the statistics:
1. Baseline Performance
Win Rate: The historical percentage of breakouts that successfully returned to the 50% midpoint.
Avg MAE: The average "heat" (drawdown) winning trades endured before hitting the target.
2. Time Expectations (Duration)
Time is a risk factor. This section tells you how long you typically have to wait for the target to be hit.
Fast (25%): The "easy" trades. 25% of winners hit the target within this time.
Med (50%): The median duration. Half of all winning trades take longer than this.
Grind (90%): If the trade exceeds this duration, it is an outlier and probability of success drops.
3. Runner Conversion (Conditional Probability)
This answers the question: "If I have already hit my 50% target, what are the odds the move continues?"
Example (90% @ 75% Ext): Means that 90% of the trades that hit the first target continued to hit the 75% extension.
Usage: Use this to decide whether to trail your stop loss or take full profit. High percentages suggest "Holding," low percentages suggest "Aggressive Taking Profit."
4. Zone Analysis (Heat Map)
This is the core of the risk management system. It breaks down adverse price movement into 6 Zones based on the % of the hourly range.
Z1 (Ideal) & Z2 (Prime): The "Safe Zones." Historically, the vast majority of winning trades never go deeper than these zones (0-50% expansion).
Density: The percentage of Winning Trades that peaked in this specific zone. A high density means "This is a normal place for price to turn around."
Zone Win%: The survivorship rate. Reading Rule: "Of all the trades that stopped in this zone, X% went on to win."
Visual Guide
Grey Box: The "Magic Hour" range (High/Low).
Fuchsia Line: The 50% Mean Reversion Target.
Colored Zones (Right Side):
Grey/Blue (Z1/Z2): High probability reversal zones.
Green (Z3): Deep pullback zone.
Orange/Red (Z4/Z5): Risk zones. Reversal probability decreases, but Risk:Reward improves.
Black (Z6 - Graveyard): Statistical outliers. Historically, trades reaching this deep rarely recover.
Dashed Red Line: The "Invalidation Level" where the setup statistically fails.
Included Strategies (Ranked)
The indicator includes data for the top performing hours found in the 13-year study:
Rank #1 (07:00 NY): The "Golden Hour" - Highest Win Rate & Stability.
Rank #2 (08:00 NY): Continuation Play.
Rank #3 (06:00 NY): Pre-Market Volatility.
Ranks #4-7: Asia & London session opens (00:00, 01:00, 02:00, 23:00).
Disclaimer
This indicator displays historical statistics for educational purposes only. "Win Rates" refer to past performance in a simulated backtest environment and do not guarantee future results. Trading futures involves substantial risk of loss.
Statistics
CVD Complete Volume Analysis ProCVD Complete Volume Analysis Pro | Order Flow & Absorption
Introduction:
In the world of modern trading, Price is the advertisement, but Volume is the fuel. However, standard volume indicators on TradingView are often insufficient. They tell you how much was traded, but they don’t tell you how it was traded.
Was that large volume spike aggressive buying driving the trend? or was it a "buying frenzy" hitting a wall of passive limit orders (absorption)?
The CVD Complete Volume Analysis Pro (v5) is an advanced institutional-grade Order Flow engine. By utilizing 1-second intrabar data, this indicator reconstructs the "Tick Rule" to separate Aggressive (Market) orders from Passive (Limit) orders. It calculates Cumulative Volume Delta (CVD), detects Absorption/Distribution anomalies, and utilizes an embedded Logistic Regression model to predict daily directional bias.
This is not just an indicator; it is a complete Order Flow Dashboard designed to aid and support complex footprint charts for the everyday trader.
🏗️ How It Works: The "Micro-Structure" Engine
Most volume indicators on TradingView look at the close of a 1-minute or 5-minute bar to guess the volume direction. This script goes deeper.
1. The 1-Second Granularity
Using TradingView's request.security_lower_tf capability, this script pulls 1-second resolution data regardless of the chart timeframe you are on.
It analyzes the price movement every second.
It applies the "Tick Rule": If price moves up, volume is classified as Buy. If price moves down, volume is classified as Sell.
This allows for a highly accurate reconstruction of Buying vs. Selling pressure that standard indicators miss.
2. The "Cluster" Concept
The script aggregates these 1-second data points into Clusters.
Default: 60 seconds (1 minute) per cluster.
This creates a normalized "Heartbeat" of the market, allowing us to compare the efficiency of volume over fixed time windows, removing the noise of time-based chart distortions.
3. The "Passive" Detection Logic (The Core Feature)
This is the most powerful aspect of the tool. It calculates the relationship between Effort (CVD) and Result (Price Move).
The Baseline: The script calculates a rolling statistical baseline (Standard Deviation) of how much price should move for a given amount of Delta.
Absorption (Hidden Buying): If we see massive Aggressive Selling (Negative CVD) but price refuses to drop (or drops significantly less than the statistical model predicts), the script identifies this as Passive Buying.
Distribution (Hidden Selling): If we see massive Aggressive Buying (Positive CVD) but price refuses to rise, the script identifies this as Passive Selling.
📊 The Dashboard Breakdown
The on-screen dashboard is your command center. It updates in real-time to provide a snapshot of the market's internal mechanics.
Section 1: Flow Analysis
This section analyzes the current session's behavior.
Flow Type: Categorizes the market state using algorithmic logic.
Aggressive Buying/Selling: The market is trending, and aggressive participants are winning.
Strong Accumulation/Distribution: A reversal signal. Aggressive participants are trapped, and passive whales are absorbing order flow.
Flow vs. Price: Detects divergences instantly.
Bullish Divergence: Net Flow is Positive, but Price is down (indicates manipulation or temporary suppression).
Bearish Divergence: Net Flow is Negative, but Price is up (indicates a "trap" move).
Section 2: Volume Breakdown
A detailed ledger of the day's activity.
Aggressive Buy/Sell: Market orders executing at the ask/bid. This represents "Impatience."
Passive Buy/Sell: The estimated volume of Limit Orders absorbing the aggressive flow. This represents "Intent."
Net Flow: The mathematical sum of all buy pressure minus sell pressure.
Section 3: Net Positioning (Multi-Day)
Markets don't happen in a vacuum. This section looks back (default 5 days) to see the accumulated inventory.
Bias: Are we in a multi-day accumulation or distribution phase?
Activity Type:
High Hidden Activity: Indicates a fighting market with heavy limit orders (choppy/reversal prone).
Mostly Aggressive: Indicates a trending market with low resistance.
Section 4: Predictive Model (Machine Learning)
The script features an embedded Logistic Regression Model.
It trains on the last N days of Flow Data (CVD, Net Aggressive, Net Passive, Passive Ratios).
It outputs a Probability Score (0% to 100%) regarding the likelihood of an UP close for the current session.
Note: This is a probability model based on order flow history, not a guarantee. Use it as a bias confirmation tool.
🧠 Educational: How to Trade With This
Strategy 1: The "Absorption" Reversal
Context: Price hits a major resistance level.
Look at the Dashboard: You want to see "Flow Type" switch to "Strong Distribution".
The Logic: Price is rising, and aggressive buyers are hitting the ask. However, the script detects that for every buy order, a passive seller is absorbing it. Price stops moving up despite high volume.
The Trigger: When Price creates a lower low on the chart while the dashboard shows Distribution, this is a high-probability short entry.
Strategy 2: The Flow Divergence
Context: Price is trending down.
Look at the Dashboard: Price is making new lows, but the "Net Flow" is turning Green (Positive), or the "Cum CVD" is sloping upwards.
The Logic: This is "Effort vs. Result." Sellers are exhausted. They are pushing price down, but the net flow is shifting to buyers.
The Trigger: Enter Long on the first structure break.
Strategy 3: Trend Continuation
Context: Market is opening or breaking a range.
Look at the Dashboard: You want "Full Alignment."
Signals: "Flow Type" says Aggressive Buying, Net Flow is Positive, and the Predictive Model shows >60% Bullish Probability.
The Logic: There is no passive resistance. Aggressive buyers are pushing price up freely.
The Trigger: Buy pullbacks.
⚙️ Settings & Configuration
Cluster Size: The number of 1-second bars to group together.
Use 60 (1 min) for Scalping.
Use 300 (5 min) for Day Trading.
Average Length: The baseline for statistical calculations. Higher numbers = smoother baselines but slower adaptation.
Detection Settings:
Passive Multiplier: Adjusts the sensitivity of the absorption estimation. 1.0 is standard. Increase to 1.5 if you only want to see extreme anomalies.
Daily Tracking:
History Days: How many days of data to display in the table. Note: Due to TradingView data limits, keeping this between 3-5 days ensures the most stability.
⚠️ Important Technical Limitations
Please read this section carefully to understand the constraints of the Pine Script environment:
Data Depth (The 100k Limit): TradingView limits request.security_lower_tf to approximately 100,000 intrabars.
This means the script can typically only "see" the last 3 to 5 days of true 1-second data.
If you set History Days or Training Days too high (e.g., 20 days), the script may return 0 values for older dates because the high-resolution data simply doesn't exist on the server.
Approximation of Ticks: While 1-second data is extremely precise, it is still an aggregation. In extremely high-volatility events (like CPI releases), multiple ticks happen inside one second. The script attributes the volume of that second based on the close relative to the open/prev close. It is the best approximation possible on TradingView, but not a replacement for Level 3 Tick Data feeds.
Calculation Time: This is a heavy script. On lower-end devices or when loading on many charts simultaneously, you may experience a "Calculation took too long" warning. If this happens, reduce the History Days to 3.
🛡️ Disclaimer
No Repainting: This indicator uses strict historical referencing and does not repaint closed clusters.
Not Financial Advice: This tool provides data visualization. Order flow is a subjective art. Always manage your risk.
Author's Note:
I built this tool because I wanted the power of Order Flow footprint charts without the visual clutter. By using statistical baselines to detect passive liquidity, we can finally see the "invisible hand" of the market directly on our TradingView charts. I hope this adds value to your trading.
👍 If you find this script useful, please leave a Boost and a Comment below!
Spearman Correlation🔗 Spearman Correlation – Ranked Relationship Tracker
Overview:
This indicator calculates and plots the Spearman Rank Correlation Coefficient between the current chart’s asset and a custom comparison ticker (the example shown is BTC vs the OTHERS market cap for crypto). Unlike Pearson correlation, which measures linear relationships, Spearman correlation captures monotonic (ranked) relationships—making it better suited for analysing assets that move in sync but not necessarily in a linear fashion.
🧠 What It Does:
Computes ranked correlation between two assets over a user-defined lookback period
Smooths the correlation curve for better readability
Visually shades the background by correlation strength and direction:
🟩 Strong Positive (+0.5 to +1)
🟨 Weak Positive (+0.1 to +0.5)
⬜ No Correlation (–0.1 to +0.1)
🟧 Weak Negative (–0.5 to –0.1)
🟥 Strong Negative (–1 to –0.5)
⚙️ User Inputs:
Lookback Period: Number of bars used to calculate correlation
Comparison Ticker: Choose any asset to compare against
Shading Toggles: Customize which correlation zones are highlighted
📈 Use Cases:
Identify evolving relationships between assets (e.g., BTC vs DXY, ETH vs SPX)
Spot when assets become inversely correlated or lose correlation entirely
Track regime shifts where traditional relationships break down or re-align
Use alongside trend or momentum strategies to add a cross-asset confirmation layer
🔍 Interpreting the Correlation:
+1 → Perfect positive (ranks match exactly)
+0.5 to +1 → Strong positive relationship
+0.1 to +0.5 → Weak but positive relationship
–0.1 to +0.1 → Essentially uncorrelated
–0.5 to –0.1 → Weak negative correlation
–1 to –0.5 → Strong inverse relationship
–1 → Perfect negative (rankings are completely opposite)
🧪 Technical Notes:
Calculation uses ranked returns to better reflect monotonic relationships
Smoothed with a simple moving average (SMA) for stability
Arrays are managed internally to maintain performance and adaptability
This script is ideal for traders seeking deeper insight into cross-asset dynamics, portfolio hedging, or timing divergence-based strategies.
Directional Comparisons - Two Tickers📊 Directional Comparisons – Two Tickers
Overview:
This tool allows you to visually and statistically compare the directional behaviour of any two assets on any chart timeframe. It identifies and color-codes each bar based on how both the current asset and your chosen comparison asset performed in that period (e.g., both up, both down, diverging). A statistical summary table dynamically updates in the corner of your chart, tracking the probability and streak performance of each condition.
🛠 How It Works:
Each candle is analysed and color-coded based on the relationship between the current chart's asset and a comparison asset of your choice:
✅ Green – Both tickers closed higher (bullish alignment)
🔻 Red – Both tickers closed lower (bearish alignment)
🔷 Blue – Current ticker up, comparison ticker down (positive divergence)
🟧 Orange – Current ticker down, comparison ticker up (negative divergence)
You can toggle each colour condition on/off independently.
📈 Statistical Table (Top Right):
For the candles in the visible chart range, the indicator displays:
The frequency (probability) of each condition
Longest, shortest, and average streaks for each condition
Average % change for both the current and comparison asset under each scenario
All stats auto-update as you zoom or scroll through the chart.
🔧 User Inputs:
Comparison Ticker: Choose any ticker symbol to compare against the current chart
Toggle Conditions: Enable or disable individual directional conditions (color-coded)
✅ Use Cases:
Spot high-probability alignment zones between two assets (e.g., BTC vs ETH, SPX vs VIX)
Identify divergence opportunities for trading signals
Analyse historical relationships and co-movements between assets
Perform correlation streak studies directly on the chart
🔍 Notes:
The script works across all timeframes (1min to monthly).
Stats only consider visible bars on your chart for responsiveness.
Ideal for pair traders, macro analysts, or anyone interested in cross-asset relationships.
Percentage Price LevelsPercentage Price Levels displays dynamic price levels based on percentage gains and losses from the current price. Instantly visualize where price would be at ±2%, ±4%, ±6%, ±8%, ±10%(and beyond) — perfect for setting profit targets, stop-losses, and understanding potential price movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
• Draws horizontal lines at percentage-based price levels above and below current price
• Green lines = potential profit targets (positive %)
• Red lines = potential stop-loss zones (negative %)
• Yellow line = current price reference
• Summary table shows all levels in a clean, easy-to-read format
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FEATURES
• Up to 8 positive and 8 negative percentage levels
• Fully customizable percentages (set your own values)
• Toggle each level on/off individually
• Adjustable font size (Tiny to Huge)
• Multiple line styles (Solid, Dashed, Dotted)
• Movable summary table (any corner)
• Base price options: Close, Open, High, Low, HL2, OHLC4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
1. Add the indicator to your chart
2. Default shows ±2%, ±4%, ±6%, ±8%, ±10% levels
3. Open Settings to customize:
• Enable/disable specific levels
• Change percentage values
• Adjust colors and font size
• Move table position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 USE CASES
• Day Trading — Quick intraday profit targets
• Swing Trading — Visualize multi-day price zones
• Risk Management — Set stop-losses based on % risk tolerance
• Options Trading — Find strike prices relative to spot
• Position Sizing — See exact dollar values at each level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 DEFAULT SETTINGS
Positive: +2%, +4%, +6%, +8%, +10% (3 extra slots available)
Negative: -2%, -4%, -6%, -8%, -10% (3 extra slots available)
Font Size: Normal
Line Style: Dashed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If you find this useful, please leave a like! Feedback and suggestions welcome in the comments.
Range Breakout Statistics [Honestcowboy]⯁ Overview
The Range Breakout Statistics uses a very simple system to detect ranges/consolidating markets. The principle is simple, it looks for areas where the slope of a moving average is flat compared to past values. If the moving average is flat for X amount of bars that's a range and it will draw a box.
The statistics part of the script is a bit more complicated. The aim of this script is to expand analysis of trading signals in a different way than a regular backtest. It also highlights the polyline tool, one of my favorite drawing tools on the tradingview platform.
⯁ Statistics Methods
The script has 2 different modes of analyzing a trading signals strength/robustness. It will do that for 2 signals native to the script.
Upper breakout: first price breakout at top of box, before max bars (100 bars by default)
Lower breakout: first price breakout at bottom of box, before max bars
The analysis methods themselves are straightforward and it should be possible for tradingview community to expand this type of analysis to other trading signals. This script is a demo for this analysis, yet some might still find the native signals helpful in their trading, that's why the script includes alerts for the 2 native signals. I've also added a setting to disable any data gathering, which makes script run faster if you want to automate it.
For both of the analysis methods it uses the same data, just with different calculations and drawing methods. The data set is all past price action reactions to the signals saved in a matrix. Below a chart for explaining this visually.
⯁ Method 1: Averages Projection
The idea behind this is that just showing all price action that happened after signal does not give actionable insights. It's more a spaghetti jumble mess of price action lines. So instead the script averages the data out using 3 different approaches, all selectable in the settings menu.
Geometric Average: useful as it accurately reflects compound returns over time, smoothing out the impact of large gains or losses. Accounts for volatility drift.
Arithmetic Average: a standard average calculation, can be misleading in trading due to volatility drift. It is the most basic form of averaging so I included it.
Median: useful as any big volatility huge moves after a signal does not really impact the mean as it's just the middle value of all values.
These averages are the 2 lines you will find in the middle of the projection. Having a clear difference between a lower break average and upper break average price reaction can signal significance of the trading signal instead of pure chaos.
Outside of this I also included calculations for the maximum and minimum values in the dataset. This is useful for seeing price reactions range to the signal, showing extreme losses or wins are possible. For this range I also included 2 matrices of highs and lows data. This makes it possible to draw a band between the range based on closing price and the one using high/low data.
Below is a visualisation of how the averages data is shown on chart.
⯁ Method 2: Equity Simulation
This method will feel closer to home for traders as it more closely resembles a backtest. It does not include any commissions however and also is just a visualisation of price reaction to a signal. This method will simulate what would happen if you would buy at the breakout point and hold the trade for X amount of bars. With 0 being sell at same bar close. To test robustness I've given the option to visualise Equity simulation not just for 1 simulation but a bunch of simulations.
On default settings it will draw the simulations for 0 bars holding all the way to 10 bars holding. The idea behind it is to check how stable the effect is, to have further confirmation of the significance of the signal. If price simulation line moves up on average for 0 bars all the way to 10 bars holding time that means the signal is steady.
Below is a visualisation of the Equity Simulation.
⯁ Signal filtering
For the boxes themselves where breakouts come from I've included a simple filter based on the size of the box in ATR or %. This will filter out all the boxes that are larger top to bottom than the ATR or % value you setup.
⯁ Coloring of Script
The script includes 5 color themes. There are no color settings or other visual settings in the script, the script themes are simple and always have colors that work well together. Equity simulation uses a gradient based on lightness to color the different lines so it's easier to differentiate them while still upper breaks having a different color than lower breaks.
This script is not created to be used in conjunction with other scripts, it will force you into a background color that matches the theme. It's purpose is a research tool for systematic trading, to analyse signals in more depth.
Metaverse color theme:
⯁ Conclusion
I hope this script will help traders get a deeper understanding of how different assets react to their assets. It should be possible to convert this script into other signals if you know how to code on the platform. It is my intention to make more publications that include this type of analysis. It is especially useful when dealing with signals that do not happen often enough, so a regular backtest is not enough to test their significance.
NSE Multi Script Open Interest Change Analysis by JITENDRANSE Multi Script Open Interest Change Dashboard
Index Trader Specially Intraday Need More Attention, while Building Position. They also need to Monitor INDEX MAJOR WEITAGE Script Reaction and also when Need to Cover Position.
For More Grip in Index Trading I Have Designed this Indicator for Trading view community User.
Overview Summary of This Indicator
This indicator provides a intraday Open Interest (OI) Change analysis for major NSE Listed Futures contracts from 9:15 AM to 3:30 PM, segmented into 15-minute time slots.
It tracks Price vs Open Interest behavior and classifies every 15-minute move into professional Derivative market phases:
Each signal is displayed in a clean time-slot matrix table for multiple NSE futures in one view.
LB Long Build-up (Price Up, OI Up)
SB Short Build-up (Price Down, OI Up)
SC Short Covering (Price Up, OI Down)
LC Long Unwinding (Price Down, OI Down)
Why This Indicator Is Important for Traders
Most traders only look at price movement, but in derivatives trading:
Price + Open Interest together reveal the real market intention.
This dashboard helps traders instantly identify:
Where new positions are being created (Long Build-up / Short Build-up)
Where positions are getting closed (Short Covering / Long Unwinding)
Whether a move is strong and supported by fresh money or
just a temporary pullback or short squeeze
Key Features / What This Indicator Does
Multi-symbol dashboard (NIFTY, BANKNIFTY, FINNIFTY, stocks & more)
Automatic 15-minute slot tracking from 9:15 to 15:30
Real-time Price + OI phase detection as provided by Trading view
Optional display of OI Change in K with signals
Optional to Enable, Disable and Change Future Symbol
Compact, professional table layout
Fully customizable symbols, size & position
Image/ Snapshot to Understand Setting
When Show OI Change in K with LB SB LC SC is "Enabled"
Trader will See only PRICE & OPEN INTEREST Interpretation with Actual Data in 15 Minutes Timeframe
When Show OI Change in K with LB SB LC SC is "Disable"
Trader will See only PRICE & OPEN INTEREST Interpretation in Short Form
Code Summary How This Script Fetches and Calculates Data
using request.security() function to fetch 15-minute futures data for each selected NSE symbol
= request.security(sym, "15", [time, close, close ])
To Fetch Open Interest (OI) symbol:
oiSym = str.format("{0}_OI", ticker.standard(sym))
Using Price + OI relationship, each 15-minute candle is classified as:
sig =
priceChg > 0 and oiChg > 0 ? "LB" : // Long Build-up
priceChg < 0 and oiChg > 0 ? "SB" : // Short Build-up
priceChg > 0 and oiChg < 0 ? "SC" : // Short Covering
priceChg < 0 and oiChg < 0 ? "LC" : // Long Unwinding
"N"
Thanks
Trading View Community
NYC Midnight LITE [Takeda Trades 2026]NYC Midnight LITE
by @TakedaTradesOfficial
v1 01/09/2026
═══════════════════════════════════════════════════════════════
NYC Midnight LITE Indicator
What This Indicator Does
This is a NYC Midnight Opening Range indicator that tracks the first hour of trading (00:00 - 01:00 EST) and uses it to identify potential trading opportunities throughout the day.
Core Concept
The indicator is based on the premise that the first hour of the New York trading day (midnight EST) establishes key price levels that often act as support/resistance for the remainder of the session. This is a popular ICT (Inner Circle Trader) concept.
═══════════════════════════════════════════════════════════════
Visual Elements Explained
1. Yellow Box (Hour 1 Range)
• Shows the HIGH and LOW established during 00:00-01:00 EST
• The box stops at the end of Hour 1
• The HIGH and LOW lines extend to current price for easy reference
2. Yellow Dashed Line (Midline)
• The middle point between Hour 1 high and low
• Often acts as a pivot - price may reverse here or use it as support/resistance
3. Black Lines (Open & Close)
• First line: The OPEN price of the very first candle at 00:00
• Second line: The CLOSE price of the very first candle
• These show immediate directional bias
4. Orange Vertical Line
• Marks the start of each new trading day at midnight EST
• Helps you identify session boundaries
5. Candle Colors
• Yellow candles: Currently in Hour 1 (00:00-01:00)
• Green candles: Price above Hour 1 high (bullish breakout)
• Red candles: Price below Hour 1 low (bearish breakout)
• Gray candles: Price inside Hour 1 range (consolidation)
═══════════════════════════════════════════════════════════════
How to Trade With This Indicator
Strategy 1: Breakout Trading (Most Common)
LONG Setup:
1. Wait for Hour 1 to complete (01:00 EST)
2. Enter when price closes above the yellow Hour 1 HIGH
3. Stop loss: Below Hour 1 low or midline
4. Target: Previous day high, or 1.5-2x the Hour 1 range
SHORT Setup:
1. Wait for Hour 1 to complete
2. Enter when price closes below the yellow Hour 1 LOW
3. Stop loss: Above Hour 1 high or midline
4. Target: Previous day low, or 1.5-2x the Hour 1 range
Tips:
• Stronger breakouts often happen during London session (2:00-5:00 EST) or NY open (9:30 EST)
• Use the alerts to notify you when breakouts occur
─────────────────────────────────────────────────────────────
Strategy 2: Range Reversion (Contrarian)
If price breaks out but lacks momentum:
• Wait for price to reenter the Hour 1 range
• Trade back toward the midline or opposite boundary
• Best during low-volatility sessions
─────────────────────────────────────────────────────────────
Strategy 3: Midline Bounce
The yellow dashed midline often acts as support/resistance:
• If price is above midline: Look for bounces off midline to go long
• If price is below midline: Look for rejections at midline to go short
• Works well during choppy/ranging days
─────────────────────────────────────────────────────────────
Strategy 4: First Candle Bias
The black lines (first candle open/close) show early directional intent:
• Close > Open: Bullish bias - favor longs on pullbacks
• Close < Open: Bearish bias - favor shorts on rallies
• These lines often act as intraday support/resistance
═══════════════════════════════════════════════════════════════
Best Practices
Timeframes
• Best on: 1-minute, 5-minute, 15-minute charts
• The indicator tracks NYC time, so it works on any timezone
Markets
• Forex pairs: EUR/USD, GBP/USD, USD/JPY (high liquidity)
• Indices: ES, NQ futures, SPY (active during NYC session)
• Crypto: BTC, ETH (24/7 markets with strong NYC midnight volatility)
Risk Management
• The Hour 1 range gives you natural stop-loss levels
• Risk 1-2% per trade
• If the range is very small (<10 pips/points), wait for expansion
═══════════════════════════════════════════════════════════════
What the Settings Mean
• Show Hour 1 Box: Displays the yellow range box
• Show Midline: Shows the dashed middle line
• Color Hour 1 Candles Yellow: Highlights the first hour
• Color Candles Based on Range: Green/Red/Gray based on position
• Show Labels: Displays "NYC 00:00" marker
• Box Transparency: Adjust visibility of the yellow box
═══════════════════════════════════════════════════════════════
Common Scenarios
Bullish Day Example:
• Hour 1 range forms: High at 4500, Low at 4480
• At 3:00 EST, price breaks above 4500 (green candles)
• Enter long, stop at 4490 (midline), target 4530
Bearish Day Example:
• Hour 1 range: High 1.0850, Low 1.0830
• Price breaks below 1.0830 at London open
• Enter short, stop at 1.0840 (midline), target 1.0810
Ranging Day Example:
• Small Hour 1 range forms
• Price chops between high/low all day (gray candles)
• Avoid breakout trades - fade extremes back to midline instead
═══════════════════════════════════════════════════════════════
Key Takeaways
✅ Wait for Hour 1 to complete before making decisions
✅ Clean breaks with strong candles are more reliable
✅ Combine with other confluences (support/resistance, market structure)
✅ The midline is your friend - watch for reactions there
✅ Alerts will notify you of breakouts automatically
This is a framework, not a crystal ball. Use proper risk management and combine with your trading plan!
Recurring Trading DaysRecurring Trading Days is a professional calendar-based market overlay that highlights the most important time-driven structures used by institutional traders.
The indicator maps recurring trading days directly onto the price chart, revealing how liquidity, volatility, and positioning change throughout the month.
It displays:
Weekdays (blue gradient)
Each weekday can be enabled or disabled individually. This reveals weekly behavioral patterns and rhythm in market activity.
N-th Trading Day of the Month (white)
Marks the first, second, third or any selected trading day of each month.
This is where institutional flows, pension allocations and portfolio rebalancing typically enter the market.
NFP Friday (green)
The first Friday of every month when the US Non-Farm Payrolls report is released.
One of the highest-impact macroeconomic trading days.
Monthly Options Expiration - OPEX (red)
The third Friday of each month when index and equity options expire.
Dealer hedging and gamma effects often create reversals or strong directional moves.
Quarterly Options and Futures Expiration (purple)
The third Friday of March, June, September and December.
This is the most important expiration day of the quarter, when options, futures and index products roll simultaneously.
Anniversaries and Fixed Dates (orange)
Unlimited recurring calendar dates in the format DD.MM;DD.MM;...
Useful for seasonal cycles, historical market turning points or personal trading rules.
The indicator uses a strict visual priority:
Fixed Dates > Quarterly OPEX > Monthly OPEX > NFP > N-th Trading Day > Weekdays
This ensures that the most important institutional events are always visible.
Volatility Ranges LABDescription This is the "LAB" edition of a comprehensive Volatility Analysis System designed for precision trading. It combines multi-timeframe statistical ranges (ADR, AWR, AMR) with a real-time Data Dashboard to visualize expected market moves.
Underlying Concepts & Methodology The indicator calculates volatility based on historical averages using either SMA or RMA (Wilder's Smoothing).
Anchoring: Projects ranges from the opening price. Includes a specialized NY Midnight Open (00:00 EST) anchor for accurate Forex alignments.
Projections: Plots standard volatility limits (100%) and exhaustion extensions (up to 200%) to identify overextended price action.
Dashboard: A built-in panel monitors the current status of all three timeframes (Daily, Weekly, Monthly), acting as a risk scanner.
Key Features
3 Timeframes: Simultaneous Daily (ADR), Weekly (AWR), and Monthly (AMR) levels.
Expansion Zones: Optional levels (125%, 150%, 200%) to spot extreme reversals.
Smart Dashboard: Color-coded table indicating risk levels (Traffic Light system).
Customization: Full control over colors, line styles, and label visibility.
How to Use
Targeting: Use the 100% lines as statistical take-profit zones.
Reversals: When price reaches expansion zones (e.g., 125% of ADR), the probability of a reversal increases significantly.
Dashboard: Use it to check if the asset has already consumed its average range for the day/week.
To comply with House Rules regarding non-English UI, here is the translation of the script's settings menu:
0. Rótulos (Labels)
Tamanho do Texto = Text Size
Mostrar Período/Nome/Preço = Show Period/Name/Price
Mostrar Variação Real % = Show Real % Variation
1. Geral (General)
Escala do Gráfico = Chart Scale (Linear/Log)
Método de Cálculo = Calculation Method (SMA/RMA)
2. ADR (Daily Settings)
Ativar ADR = Enable ADR
Período Média = Average Period (Days)
Usar NY Midnight Open = Use NY Midnight Open
Projeção Futura = Future Projection (Bars)
Mostrar Expansões = Show Expansions (125-200%)
Estilo/Espessura = Style/Width
Cor Máxima/Mínima = High/Low Color
Mostrar Terços/25%/50% = Show Thirds/25%/50%
3. AWR (Weekly Settings)
Ativar AWR = Enable AWR
Período Média = Average Period (Weeks)
Usar Abertura Semanal = Use Weekly Open Ref
4. AMR (Monthly Settings)
Ativar AMR = Enable AMR
Período Média = Average Period (Months)
5. Dashboard
Mostrar Dashboard = Show Dashboard
Tema de Fundo = Background Theme (Dark/Light)
Unidade de Medida = Unit (Points/Pips)
Psicologia das Cores = Color Psychology (Traffic Light/Heatmap)
Posição na Tela = Screen Position
First Candle com TargetsThis Pine Script implements a "First Candle of the Day" breakout strategy with targets:
Strategy Logic:
Identifies the first hourly candle of each trading day
Calculates the high, low, and range (distance) of that candle
Draws four horizontal levels on the chart:
High level (red solid line)
Low level (green solid line)
Buy target (blue dashed): High + Daily Range
Sell target (purple dashed): Low - Daily Range
Generates signals when price breaks above/below these levels:
BUY signal: When price closes ABOVE the Buy target (High + Range)
SELL signal: When price closes BELOW the Sell target (Low - Range)
Visualizes all levels with labels showing exact price values
Key Features:
Uses 1-hour timeframe
Lines extend 500 bars forward from the first candle
Automatic cleanup and update of levels each new day
Includes alert conditions for automated trading notifications
Marks the first candle of each day with a blue label
Trading Approach:
Breakout long when price exceeds the first candle's high by its full daily range
Breakout short when price falls below the first candle's low by its full daily range
The strategy assumes the first candle's range establishes intraday volatility boundaries
Lunch Hour Stats 1200 to 1300 NYSilver Futures Lunch Hour Statistics - how much does the price of silver fluctuate between the beginning of New York Lunch hour at 12 to 1pm. How often is it moving up vs down, by how much, etc.
NQ-Pro + StatsUse the standard deviations and apart from a personal configuration of certain specific candles, the standard deviation is not anchored to the open, and already
Thanks you
Statistical Map [Pro]+ | Algo Matrix |StatMap + Dynamic Volatility
StatMap + is an advanced statistical engine designed to map the "heartbeat" of price action. Unlike standard indicators that lag, StatMap projects statistical distributions (Mean, Deviation, and Extremes) based on historical data, giving you a roadmap for the current session.
This version introduces Dynamic Volatility Injection. The indicator creates a composite volatility heatmap that "travels" with live price action, lighting up the specific zone (M1, M2, or D) where the price is currently trading.
🧩 Key Features
1. The Statistical Zones ( The Map ) Price is divided into three predictive distinct zones based on the Opening price:
M1 (The Heart): The baseline statistical average. This is the "Fair Value" area.
M2 (The Expansion): The standard deviation zone. When price breaks M1, it typically seeks M2.
D (The Distribution): The statistical extreme. These are high-probability reversal or exhaustion points.
2. Dynamic Volatility Injection ( The Fuel ) This is the core innovation. The indicator calculates time-based volatility buckets (historical activity for specific times of day).
Live Adaptation: The heatmap colors don't just sit on one line.
If price is consolidating near Open, M1 glows with the volatility colors.
If price breaks M1 (Trend/Expansion), the volatility colors jump to M2.
If price hits an extreme, the colors jump to D.
Heatmap Colors:
🔵 Blue: Low expected volatility (Consolidation/Wait).
🟠 Orange: Normal volatility (Active trading).
🔴 Red: High volatility (Impact news/Major moves).
3. Future Projection The indicator projects the currently active zone forward into the future. This allows you to anticipate when high volatility is coming before the candle even prints.
4. Time Sectors Vertical dividers split your session into trading blocks (e.g., every 4 hours or 6 hours), helping you visualize session changes and time-based reversals.
GOLD QUANTUM MASTER🥇 GOLD QUANTUM MASTER 🥇
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A high-performance technical analysis suite engineered for institutional-grade precision on Gold (XAUUSD) and Bitcoin (BTCUSD). This Core Edition focuses on raw analytical power without external API overhead.
🚀 KEY FEATURES:
• INSTITUTIONAL FOOTPRINT: Advanced volume-to-MA filters to identify "Big Money" participation.
• HTF REVERSAL SCANNER: Specialized logic for 30m, 1H, and 4H charts to detect Pinbar and Engulfing reversals.
• LIQUIDITY FLOW ANALYTICS: Detects and highlights Previous Day High (PDH) and Low (PDL) sweeps.
• TREND EXHAUSTION FILTERS: Built-in RSI divergence logic to prevent entries at trend peaks or bottoms.
• PREMIUM DATA LABELS: Real-time on-chart display of Signal Mode, Quality Score, and dynamic targets.
• NEON VISUAL SYSTEM: High-contrast, glassmorphic layout for maximum clarity during trading sessions.
BEST FOR: Technical Analysts, Manual Traders, and High-Performance Charting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The best work on Higher time frames, I still not tested on lower time frames, but should be also precise.
Feel free to adjust the settings to your own needs.
Make your own decisions when you trade, do not put all confidence into a script, it may fail also.
Cumulative % Change & Inflation-Adjusted (Auto CPI by Currency)This indicator tracks an asset’s cumulative performance from a user-defined start date (T0) and compares nominal returns with inflation-adjusted (“real”) returns, automatically selecting the appropriate CPI series based on the asset currency (USD or EUR).
What it shows
Nominal cumulative return (%) from T0, based on the selected price series.
Inflation change (%) from T0, using a monthly CPI index:
USD assets: US CPI (FRED CPIAUCSL)
EUR assets: Euro Area CPI (TradingView Economics EUCPI)
Real cumulative return (%) from T0, i.e., nominal return deflated by cumulative CPI.
Key inputs
T0 (start date): Year / month / day used as the reference point.
Asset currency (USD/EUR): Drives automatic CPI selection.
Initial capital: Starting value expressed in the asset’s currency; used to display current nominal and real (inflation-adjusted) portfolio value.
Performance ticker (optional): Lets you compute performance using a different symbol than the chart (e.g., a total-return series or an accumulating ETF). If left empty, the script uses the chart’s symbol.
Outputs
Plots
Nominal cumulative % change
Real (inflation-adjusted) cumulative % change
CPI % change
Summary table
Nominal return %
Real return %
CPI change %
Reference date (T0)
Initial value
Current nominal value
Current inflation-adjusted value
Performance ticker used
Notes
CPI is monthly, so the inflation line updates in steps.
If you use a price series that does not include dividends (standard “close”), nominal/real returns may underestimate total return for dividend-paying assets.
Silver vs S&P 500 (Rebased to 100) I have ensured that silver prices and the s&p 500 price are overlayed to give the common folk an understanding. The important part is that the prices are rebased in nature. i.e. if they both started at 100 from an n year which in this case is 1992.
NY VWAP 2std to 3std Probabilities + Exit ZonesHow it works:
Time buckets
Early: 10:30 – 12:00
Mid: 12:00 – 14:00
Late: 14:00 – 16:00
Bands
2σ band (s2up / s2dn) → this is where the “potential breakout” starts.
3σ band (s3up / s3dn) → this is the “target” for the 2→3σ move.
Counting logic
If during a given bucket, the price touches the 2σ band, it counts as a 2σ hit.
If after that, in the same bucket, the price also touches the 3σ band, it counts as a 3σ hit.
Probability calculation
\text{Probability 2→3σ} = \frac{\text{# of 3σ hits}}{\text{# of 2σ hits}} \times 100
For example, if in the late session the lower 2σ band is hit 10 times, and of those 10 times, 6 eventually hit the lower 3σ band, the script will show 60%.
Labels / lines
On the chart, Upper/Lower 2→3σ probabilities are displayed per bucket.
So yes: “Late Lower 2σ → 3σ: 60%” means: if price touches the lower 2σ band in the late session, historically, 60% of those touches continued to the 3σ band.
⚠ Important caveats:
These are historical probabilities, not predictions.
Small sample sizes in a bucket can make percentages unstable early in the day.
The script only counts session NY bars (0930–1600) and ignores pre-10:30 hits to reduce opening volatility noise.
PA Bar Count (First Edition)This script is written by FanFan.
It is designed to count price action bars and identify the bar number in a sequence.
The script helps traders track bar structure and improve PA analysis.
Daily Floor PivotsDaily Floor Pivots with Comprehensive Statistical Analysis
Overview
This indicator combines traditional floor pivot levels with golden zone analysis and comprehensive statistical insights derived from 15 years of historical NQ futures data. While the pivot levels and golden zones can be applied to any instrument, the statistical tables are specifically calibrated for NQ/MNQ futures based on analysis of 2,482 NY Regular Trading Hours (RTH) sessions from 2010-2025.
What Makes This Indicator Original
Unlike standard pivot indicators that merely plot levels, this tool provides:
Enhanced Golden Zone Analysis: Calculates not only the main golden zone (0.5-0.618 retracement of previous day's range) but also golden zones between each pivot pair (PP-R1, R1-R2, R2-R3, PP-S1, S1-S2, S2-S3)
Data-Driven Statistical Tables: Two comprehensive tables displaying real statistics from 2,482 trading days of NQ analysis, including:
Probability-based touch rates and continuation patterns
Context-aware statistics based on opening position
Gap analysis and behavioral patterns
First touch dynamics and time-to-reach averages
Granular Customization: Every visual element and statistical section can be independently toggled, allowing traders to focus on what matters most to their strategy
How It Works
Pivot Calculation Methodology
The indicator uses the standard floor pivot formula based on the previous day's price action:
Pivot Point (PP) = (Previous High + Previous Low + Previous Close) / 3
Resistance Levels: R1, R2, R3 calculated from PP and previous range
Support Levels: S1, S2, S3 calculated from PP and previous range
Golden Zone Calculations
Main Golden Zone: The 0.5 to 0.618 Fibonacci retracement of the previous day's range, representing a key reversal and continuation area.
Inter-Pivot Golden Zones: For each adjacent pivot pair, golden zones are calculated as:
Resistance pairs (PP→R1, R1→R2, R2→R3): 0.5-0.618 range from the lower pivot
Support pairs (PP→S1, S1→S2, S2→S3): 0.382-0.5 range from the upper pivot
These zones represent high-probability areas where price tends to react when moving between pivot levels.
Statistical Analysis Source
All statistics displayed in the tables are derived from external Python analysis of 15 years of 1-minute NQ futures data (2010-2025), specifically analyzing NY RTH sessions (9:30 AM - 4:00 PM EST). The analysis tracked:
2,482 complete trading days
Intraday pivot touches and closes
Opening position context
Gap behavior relative to previous day
Time-of-day patterns
Sequential pivot interactions
IMPORTANT: While the pivot levels and golden zones are universally applicable mathematical calculations that work on any instrument, the statistical percentages shown in the tables are specific to NQ/MNQ behavior only. Do not assume these statistics transfer to other instruments.
Configuration Guide
Basic Settings
Number of Periods Back (1-20, default: 3)
Controls how many historical pivot periods are displayed on the chart
Setting to 1 shows only current day's pivots
Higher values show more historical context
Labels Position (Left/Right)
Choose whether pivot labels appear on the left or right side of each level line
Line Width (1-5, default: 2)
Adjust the thickness of all pivot and golden zone lines
Golden Zone Customization
Show Daily Golden Zone (0.5-0.618)
Toggle the main golden zone on/off
When enabled, displays a shaded box between the 0.5 and 0.618 retracement levels
Line Color / Fill Color
Customize the appearance of the main golden zone
Fill color determines the shaded box transparency
Show Labels / Show Prices
Control whether "0.5" and "0.618" labels appear
Control whether price values are displayed on labels
Inter-Pivot Golden Zones
Six toggle options allow you to show/hide individual golden zones:
PP to R1 / PP to S1: Most frequently touched (60.8% / 50.9%)
R1 to R2 / S1 to S2: Moderately touched (25.2% / 24.0%)
R2 to R3 / S2 to S3: Rarely touched (9.4% / 10.5%)
Line Color / Fill Color: Customize appearance of all inter-pivot zones
Show Labels / Show Prices: Control labeling for inter-pivot zones
Usage Tip: Disable outer zones (R2-R3, S2-S3) on lower volatility days to reduce chart clutter.
Pivot Display
Show Support/Resistance Levels: Master toggle for all pivot lines
Show SR Labels / Show SR Prices: Control labeling on pivot levels
Individual level toggles and colors:
PP (Pivot Point): The central reference point
R1/S1: Primary resistance/support (38.9% / 35.4% touch rate)
R2/S2: Secondary levels (15.6% / 16.1% touch rate)
R3/S3: Extended levels (5.1% / 7.3% touch rate)
Color Customization: Each level's color can be independently set
Overall Statistics Table
Show Overall Statistics Table: Master toggle
Table Size: tiny/small/normal/large/huge/auto
Table Position: Top Left/Top Right/Bottom Left/Bottom Right
Section Toggles (enable/disable individual sections):
Current Session Info
Touch & Close Rates
Continue & Reject Rates
First Touch Statistics
Golden Zone Statistics
Daily Close Distribution
Highest/Lowest Levels Reached
Context Statistics Table
Show Context Statistics Table: Master toggle
Table Size: tiny/small/normal/large/huge/auto
Table Position: Top Left/Top Right/Bottom Left/Bottom Right
Section Toggles:
Current Opening Zone
Opening Zone Statistics
Previous Day Gap Context
Understanding the Statistical Tables
TABLE 1: OVERALL STATISTICS
This table presents universal statistics from 2,482 days of NQ analysis.
Current Session Info
Displays real-time context for the active session:
Open: Where the current RTH session opened relative to pivots (e.g., "GZ_TO_R1" means opened between the PP-R1 golden zone and R1)
Now: Current price position relative to pivots
Direction: Bull (close > open), Bear (close < open), or Flat
How to use: This section helps you quickly understand where price opened and where it currently is, providing immediate context for the day's action.
Touch & Close Rates
Shows probability that each pivot level will be reached during RTH:
Touch %: Percentage of days where price touched this level at any point
Example: R1 touched 38.9% of days, PP touched 57.5% of days
Close %: Percentage of days where price closed beyond this level
Example: R1 close beyond happened 39.8% of days
How to interpret:
Higher touch rates indicate more reliable levels for intraday targeting
The difference between touch and close rates shows rejection frequency
PP has the highest touch rate (57.5%), making it the most magnetic level
Outer levels (R3/S3) have low touch rates (5.1%/7.3%), indicating rare extension days
Continue & Reject Rates
When a level is touched, these statistics show what happens next:
Continue %: Probability price continues through the level
Example: When PP is touched, price continues 88.1% of the time
Reject %: Probability price rejects from the level and reverses
Example: When R1 is touched, price rejects 50.9% of the time
How to interpret:
PP shows highest continuation (88.1%), confirming it's a poor reversal level
Support levels (S1/S2/S3) show strong rejection rates (62.5%/60.7%/56.1%), making them better reversal candidates
Continuation rates above 80% suggest the level is better as a target than an entry
First Touch Statistics
Analyzes which pivot is typically touched first during RTH:
1st Touch %: Probability this level is the first pivot encountered
PP is first touched 37.1% of days (most common)
R1 is first touched 26.0% of days
S1 is first touched 10.9% of days
1st→Continue: If this level is touched first, probability of continuation
S1-S3 show 95.6%-100% continuation when touched first
This means when price reaches support first, it usually continues lower
Avg Time: Minutes after 9:30 AM EST before first touch
PP: 1h 6m average
S3: 19m average (when bearish)
R3: 3h 19m average (when bullish)
How to interpret:
Opening away from PP means higher probability of reaching extremes (R2/R3 or S2/S3)
When support is touched first (within first 2 hours), expect continuation lower
Late-day first touches (after 2 PM) often indicate strong trending days
Multi-Touch: Shows how often levels are tested multiple times (92.8%-95.0% across all levels)
Golden Zone Statistics
Main GZ: 58.5% touch rate for the 0.5-0.618 zone
Inter-Pivot zones:
PP-R1: 60.8% (highest probability)
PP-S1: 50.9%
R1-R2: 25.2%
S1-S2: 24.0%
R2-R3: 9.4%
S2-S3: 10.5%
How to interpret:
Main GZ is touched more often than any individual resistance level
PP-R1 and PP-S1 golden zones are high-probability mean reversion areas
Outer golden zones (R2-R3, S2-S3) are only relevant on high volatility days
Daily Close Distribution
Shows where RTH sessions typically close:
Above/Below PP: 58.5% close above, 41.5% below (slight bullish bias)
Above R1: 24.5% of days
Below S1: 18.7% of days
In GZ: Only 6.3% close in the golden zone (typically transits through it)
How to interpret:
Most days (58.5%) have bullish bias (close above PP)
Less than 25% of days are strong trending days (beyond R1/S1)
Golden zone is an action area, not a resting area
Highest/Lowest Levels Reached
Distribution of the most extreme level reached:
High Resist: R1 (26.0%), R2 (10.8%), R3 (5.1%)
Low Support: S1 (35.4%), S2 (1.9%), S3 (0.6%)
How to interpret:
Most days don't reach beyond R1 or S1
R3/S3 are rare events (5.1%/0.6%), indicating major trending days
S1 is reached as lowest level more often than R1 as highest, suggesting downside is more frequently tested
TABLE 2: CONTEXT STATISTICS
This table provides conditional statistics based on how the session opened.
Current Opening Zone
Displays which of 13 possible zones the RTH session opened in:
ABOVE_R3, R2_TO_R3, R1_TO_R2, GZ_TO_R1, IN_GZ, PP_TO_GZ, AT_PP, GZ_TO_PP, S1_TO_GZ, S2_TO_S1, S3_TO_S2, BELOW_S3
How to use: This immediately tells you the market structure and what type of day to expect.
Opening Zone Statistics
Detailed statistics for the current opening zone (only shows for 6 major zones):
For each zone, you see:
Occurs: How often this opening scenario happens
GZ_TO_R1: 38.4% (most common)
AT_PP: 12.8%
S1_TO_GZ: 24.2%
R1_TO_R2: 9.4%
S2_TO_S1: 6.3%
IN_GZ: 3.8%
Bull/Bear %: Close direction probability
Example: GZ_TO_R1 is perfectly balanced (50.0% bull / 49.6% bear)
R1_TO_R2 is bullish (58.1% bull / 41.0% bear)
Levels Hit: Probability of reaching each pivot level from this opening
Helps identify high-probability targets
Example: From GZ_TO_R1, PP is hit 52.9%, R1 is hit 49.0%, S1 is hit 21.6%
How to interpret:
GZ_TO_R1 (most common): Balanced day, watch PP and GZ for direction clues
AT_PP: Slight bullish bias (56.9%), high chance of touching both PP (92.8%) and GZ (90.3%)
R1_TO_R2: Bullish bias (58.1%), expect continuation to R2 (58.1% chance)
S2_TO_S1: Bullish reversal setup (59.9%), very high chance of S1 touch (82.8%)
IN_GZ: Rare opening (3.8%), bullish bias, virtually guaranteed GZ touch (100%)
Previous Day Gap Context
Shows current gap scenario and typical behavior:
Three scenarios:
GAP UP: Opened Above Yesterday's High (20.5% of days)
R1 Touch: 65.9% (high probability)
R2 Touch: 42.1%
S1 Touch: 15.0% (low probability)
Bias: Bullish continuation
GAP DOWN: Opened Below Yesterday's Low (11.3% of days)
S1 Touch: 71.5% (high probability)
S2 Touch: 55.2%
R1 Touch: 12.1% (low probability)
Bias: Bearish continuation
NO GAP: Opened Within Yesterday's Range (68.2% of days)
PP Touch: 69.5%
GZ Touch: 71.7%
R1 Touch: 35.2%
Bias: Balanced (watch for direction at PP/GZ)
How to interpret:
Gap days (up or down) tend to continue in the gap direction
When gapping, fade trades are low probability (15.0% and 12.1%)
Most days (68.2%) open within previous range, making PP and GZ critical decision zones
The "bias" line provides clear directional guidance for trade selection
Practical Application Examples
Example 1: Standard Day Setup
Scenario: RTH opens at 20,450
PP: 20,400
GZ: 20,390-20,395
R1: 20,425
Previous day high: 20,460
What the tables tell you:
Opening Zone: "GZ_TO_R1" (38.4% occurrence)
Gap Context: "NO GAP" (68.2% occurrence)
Expected behavior: Balanced (50/50 bull/bear)
High probability: PP touch (52.9%), GZ touch (56.8%)
Moderate probability: R1 touch (49.0%), S1 touch (21.6%)
Trade plan:
Wait for price to reach PP (52.9% chance) or GZ (56.8% chance)
Look for directional confirmation at these levels
First target R1 if bullish, S1 if bearish
Avoid assuming direction without confirmation (perfectly balanced opening)
Example 2: Gap Up Day
Scenario: RTH opens at 20,510
Previous day high: 20,460
R1: 20,425
R2: 20,475
What the tables tell you:
Gap Context: "GAP UP" (20.5% occurrence)
R1 touch: 65.9% probability
R2 touch: 42.1% probability
S1 touch: Only 15.0% probability
Bias: Bullish continuation
Trade plan:
Favor long setups
Target R1 first (65.9% chance), then R2 (42.1%)
If R1 breaks, R2 becomes likely target
Shorting is low probability (only 15.0% reach S1)
Example 3: Opening in Golden Zone
Scenario: RTH opens at 20,393
PP: 20,400
GZ: 20,390-20,395
What the tables tell you:
Opening Zone: "IN_GZ" (rare, only 3.8% occurrence)
Bullish bias: 58.1%
GZ touch: 100% (guaranteed - already there)
PP touch: 75.3%
R1 touch: 41.9%
Trade plan:
Expect price to test PP (75.3% chance)
Slight bullish bias suggests long setups better than shorts
Watch how price reacts at PP - likely to continue to R1 (41.9%)
This is an uncommon opening, suggesting potential for larger moves
Best Practices
Match Your Instrument: Remember, statistics are NQ-specific. If trading other instruments, use the levels but disregard the statistical percentages.
Combine with Price Action: Use the statistics for probability context, not as standalone signals. Always confirm with price action, volume, and your trading methodology.
Adapt Table Display: Don't display all sections all the time. Toggle based on your trading phase:
Pre-market: Focus on "Gap Context" to understand the setup
Market open: Watch "Opening Zone Statistics" for directional bias
Intraday: Monitor "Current Session Info" for position tracking
Understand Context: A 60% touch rate doesn't mean guaranteed—it means 40% of days don't touch. Use these probabilities to size positions and manage expectations.
Inter-Pivot Golden Zones: These are most useful when price is already in motion toward a level. For example, if price breaks above PP heading to R1, the PP-R1 golden zone (60.8% touch rate) becomes a high-probability pullback area.
Time Awareness: The "Avg Time" statistics help you understand urgency. If it's 10:30 AM and S1 hasn't been touched (average is 55 minutes), the window for bearish moves is closing.
Technical Notes
Time Zone: All times referenced are NY/EST
Session Definition: RTH is 9:30 AM - 4:00 PM EST
Calculation Period: Pivots update daily based on previous 24-hour period (18:00 previous day to 17:00 current day)
Data Source: Statistics derived from 12 years of NQ 1-minute futures data (2013-2025)
Sample Size: 2,482 complete RTH trading sessions
Disclaimer
This indicator provides statistical probabilities based on historical NQ futures data. Past performance does not guarantee future results. The statistical tables are educational tools and should not be the sole basis for trading decisions. Always:
Use proper risk management
Combine with your own analysis
Understand that probabilities are not certainties
Remember that statistics are instrument-specific (NQ/MNQ only)
Credits
Statistical analysis performed using Python analysis of 12 years of historical NQ futures data. All pivot and golden zone calculations use standard mathematical formulas applicable to any instrument.
Seasonality AdvancedDescription This is a professional-grade Seasonality Analysis tool designed to project future price trends based on historical cyclical patterns. Unlike simple seasonal indicators that just average price, this script offers a statistical approach with a "Zero Gravity" visualization mode and a real-time Data Dashboard.
Underlying Concepts & Methodology The script calculates the seasonal tendency by averaging the price performance of the same day/week over a user-defined lookback period (e.g., 5, 10, or 15 years).
Data Alignment: It aligns historical data based on trading days (default 252) or calendar days to create a coherent "Annual Cycle".
Smoothing: A Moving Average is applied to the raw seasonal data to filter out noise and reveal the true macro tendency.
Correlation Engine: It calculates the real-time correlation between the current price action and the projected seasonal line. This acts as a "Lie Detector"—if correlation is high, the seasonal pattern is currently valid.
Key Features
Multi-Cycle Analysis: Plot up to 3 different seasonal baselines simultaneously (e.g., Short-term 5Y vs. Long-term 15Y cycles).
Zero Gravity View: Uses a "Joyplot" style separation (Stacking) to prevent lines from overlapping messily, making it easier to compare different cycles.
Statistical Dashboard: A built-in table displays Avg Return, WinRate, Volatility Risk, and Correlation.
How to Use
Projections: Use the lines extending into the future to anticipate potential turning points.
Confluence: When the 5-year and 10-year lines point in the same direction, the probability increases.
Filter: Watch the "Correlation" column in the table. Low correlation means the current market is decoupling from history.
To comply with House Rules regarding non-English UI, here is the translation of the script's settings menu:
1. Cálculos Sazo 3 (Calculation Settings)
Dias de negociação = Trading Days (Fixed 252 or Variable)
Método de dias = Day Count Method (Min, Max, Avg)
Projeção Futura (Barras) = Future Projection (Bars)
Suavização (Média) = Smoothing (MA Length)
Deslocamento = Offset
2. Visualização e Layout (Visuals)
Empilhamento / Separação (%) = Stacking / Separation %
Distância Vertical = Vertical Distance
Distância da Etiqueta = Label Offset
3. Painel Estatístico (Statistics Panel)
Mostrar Tabela = Show Table
Mostrar Próximo Mês = Show Next Month
Mostrar Linha Méd/Alvo = Show Avg/Target Row
Texto Suave = Soft Text (Transparency)
Período Correlação = Correlation Period
Tema = Theme (Dark/Light)
Tamanho = Size
Posição = Position
4. Linha de Hoje (Today's Line)
Mostrar Linha = Show Vertical Line
Cor/Estilo/Espessura = Color/Style/Width
5. Linhas 1, 2, 3 (Seasonal Lines)
Ativar Linha = Enable Line
Período (anos) = Lookback Period (Years)
Descrição Este indicador é uma ferramenta completa de Sazonalidade que projeta tendências futuras baseadas em padrões históricos. Ele inclui um painel estatístico exclusivo que mostra a probabilidade (WinRate) e a correlação do ciclo atual.
Funcionalidades
Projeção Futura: Desenha o comportamento provável do preço para os próximos dias.
Painel Estatístico: Mostra retorno médio, risco e correlação em tempo real.
Zero Gravity: Visualização empilhada para facilitar a leitura de múltiplos ciclos.
Passiv Algo V2 PXL PXH Time-Based Liquidity Levels Indicator
This indicator automatically identifies and plots time-based liquidity levels derived from key market sessions and higher-timeframe reference periods.
By focusing on institutional trading windows and recurring time structures, it highlights areas where liquidity is statistically more likely to be present — zones that often act as reaction points with a high probability of price rejection or reversal.
Key Features:
🔹Automatic detection of time-based liquidity levels
🔹Levels based on previous session highs & lows and intraday reference ranges
🔹Designed to align with institutional market timing
🔹Clean and non-repainting levels
🔹Works on all markets and timeframes
Why it works:
Financial markets move in cycles driven by time and liquidity. When price revisits liquidity pools formed at specific times, it often reacts due to order accumulation and distribution by large participants. This indicator helps traders anticipate those reactions before price reaches the level.
Best Use Cases:
🔹Liquidity sweeps & rejections
🔹Mean reversion setups
🔹Session-based trading strategies
🔹Confluence with market structure and price action
⚠️ This indicator does not provide trade signals. It is designed to be used as a contextual tool alongside proper risk management and confirmation.






















