Daily Percentage Oscillator### Daily Percentage Oscillator – Indicator Description
The **Daily Percentage Oscillator** transforms intraday price action into a clean, normalized percentage-based view, using the previous trading day's closing price as the fixed 0% baseline. Each new trading day automatically resets the axis to that prior close, allowing you to visualize true daily price oscillation without the distortion of absolute price levels or cumulative trends.
Key features:
- **Percentage-based OHLC display**: All bars or candlesticks represent percentage change from the previous day’s close, creating a consistent oscillation around the 0% line.
- **Daily reset**: The baseline updates every session, making it ideal for intraday traders focusing on relative strength, mean reversion, or daily momentum patterns.
- **Toggle between bars and candlesticks**: Choose your preferred visual style.
- **Simple Moving Average (SMA)**: Optional SMA applied directly to the percentage close values (default 20-period, fully customizable).
- **Daily-resetting VWAP**: Volume-Weighted Average Price calculated on the percentage series, resetting at the start of each trading day for precise intraday anchoring.
- **Clean presentation**: No clutter from scale labels or status line values — only the essential visuals appear in the pane.
This indicator is particularly useful for:
- Comparing intraday momentum across different assets or timeframes on equal footing.
- Identifying overbought/oversold conditions relative to the prior close.
- Enhancing mean-reversion and range-bound trading strategies.
- Overlaying percentage-based anchors (SMA, VWAP) that respect the daily session structure.
Works on any intraday timeframe (1m, 5m, 15m, etc.) and is designed to stay lightweight and responsive. Perfect for day traders and scalpers seeking a clearer, more intuitive view of daily price behavior.
المؤشرات والاستراتيجيات
Execution-Weighted Market Regime Map (EWRM)Overview
The Execution-Weighted Market Regime Map is designed to answer a simple question:
“Is this market worth trading right now, or is it mostly noise and costs?”
Instead of focusing only on trend vs range, it evaluates whether conditions are likely to:
offer clean, follow-through price movement
chop back and forth
be dominated by costs like spread and slippage
It is meant for day traders and swing traders who want to choose when to trade, not just where to enter .
Core idea
Most indicators try to predict direction.
EWRM focuses on tradability.
It highlights:
when the market moves cleanly and is easier to execute
when volatility is unstable and unreliable
when “cost of trading” (spread and slippage) eats potential profit
The indicator shows this using:
a visual dashboard
background color changes
clear regime labels
Key concepts in plain language
SRR – Spread-to-Range Ratio
How big the trading costs are compared to how much price is moving.
High SRR = the market moves little but costs you a lot → bad environment.
Low SRR = price moves much more than it costs to trade → better environment.
PEI – Pullback Efficiency Index
Measures how “clean” trends are.
If pullbacks lead to smooth continuation, PEI is high.
If pullbacks constantly fail and reverse, PEI is low.
SRP – Slippage Risk Proxy
Estimates how likely you are to get worse fills than expected.
Fast spikes, thin liquidity zones, and whipsaw behavior increase SRP.
What EWRM helps you do
avoid overtrading during messy conditions
size up when conditions are smooth and directional
identify when volatility is expanding or collapsing
adapt behavior by time of day (open, midday, close)
How it works at a high level
It measures how much the market is moving
It checks whether volatility is stable or chaotic
It estimates how expensive and difficult execution is
It breaks the day into premarket, open, midday, and power hour
It combines all of this into an overall “regime” label
It colors the background or dashboard so you can read the state instantly
There are no buy/sell arrows. It is a decision-support tool, not a signal generator.
How to use it
trade more when conditions are clean and execution-friendly
stand aside when cost and noise dominate movement
prefer trend setups when trend regimes are detected
stay cautious when regime flips frequently
Think of it as a weather map for the market, not a GPS.
Inputs and parameters
Core settings
Realized Volatility Length – how fast the tool reacts to volatility changes
Volatility Stability Length – how stable/unstable volatility appears
ATR Length – used to scale and normalize movement
General Lookback – how much history is analyzed
Session settings
Premarket
Opening drive
Midday
Power hour
These let the tool treat each time window differently, since behavior changes through the day.
Cost settings
Estimated Spread – approximate buy/sell price difference
Estimated Slippage – expected extra cost from fast movement
These make the tool focus on realistic, after-cost trading conditions .
Visual settings
toggle dashboard
toggle background shading
toggle regime labels
choose X/Y position of the panel
Limitations
uses estimates of spread and slippage, not live order-book data
cannot remove all uncertainty
best used as a filter, not a trading system
Suggested use
filter out bad environments
increase selectivity
align position size with regime quality
combine with your own strategy or entries
Victor's Market Breadth OscillatorDescription
This is a classic market breadth technical indicator designed to measure the underlying strength and momentum of the broader stock market. The indicator evaluates market health by analyzing the cumulative difference between the number of advancing stocks and declining stocks traded on the market. It provides clear signals of market breadth trend and momentum.
Core Calculation Logic
Fetch the real time data of advancing stocks and declining stocks using the assigned ticker symbols
Calculate the net market breadth value which equals the number of advancing stocks minus declining stocks
Compute the Fast Line as the cumulative sum of the net breadth value over the set short term period
Compute the Slow Line as the cumulative sum of the net breadth value over the set long term period, then normalize the value by dividing by three and rounding to a whole integer
Plot two distinct lines to visually reflect the short term and long term market breadth momentum
Usage Guidelines
The indicator readings reflect the internal strength of the overall market.
Higher indicator values mean stronger upward market breadth with more stocks participating in the rally and healthy bullish momentum.
Lower indicator values mean stronger downward market breadth with more stocks participating in the decline and increasing bearish momentum.
This is a market breadth auxiliary indicator. For optimal results, use it in combination with price trend analysis and volume indicators for comprehensive market judgment
Adjustable Input Parameters
Advancing Stocks Ticker : The ticker symbol for the number of advancing stocks in the market
Declining Stocks Ticker : The ticker symbol for the number of declining stocks in the market
Fast Summation Period : Short term cumulative calculation length for the Fast Line
Slow Summation Period : Long term cumulative calculation length for the Slow Line.
V-Max: Tactical Opening Range & Session MonitorOverview
The V-Max Tactical Opening Range & Session Monitor is a precision execution tool designed to identify and track the "Initial Balance" of a trading session. By isolating the price action within the first few minutes of market opening, the script establishes a "Tactical Anchor" that defines the intraday trend, volatility boundaries, and the critical 50% equilibrium level。
Core Technical Logic & Features
This script employs a robust session-monitoring engine focused on physical price boundaries:
Opening Range Capture Engine: Automatically identifies the high and low of a user-defined opening window (e.g., the first 15 minutes of the US Open) using a weekday-filtered logic.
50% Equilibrium Mid-Point: The engine calculates the precise midpoint ($m\_val = (High + Low) / 2$) as a real-time pivot to determine market strength or weakness throughout the session.
Zero-Drift Extension Logic: Using the box and line rendering system, the range is visually extended until the session's stop time, providing constant tactical reference without price-point drift.
Stability Optimization: Features an automated object-cleanup mechanism that prevents label/box stacking, ensuring a high-performance, clutter-free chart environment.
Adaptive Precision Engine: Automatically adjusts numerical formatting (labels) based on the asset's tick size (e.g., Crypto 5-decimal vs. Equity 2-decimal)。
How to Use
Session Setup: Enter the "Capture Start" and "Capture End" times (e.g., 22:30 - 22:45 GMT+8 for US Open) in the settings.
Tactical Reference:
Above Mid-Point: Bullish bias within the session.
Below Mid-Point: Bearish bias within the session.
Breakout Confirmation: Use the established H/L levels as volatility anchors for intraday breakout or mean-reversion strategies。
產品概述
V-Max 時效監控 Pro 是一款專為捕捉市場「開盤區間」而設計的精準執行工具。透過隔離市場開盤前幾分鐘的價格行為,本腳本建立了一個「戰術錨點」,用以定義日內趨勢、波動邊界以及關鍵的 50% 平衡位。
核心技術邏輯與功能
開盤區間捕捉引擎:自動識別自定義開盤窗口(如美盤開盤前 15 分鐘)的高低點,並具備工作日過濾功能。
50% 平衡中軸:精確計算區間中軸 ( SP:MID = (H + L) / 2$),作為判斷日內強弱的即時轉折點。
零位移延伸邏輯:採用 Box/Line 渲染系統,將區間視覺化延伸至設定的停止時間,提供穩定的戰術參考。
穩定性優化機制:內建物件清理邏輯,防止標籤堆積,維持圖表的高效運行環境。
Access & Support
This script is published as a Free Public Utility in the TradingView Library. Disclaimer: For educational purposes only. Past performance does not guarantee future results.
V-Max: Tactical Clock & Price (Master Fit)Overview
The V-Max Tactical Clock & Price is a high-visibility utility dashboard engineered for precision execution in global financial markets. It serves as a "Physical Timezone Navigator," providing real-time price tracking and synchronized local time display directly on the chart. This ensures traders can align their execution with specific market openings and closing volatility regardless of the exchange's default timezone.
Core Technical Logic & Features
This script focuses on the physics of time-alignment and visual stability:
Physical Time Calibration Engine: Unlike standard UI clocks, this script employs a millisecond-level compensation engine using the formula: $timenow + (tz\_offset \times 60 \times 60 \times 1000)$. This allows for precise synchronization with any global market (e.g., London, New York, or Asia sessions).
Momentum-Driven Price Rendering: The price display utilizes conditional coloring logic ($close \ge open ? up\_col : dn\_col$) to provide immediate visual feedback on the current bar's momentum.
High-Identifiability UI (Master Fit): Leverages the table.new titan rendering engine with size.huge font specifications for the price. This ensures critical data remains readable even on small mobile screens or high-density multi-chart layouts.
Anti-Flicker Monospaced Formatting: Employs font.family_monospace to ensure strict numerical alignment, preventing visual flickering or "jumping" during periods of extreme market volatility.
How to Use
Timezone Setup: Enter your local GMT offset (e.g., +8 for Taiwan/Singapore, -5 for New York) in the settings.
Visual Customization: Adjust the dashboard position (default: Bottom Left) and background aesthetics to fit your professional trading workspace.
產品概述
V-Max 戰術時鐘與價格顯示器是一款為全球市場設計的高辨識度工具。它作為一個實時的「全球時區導航儀」,在圖表上直接提供實時價格追蹤與同步化的本地時間顯示,確保交易者能精確對齊各國市場開盤瞬間的波動。
核心技術邏輯與功能物理時間校準引擎:採用毫秒級時間補償運算,公式為:$timenow + (tz\_offset \times 60 \times 60 \times 1000)$。這讓交易者能精確校準全球任一交易所的本地時間。
動能價格渲染:價格顯示具備即時漲跌變色邏輯,提供直觀的即時盤感反饋。
特大字體 UI (Master Fit):採用 size.huge 字體規格顯示價格,確保在移動端或複雜多圖表布局下依然清晰易讀。
防閃爍等寬格式:使用等寬字體確保數字在劇烈波動時不會產生視覺跳動,維持高度的讀數穩定性。
Access & Support
This script is published as a Free Public Utility in the TradingView Library. Disclaimer: For educational purposes only. Past performance does not guarantee future results.
Disclaimer: This script is for technical analysis and educational purposes only. It does not provide financial advice.
ERD: Effort-Result Diagnostic [Darwinian]ERD: Effort–Result Diagnostic
This indicator conceptually inspired by Donchian Channel logic, repurposed to visualize the relationship between effort (participation) and result (price movement) using signed volume as the primary constraint.
Core Concept
Markets move for two fundamentally different reasons:
- Effort — active participation, commitment, urgency
- Entropy / Vacuum — absence of participation
Price alone cannot distinguish between the two. ERD answers one question only:
Is the current price movement supported by participation, or is it moving beyond effort?
How It Works
Volume is treated as directional effort (positive / negative).
Donchian-style logic defines contextual effort boundaries for each direction.
These boundaries are overlaid with price to visualize effort containment.
Interpretation:
Price inside the effort zone
→ Effort still contains price
→ Auction is active and engaged
Price pressing into the effort boundary (tension zone)
→ Effort is being tested
→ Outcome uncertain
Price escaping beyond the effort zone
→ Result exceeds effort
→ Movement is fragile, vacuum-driven, or entropy-based
Upside and downside are evaluated independently.
Intended Use
Diagnose breakout / breakdown quality
Identify entropy drift, especially in illiquid assets
Distinguish absence of effort from failed effort
Improve trade selection and patience
Train effort-aware price action reading across timeframes
ERD is designed to reduce bad trades, not increase activity.
Attribution
Conceptually inspired by Donchian Channels (Richard Donchian),
adapted for effort–result diagnostics using signed volume.
Designed by Darwinian
Mid-term RibbonWhat the indicator is meant to tell you
-Mid-term trend direction (bullish vs bearish)
-Trend transitions when the ribbon flips color
-Trend strength (wider ribbon = stronger momentum)
-Helps traders stay in trends longer and avoid chop
Typical use cases
-Trend-following entries and exits
-Filtering trades in the direction of the ribbon
-Visual confirmation for other signals
-Swing trading and position trading
Colors are customizable
Only for educational purposes, no recommendation to buy or sell
Polynomial Regression Channel [ChartPrime]⯁ OVERVIEW
The Polynomial Regression Channel fits price action using advanced polynomial regression, extending beyond simple linear or logarithmic models. By leveraging matrix calculations, it builds a curved regression line that adapts to swings more naturally. The channel includes extrapolated forward projections, helping traders visualize where price may gravitate in the near future. Midline color shifts reflect directional bias, while prediction ranges are marked with dashed extensions, labeled prices, and a live table for clarity.
⯁ KEY FEATURES
Polynomial Regression Core:
Uses matrix algebra to calculate a polynomial fit of customizable degree, adapting to complex, non-linear market structures.
polyreg(source, length, degree, extrapolate) =>
total = length + extrapolate
X_all = matrix.new(total, degree + 1, 0.0)
for i = 0 to total - 1
for j = 0 to degree
matrix.set(X_all, i, j, math.pow(i, j))
// y (length × 1), oldest→newest over the fit window
y = matrix.new(length, 1, 0.0)
for i = 0 to length - 1
matrix.set(y, i, 0, source )
// X_train (first `length` rows of X_all)
X_tr = matrix.new(length, degree + 1, 0.0)
for i = 0 to length - 1
for j = 0 to degree
matrix.set(X_tr, i, j, matrix.get(X_all, i, j))
// OLS via normal equations: (X'X)^(-1)b = X'y ⇒ b = (X'X)^(-1) X'y
Xt = matrix.transpose(X_tr) // X'
XtX = matrix.mult(Xt, X_tr) // (X'X)
Xty = matrix.mult(Xt, y) // X'y
XtX_inv = matrix.inv(XtX) // (X'X)^(-1)
b = matrix.mult(XtX_inv, Xty) // b = (X'X)^(-1) X'y
// Predictions for all rows (fit + extrap)
preds = matrix.mult(X_all, matrix.col(b,0))
preds
Extrapolated Future Projections:
Forward-looking range (dashed lines + circular markers) shows where the fitted polynomial suggests price may move.
Dynamic Midline Coloring:
Regression midline shifts green when slope turns upward and magenta when slope turns downward, giving instant directional context.
Channel Boundaries:
Upper and lower levels expand from the midline using a volatility-based offset, framing potential overbought and oversold conditions.
Top-Right Data Table:
A live table displays Upper, Middle, and Lower Prediction values, updating in real time for quick reference without scanning the chart.
⯁ USAGE
Use the regression midline to gauge underlying market bias; green slopes suggest continuation, magenta slopes caution for weakness.
Watch dashed extrapolated ranges as potential targets or reaction zones during upcoming sessions.
Price labels and table values act as precise reference levels for planning entries, exits, or stop placement.
Increase Degree for more curve-fitting on choppy markets, or keep it low for broader trend approximation.
Adjust Period and Extrapolate length to balance stability vs. responsiveness.
⯁ CONCLUSION
The Polynomial Regression Channel offers a mathematically advanced way to visualize price trends and anticipate future paths. With matrix-driven polynomial fitting, extrapolated projections, and integrated live labels, it combines statistical rigor with practical trading visuals — a robust upgrade over standard regression channels.
ATR-Reset Pivot Points ATR-Reset Pivot Points - Dynamic for London & NY Sessions
Standard daily pivots go stale fast after Asia — this version fixes that.
Key feature:
Instead of resetting on time (daily/4h/6h), pivots only update when price makes a REAL move.
How it works:
- Tracks 5m ATR(14) volatility (usually 200–400 pts on BTC)
- Resets pivots when price moves ≥ 1.7 × ATR (or min 300 pts) away from last reset high/low
- New P, R1–R5, S1–S5 are calculated from the exact candle where the big move happened
- Green triangle marks each reset
Why this matters for day trading:
- Asia: stays quiet, almost no resets → clean like standard pivots
- London open / NY killzone: auto-refreshes on real volume legs → levels always reflect current session structure
- No more sandwiching or fakeouts from 12-hour-old pivots
Best on BTCUSDT.P 5m
Recommended settings:
- ATR Multiplier: 1.7–2.0 (higher = fewer resets)
- Min Reset Points: 300–400 (safety net in chop)
- Pivot Type: Traditional or Fibonacci
Perfect for directional bias, Tokyo Protocol style, when real money flows in.
Prints fresh levels exactly when you need them most.
Enjoy the edge.
Reversal Candlestick PatternsReversal Candlestick Patterns
Reversal Candlestick Patterns is an indicator designed to detect classic candlestick reversal patterns with additional market context filtering.
The indicator identifies ten well-known reversal candlestick patterns and displays them directly on the chart as visual blocks. Each pattern is detected using its own logic, based on candle structure, position relative to local extremes, and the direction of the current trend.
Bullish patterns:
> Bullish Engulfing
> Morning Star
> Hammer
> Inverted Hammer
> Three White Soldiers
Bearish patterns:
> Bearish Engulfing
> Evening Star
> Hanging Man
> Shooting Star
> Three Black Crows
Pattern configuration
Detection of each individual pattern, its short name displayed on the chart, and the color of the highlighting block can be configured separately in the first two settings groups:
Bullish Patterns and Bearish Patterns .
This allows you to fully customize which patterns are used, how they are labeled, and how they are visually represented.
Trend filtering
The indicator includes an optional trend filter based on two Simple Moving Averages.
It is enabled using the Check Trend setting. The Trend Detection Length parameter is used simultaneously for several calculations:
> Length of the fast moving average
> Half of the slow moving average length
> Number of consecutive bars required to confirm trend direction
This approach helps filter out reversal patterns that form against a well-established trend.
External filters
The indicator supports external confirmation filters for bullish and bearish patterns. External filter settings are located in the External Filters group. For each filter, you can specify the value of an external indicator that must be met for a pattern to be confirmed. This allows flexible integration with oscillators, volume-based indicators, or custom scripts.
Visualization settings
Visualization settings control:
> Pattern name display
> Text size
> Block fill transparency
These settings affect only the visual presentation and do not influence the detection logic.
Alerts
The indicator provides two types of alerts:
1. Global alert for any detected pattern. Created by selecting “Any alert() function call” when setting up an alert.
2. Dedicated alert conditions for:
> Each individual pattern
> Any bullish pattern
> Any bearish pattern
Please note: if detection of a specific pattern is disabled in the settings, alerts for that pattern will not trigger.
Important note
Candlestick patterns should not be used as standalone trading signals. This indicator is intended to be used as part of a broader analysis, together with trend structure, key levels, volume, and other analytical tools.
Quicky's List 101this is my checklist to enter a trade,
and the grade level of each setup
so basiclly help me be more knowledgble of what i have ticked or not
Price % Distance from 52 Weeks High, and EMAs"Stop guessing how far extended the price is—measure it instantly."
As a swing trader, knowing the exact distance between the current price and your key moving averages is critical. It tells you if a stock is overextended (too far) or offering a low-risk pullback entry (near 0%).
This lightweight utility script calculates the real-time percentage distance of the closing price from three critical levels:
10 EMA (Short-term momentum)
20 EMA (Swing trend baseline)
52-Week High (Major structural resistance)
It displays this data in a single, clean Smart Label attached to the latest candle, keeping your chart clutter-free.
Key Features
📊 Instant Calculation: See exactly how far (%) the price is from the 10 EMA, 20 EMA, and 52-Week High without using a measuring tool.
🧠 Intelligent Trend Coloring: The text color changes dynamically based on the immediate trend:
🟢 Green Text: Price is ABOVE both 10 & 20 EMAs (Bullish / Buy-the-dip zone).
🔴 Red Text: Price is BELOW both 10 & 20 EMAs (Bearish / Caution).
⚪ White Text: Price is mixed/choppy (between the EMAs).
👁️ High Contrast Design: Uses a semi-transparent dark background that ensures the data is clearly visible on both Light and Dark mode charts.
How to Use for Swing Trading
Pullback Entries: In a strong uptrend (Green Text), watch for the 10 EMA or 20 EMA % value to drop near 0.0% to 0.5%. This indicates a pullback to the average—often a high-probability entry point.
Overextension Warning: If the % distance becomes unusually large (e.g., Price is +5% above the 10 EMA), the move may be overextended, signaling to tighten stops or take profit.
52-Week Breakouts: Monitor the 52W % distance. As it approaches 0.0%, the stock is challenging its yearly high, alerting you to potential breakout plays.
Settings
EMA Lengths: Fully customizable (Default: 10 & 20).
Lookback: Adjust the high lookback period (Default: 260 bars for 52 Weeks).
Position: Toggle the label to appear Above or Below the candle.
4H Candle Curves4H Candle Curves - Detailed User Guide
OVERVIEW
This indicator reveals curve vs continuation behavior in NQ Futures by analyzing how price responds after breaking the first-hour range. Based on 10+ years of statistical analysis (2013-2025, 3,136+ trading days), it identifies which 4-hour sessions exhibit mean reversion (curve) behavior versus trend continuation when Q2 (second hour) breaks Q1 (first hour) extremes.
⚠️ IMPORTANT: This indicator is specifically designed for NQ FUTURES ONLY. All curve probabilities and statistics were derived from a decade-long dataset of NQ 1-minute bars. Using this on other instruments will produce inaccurate results.
CORE CONCEPT: THE CURVE
What is a "Curve"?
A curve occurs when price breaks out of the first hour's range in Q2 (hour 2), but then reverses direction in the second half (Q3+Q4) to make a new extreme on the opposite side.
Curve Example (Upside Break → Downside Reversal):
Q1 (Hour 1): Price establishes range 25,000 - 25,050
Q2 (Hour 2): Price breaks ABOVE Q1 high, reaches 25,100
Q3+Q4 (Hours 3-4): Price curves back down, makes new LOW below 25,000
Result: Q2 broke high, but second half curved back to make new low below Q1 = CURVE
What is "Continuation"?
Continuation occurs when Q2 breaks Q1 range and the second half extends further in the same direction.
Continuation Example (Upside Break → Further Upside):
Q1 (Hour 1): Price establishes range 25,000 - 25,050
Q2 (Hour 2): Price breaks ABOVE Q1 high, reaches 25,100
Q3+Q4 (Hours 3-4): Price continues higher, makes new HIGH above 25,100
Result: Q2 broke high, second half made new high above Q2 = CONTINUATION
THE CRITICAL DISCOVERY: 6AM IS THE CURVE SESSION
Curve Probabilities by Session:
When Q2 Breaks Q1 HIGH:
6AM: 60.6% curve (new low below Q1) | 38.5% continuation
2AM: 38.4% curve | 46.7% continuation (balanced)
10AM: 17.2% curve | 60.4% continuation ← STRONG continuation bias
6PM: 29.6% curve | 59.0% continuation
10PM: 27.5% curve | 55.1% continuation
When Q2 Breaks Q1 LOW:
6AM: 64.4% curve (new high above Q1) | 35.0% continuation ← HIGHEST curve
2AM: 42.8% curve | 43.3% continuation (balanced)
10AM: 16.7% curve | 51.6% continuation ← STRONG continuation bias
6PM: 33.7% curve | 51.1% continuation
10PM: 33.1% curve | 48.6% continuation
Key Insight:
6AM is THE ONLY SESSION with >60% curve probability in both directions. This makes it a uniquely exploitable mean reversion session. When Q2 breaks Q1 range during 6AM, expect the second half to curve back 60-64% of the time.
10AM shows the opposite: Strong continuation bias (60% when Q2 breaks high, 52% when Q2 breaks low). 10AM breakouts tend to follow through.
HOW IT WORKS: THE QUARTER SYSTEM
The Six 4-Hour Candles (EST):
Each trading day (6pm-5pm) is divided into six 4-hour periods:
6PM (18:00-22:00) - Evening/Globex open | Blue box
10PM (22:00-02:00) - Asia session | Purple box
2AM (02:00-06:00) - Early London | Orange box
6AM (06:00-10:00) - Late London + NY Open | Green box ← THE CURVE SESSION
10AM (10:00-14:00) - NY Morning | Red box ← THE CONTINUATION SESSION
2PM (14:00-17:00) - NY Afternoon | Yellow box (3 hours only)
The Four Quarters:
Each 4-hour candle (except 2PM) is divided into four 1-hour quarters:
Q1 (Hour 1, minutes 0-60): Establishes initial range
Q2 (Hour 2, minutes 60-120): Tests Q1 range - breaks or holds?
Q3 (Hour 3, minutes 120-180): Second half begins
Q4 (Hour 4, minutes 180-240): Second half completes
2PM candle only has 3 hours (14:00-17:00), so quarters are adjusted accordingly.
The Three-Step Analysis:
STEP 1: Q1 Establishes Range
The first hour sets the high and low for the session. This becomes the reference range.
STEP 2: Q2 Break Detection
The indicator monitors whether Q2 (hour 2) breaks above Q1 high or below Q1 low.
STEP 3: Second Half Response
Once Q2 breaks Q1 range, the indicator tracks what happens in Q3+Q4:
Does price CURVE back to make new extreme on opposite side?
Does price CONTINUE to make new extreme in same direction?
Or does price stay within the established range?
VISUAL ELEMENTS EXPLAINED
1. 4-Hour Candle Boxes
Colored boxes display the high-to-low range of each 4H candle:
Blue = 6PM (evening session start)
Purple = 10PM (Asia session)
Orange = 2AM (early London)
Green = 6AM ← THE CURVE SESSION (watch for mean reversion)
Red = 10AM ← THE CONTINUATION SESSION (trend follow-through)
Yellow = 2PM (afternoon close, 3 hours only)
2. Quarter Separator Lines
Vertical dotted lines mark the boundaries between quarters (1H, 2H, 3H marks). This helps you see:
When Q1 ends (after 1 hour)
When Q2 ends / second half begins (after 2 hours)
When Q3 ends (after 3 hours)
3. Candle Name Labels
At the 2-hour mark (Q2/Q3 boundary), a label shows:
Candle name (e.g., "6am")
Directional indicator:
🔼 = Q2 broke Q1 HIGH
🔽 = Q2 broke Q1 LOW
⚠️ = Q2 broke BOTH Q1 high and low (extended range)
No symbol = Q2 stayed within Q1 range
THE LIVE STATUS TABLE
Located in your chosen corner (default: bottom-right), this table shows real-time analysis of the current 4H candle.
Header Row:
"LIVE: CANDLE" - Shows which 4H session you're currently in
Quarter Row:
"Quarter: Q1/Q2/Q3/Q4 (Hour X)" - Shows which quarter you're currently forming
STATUS Section:
The status updates dynamically based on what has happened:
During Q1-Q2 (First Half):
"⏳ Q1 Building..." - First hour forming, range being established
"⏳ Q2 Building..." - Second hour in progress, Q2 within Q1 range so far
"🔼 Q2 Broke Q1 HIGH" - Q2 has broken above Q1 high
"🔽 Q2 Broke Q1 LOW" - Q2 has broken below Q1 low
"⚠️ Q2 Broke BOTH Q1 Extremes" - Q2 extended range in both directions
During Q3-Q4 (Second Half):
"✓ CURVE CONFIRMED" - Q2 broke one direction, second half reversed to opposite side
"✓ CONTINUATION CONFIRMED" - Q2 broke one direction, second half extended further same direction
"⏳ 2nd Half In Progress" - Q2 broke Q1, waiting to see if curve or continuation
"📊 No Q2 Break Occurred" - Q2 stayed within Q1 range (no curve/continuation setup)
EXPECTATION Section:
Shows the probabilities based on the current state:
When Q2 breaks Q1 high in 6AM:
EXPECT 2nd half:
CURVE (low < Q1): 60.6%
CONT (high > Q2): 38.5%
This tells you there's a 60.6% chance the second half will curve back to make a new low below Q1, versus 38.5% chance it continues higher above Q2.
When curve/continuation is confirmed:
Q2 broke high → 2nd half made new LOW below Q1
Curve: 60.6%
Shows what actually happened and the historical probability.
Color Coding:
Purple background = Curve confirmed (mean reversion occurred)
Green background = Continuation confirmed (upside extension)
Red background = Continuation confirmed (downside extension)
Blue background = Second half in progress, watching
Yellow background = No Q2 break (no setup)
Gray background = Still in first half, building
THE CURVE REFERENCE TABLE
Located in your chosen corner (default: bottom-left), this table provides a quick reference for all sessions.
Table Structure:
TOP SECTION: "When Q2 BREAKS Q1 HIGH"
BOTTOM SECTION: "When Q2 BREAKS Q1 LOW"
How to Read:
"Curve" column = % of time second half makes new extreme on OPPOSITE side
"Cont" column = % of time second half makes new extreme in SAME direction
"Winner" column = Which behavior is more likely
Purple highlight = Curve is the winner (higher %)
Blue highlight = Continuation is the winner
🔥 symbol = Strong edge (>60%)
Quick Reference Usage:
You're in 10AM session, Q2 just broke Q1 high. Look at top section, 10AM row:
Curve: 17.2%
Cont: 60.4%
Winner: CONT
Interpretation: 10AM breakouts tend to follow through. Only 17% chance of curving back. Trade with the break, not against it.
PRACTICAL TRADING EXAMPLES
Example 1: Perfect 6AM Curve Setup
Scenario:
6AM candle in progress
7:00 AM: Q1 ends, range is 18,000 - 18,050
7:30 AM: Price breaks above 18,050, reaches 18,075 (Q2 broke Q1 high)
Live table shows: "🔼 Q2 Broke Q1 HIGH"
Expectation: "CURVE (low < Q1): 60.6%"
Trading Decision:
Even though price broke to new highs, the 60.6% curve probability suggests looking for short opportunities expecting price to curve back below 18,000 in Q3-Q4.
Typical Outcome:
8:15 AM (Q3): Price starts declining
9:15 AM (Q4): Price makes new low at 17,990
Result: ✓ CURVE CONFIRMED
Example 2: 10AM Continuation Signal
Scenario:
10AM candle in progress
11:00 AM: Q1 ends, range is 18,100 - 18,150
11:45 AM: Price breaks above 18,150, reaches 18,180 (Q2 broke Q1 high)
Live table shows: "🔼 Q2 Broke Q1 HIGH"
Expectation: "CONT (high > Q2): 60.4%"
Trading Decision:
With 60.4% continuation probability, breakout likely to follow through. Look for long opportunities expecting extension above 18,180 in Q3-Q4.
Typical Outcome:
12:30 PM (Q3): Price continues higher to 18,200
1:15 PM (Q4): Price makes new high at 18,225
Result: ✓ CONTINUATION CONFIRMED
Example 3: Using Reference Table During Live Trading
You see Q2 breaking Q1 low during 2AM session:
Quick reference check:
2AM row, "When Q2 BREAKS Q1 LOW" section
Curve: 42.8% | Cont: 43.3% | Winner: Balanced
Interpretation: This is a coin flip - 2AM session is balanced when Q2 breaks low. Don't force a directional bias. Wait for second half price action confirmation or skip the setup.
Example 4: No Setup Scenario
Scenario:
6AM candle, Q2 ends at 8:00 AM
Q2 stayed within Q1 range (no break above or below)
Live table shows: "📊 No Q2 Break Occurred"
Trading Decision:
No curve/continuation setup exists. This analysis only applies when Q2 breaks Q1 range. Monitor for different strategies or wait for next 4H candle.
UNDERSTANDING THE UNDERLYING METHODOLOGY
Data Foundation:
Instrument: NQ Futures (E-mini NASDAQ-100)
Timeframe: 1-minute bars for precise quarter tracking
Period: January 2013 - December 2025
Sample: 3,136+ complete trading days
Total 4H Candles Analyzed: ~18,800+ individual sessions
Analysis Process:
For each 4H candle in the dataset:
Calculate Q1 high and low (first hour range)
Track whether Q2 breaks Q1 high, Q1 low, both, or neither
When Q2 breaks Q1 range, measure second half response:
Did Q3+Q4 make new low below Q1? (curve when Q2 broke high)
Did Q3+Q4 make new high above Q1? (curve when Q2 broke low)
Did Q3+Q4 make new high above Q2? (continuation when Q2 broke high)
Did Q3+Q4 make new low below Q2? (continuation when Q2 broke low)
Calculate percentages for each session
Why NQ-Specific?
Different futures contracts exhibit different intraday personality:
NQ (NASDAQ):
Tech-heavy, volatility-prone
6AM shows extreme curve behavior (60-64%) due to NY Open reversal tendency
10AM shows strong continuation (60%) as trends establish
ES (S&P 500) would show different probabilities because:
Lower volatility than NQ
Different institutional participation patterns
Different response to macro events
The indicator's probabilities are calibrated specifically to NQ behavior patterns. Using it on ES, RTY, or other instruments will produce misleading signals.
ORIGINALITY & INNOVATION
What Makes This Indicator Unique:
Quarter-Based Curve Analysis: Unlike traditional indicators that only identify breakouts, this tracks what happens after the breakout. The curve vs continuation framework is novel and provides directional edge.
Session-Specific Behavior: Recognizes that 6AM behaves fundamentally differently than 10AM. Most indicators apply the same logic across all sessions. This indicator provides session-specific probabilities.
Statistical Validation: Every probability shown is backed by 10+ years of data (2,900+ candles per session). Not based on theory or discretionary observation.
Real-Time Quarter Tracking: Precisely identifies which quarter you're in and what stage of the pattern is forming. Provides forward-looking probabilities based on current state.
The 6AM Discovery: The 60-64% curve probability in 6AM is a quantified, repeatable edge that contradicts traditional "breakout = continuation" assumptions. This session exhibits mean reversion characteristics that most traders miss.
Dual-Direction Analysis: Tracks both upside breaks (Q2 > Q1 high) and downside breaks (Q2 < Q1 low) separately, as they can have different probabilities.
Visual Quarter System: The combination of colored boxes, quarter separators, and real-time labels provides instant visual understanding of pattern stage and expected behavior.
HOW TO USE THIS INDICATOR
Step 1: Identify Current 4H Candle
Check which colored box you're in and what session it represents.
Step 2: Wait for Q2 to Complete
The setup doesn't exist until Q2 (hour 2) breaks Q1 range. Monitor the live table.
Step 3: Check Q2 Break Status
Did Q2 break Q1 high? Q1 low? Both? Or neither?
Step 4: Consult Reference Table
Look up current session in curve reference table. What's the probability?
Step 5: Apply Session-Specific Strategy
For 6AM (60-64% curve):
Q2 breaks high → Expect curve back for new low
Q2 breaks low → Expect curve back for new high
Strategy: FADE the Q2 break, look for reversal entries in Q3-Q4
For 10AM (52-60% continuation):
Q2 breaks high → Expect continuation higher
Q2 breaks low → Expect continuation lower
Strategy: TRADE WITH the Q2 break, look for continuation entries in Q3-Q4
For 2AM (38-43% curve, 43-47% continuation):
Balanced probabilities
Strategy: Wait for Q3 price action to confirm direction, or skip
For 6PM/10PM (50-59% continuation):
Moderate continuation bias
Strategy: Lean with the break but use tight stops
Step 6: Monitor Live Status
Watch the live table for confirmation:
"✓ CURVE CONFIRMED" = Mean reversion occurred
"✓ CONTINUATION CONFIRMED" = Follow-through occurred
"⏳ 2nd Half In Progress" = Still developing
BEST PRACTICES
Focus on 6AM for curve trades - This is THE high-probability mean reversion session
Focus on 10AM for continuation trades - This is THE high-probability breakout session
Be cautious with 2AM - Balanced probabilities mean lower edge
Use quarter separators - Enter trades early in Q3 after Q2 break, don't wait for Q4
Combine with price action - Don't blindly fade 6AM or follow 10AM; wait for confirming price structure
Respect the 60% rule - 6AM curve happens 60% of time, which means 40% it doesn't. Manage risk accordingly
Watch for "No Q2 Break" - If Q2 doesn't break Q1, this analysis doesn't apply
Consider overnight context - If 6AM opens with huge gap, curve probability may be affected
SETTINGS & CUSTOMIZATION
Display Settings:
Show 4H Candle Boxes - Toggle colored range boxes
Box Colors - Customize color for each session
Show Quarter Separators - Show/hide 1H, 2H, 3H lines
Show Candle Name Labels - Show/hide session labels at 2H mark
Separator Line Style - Solid/Dashed/Dotted
Max Historical Candles - How many past 4H candles to display (1-50)
Table Settings:
Show Live Status Table - Toggle real-time analysis table
Show Curve Reference Table - Toggle probability reference table
Table Positions - Place tables in any corner
Table Text Size - Tiny/Small/Normal
LIMITATIONS & DISCLAIMERS
NQ FUTURES ONLY - All probabilities are NQ-specific, do not use on other instruments
Requires Q2 break - No curve/continuation setup exists if Q2 stays within Q1 range
Probabilities, not certainties - 60% means it happens 6 out of 10 times, not every time
Lower timeframe noise - 1-minute tracking can be choppy, consider using 5min+ for entries
Gap days - Large overnight gaps may affect curve/continuation probabilities
Not standalone - Use as confluence with your strategy, not as sole decision factor
Historical performance - Past statistics don't guarantee future results
WHY THE CURVE CONCEPT MATTERS
Traditional trading wisdom says: "Breakout = Continuation"
This indicator proves that's not always true. Specifically, during the 6AM session (late London + NY Open), when Q2 breaks the Q1 range, price curves back to the opposite extreme 60-64% of the time.
This creates a unique exploitable edge:
Most breakout traders go LONG when Q2 breaks Q1 high
But in 6AM, 60.6% of the time, price curves back down for new low
Shorting the breakout (counter-intuitive) is the higher-probability trade
The 10AM session shows the opposite:
Breakouts in 10AM tend to follow through (52-60%)
Traditional "trade the breakout" strategy works better here
By knowing which session you're in, you can adapt your strategy to match the session's personality.
FINAL NOTES
This indicator distills 10+ years of NQ intraday behavior into actionable, session-specific probabilities. The discovery that 6AM exhibits 60-64% curve behavior while 10AM exhibits 52-60% continuation behavior provides a statistical edge for mean reversion and trend-following traders respectively.
The highest-probability setups:
6AM Q2 break → FADE (60-64% edge for curve)
10AM Q2 break → FOLLOW (52-60% edge for continuation)
2AM = SKIP (balanced probabilities, no clear edge)
Master the 6AM curve and 10AM continuation first. These two sessions provide the clearest statistical edges.
Remember: Trade with proper risk management. This tool provides probabilities based on historical behavior, not predictions of future performance.
XAUUSD $4 Scalp Indicator (Swift Algo)his script is a Trend-Momentum Scalper. It uses three Exponential Moving Averages (EMAs) to identify trend direction and the Relative Strength Index (RSI) to ensure you aren't entering a trade when the market is overextended.How the Strategy WorksThe "Swift Algo" relies on a three-layer confirmation system to filter out "bad" trades:1. The Trend Filter (The 50 EMA)The Blue 50-period EMA acts as the "Grandmaster" trend.If the price is above the 50 EMA, the script only looks for Buy signals.If the price is below the 50 EMA, it only looks for Sell signals.Why? This prevents you from "fighting the trend."2. The Entry Trigger (9 & 21 EMA Cross)The actual signal is generated by the "Fast" (9) and "Slow" (21) EMAs.Buy Signal: When the 9 EMA (Green) crosses above the 21 EMA (Orange).Sell Signal: When the 9 EMA (Green) crosses below the 21 EMA (Orange).3. The "Sweet Spot" RSI FilterThe RSI filter is the most unique part of this script. It looks for momentum that is strong but not yet exhausted.For Buys: RSI must be between 50 and 70. (Bullish momentum is building, but not yet overbought).For Sells: RSI must be between 30 and 50. (Bearish momentum is building, but not yet oversold).Technical Summary of ComponentsVariableSettingRoleFast EMA9Short-term momentum trigger.Slow EMA21Medium-term baseline.Trend EMA50Long-term trend direction (The "Filter").RSI Length14Measures the speed and change of price movements.Practical Tips for XAUUSD (Gold) ScalpingTimeframes: This specific combination (9/21/50) is most effective on the 1-minute (1m) or 5-minute (5m) charts for scalping.The "$4 Target": Since your indicator title mentions a "$4 Scalp," this implies that on Gold ( OANDA:XAUUSD $), you are looking for a move of 40 pips (e.g., from $2030.00 to $2034.00).Stop Loss Placement: A common practice with this setup is to place your Stop Loss just below the 50 EMA for buys, or above it for sells.Would you like me to modify the code to include an automated Stop Loss and Take Profit level on the chart?
Gold 0.786 Intraday RR 1:2 (Prev Candle SL)The 0.786 Deep Reversal is a precision Fibonacci level used to identify high-probability turning points in Gold.
The Math: The 0.786 level is the square root of 0.618, representing a deep 78.6% retracement of a prior price move.
Stop-Hunt Zone: In Gold, price often blows past the common 0.618 level to "hunt" stops before reversing at the 0.786.
Entry Logic: It allows traders to enter a trend at a much lower price (for longs) or higher price (for shorts) than standard pullbacks.
Risk Management: It offers a superior Risk-to-Reward ratio because the stop-loss is placed just beyond the 1.0 (100%) origin point.
Pattern Synergy: This level is the defining entry point for the Gartley Harmonic pattern, a powerful reversal structure.
Confirmation: Traders look for "rejection candles," such as long-wick Pin Bars, specifically at this 0.786 coordinate.
Gold Volatility: Gold’s high volatility makes the 0.786 more reliable than shallower levels, which are often breached by market noise.
Trend Health: If Gold fails to hold the 0.786 level, it usually signals that the original trend has completely failed.
Targeting: Typical targets for this reversal include the 0.382 level for a quick scalp or the -0.27 extension for a full trend continuation.
Institutional Alignment: Large banks often use these deep levels to fill large buy or sell orders where liquidity is highest.
4H HOD/LOD Checkpoint Analysis4H HOD/LOD Checkpoint Analysis - Detailed User Guide
OVERVIEW
This indicator is a data-driven probability framework for NQ Futures traders that predicts High-of-Day (HOD) and Low-of-Day (LOD) placement based on statistical analysis of 3,136+ trading days (2013-2025). Unlike traditional indicators that rely on technical signals, this tool uses checkpoint-based state analysis with zero forward-looking bias to provide real-time probabilities of whether the daily range is complete.
⚠️ IMPORTANT: This indicator is specifically designed for NQ FUTURES ONLY. All probabilities, patterns, and statistics were derived from a 10+ year historical dataset of NQ 1-minute bars. Using this on other instruments will produce inaccurate results.
CORE CONCEPT: CHECKPOINT METHODOLOGY
What is a Checkpoint?
A checkpoint occurs when a 4-hour candle closes. At this moment, the indicator "locks" the current market state and calculates probabilities for the remainder of the trading day. The key innovation is that state never changes after locking - probabilities remain constant throughout the session until the next checkpoint.
The Six 4-Hour Candles (EST):
6PM (18:00-22:00) - Evening/Globex open
10PM (22:00-02:00) - Asia session
2AM (02:00-06:00) - Early London
6AM (06:00-10:00) - Late London + NY Open
10AM (10:00-14:00) - NY Morning
2PM (14:00-17:00) - NY Afternoon (3 hours only)
Five Checkpoints:
10PM Checkpoint - After 6PM closes
2AM Checkpoint - After 10PM closes
6AM Checkpoint - After 2AM closes
10AM Checkpoint - After 6AM closes (most critical)
2PM Checkpoint - After 10AM closes (highest conviction fade signals)
HOW IT WORKS: THE THREE-FACTOR STATE SYSTEM
At each checkpoint, the indicator evaluates three critical factors to determine probability:
1. ELIMINATIONS (Quantity)
An "elimination" occurs when a candle trades beyond a previous candle's high or low, effectively removing that candle from contention for HOD/LOD.
Example at 10AM Checkpoint:
6PM high = 18,000
10PM high = 18,050 (eliminates 6PM high)
2AM high = 18,100 (eliminates 10PM high)
6AM high = 18,075 (does NOT eliminate 2AM high)
Result: 2 eliminations
The number of eliminations indicates trend strength:
0 eliminations = Range-bound, high probability extremes already set
1-2 eliminations = Moderate trend
3-4 eliminations = Strong trend day, range likely to extend
2. STRUCTURE (Pattern Type)
The indicator distinguishes between two elimination patterns:
Sequential: Eliminations occur in order (6pm → 10pm → 2am → 6am → 10am)
Indicates smooth, consistent trend
Example: 10pm eliminates 6pm, then 2am eliminates 10pm (sequential)
Skip: Eliminations skip candles
Indicates choppy/reversal behavior
Example: 2am eliminates 6pm but NOT 10pm (skip pattern)
Why it matters: Skip patterns show 2X probability differences compared to sequential patterns. At 10AM checkpoint with 2 eliminations, skip pattern shows 64% participation rate vs 36% for sequential pattern with previous survived.
3. PREVIOUS CANDLE STATUS
Did the immediately prior candle get eliminated?
Eliminated: Previous candle's high/low was taken out
Indicates relentless trend
Higher probability of continuation
Survived: Previous candle's high/low still intact
Indicates trend pause
Higher probability of mean reversion or range completion
Critical insight: High and low are tracked separately. At 2AM checkpoint, 10PM might have eliminated 6PM high (relentless uptrend) but NOT eliminated 6PM low (low survived). This creates different probabilities for HOD vs LOD.
VISUAL ELEMENTS
4-Hour Candle Boxes
Each 4H candle is displayed as a colored box showing its range:
Gray = 6PM (evening)
Blue = 10PM (Asia)
Purple = 2AM (early London)
Orange = 6AM (London + NY Open) - THE CURVE SESSION
Teal = 10AM (NY morning) - THE MONEY SESSION
Red = 2PM (NY afternoon) - THE FADE SESSION
HOD/LOD Lines
Black horizontal lines extend from current HOD/LOD with labels showing:
Which candle set the extreme
Current price level
THE CHECKPOINT TABLE EXPLAINED
Table Header:
Shows current checkpoint (e.g., "🎯 10AM CHECKPOINT") or "⏳ PRE-CHECKPOINT" if between checkpoints.
Main Metrics (Side-by-Side Comparison):
The table displays HOD and LOD separately in two columns because they can have different patterns:
METRIC
HODLOD Eliminations
Number of candles eliminated so far for highs
Number of candles eliminated so far for lows
Structure
Sequential or Skip pattern for highs
Sequential or Skip pattern for lows
Prev Candle
Was previous candle's high eliminated or did it survive?
Was previous candle's low eliminated or did it survive?
Pattern
Combined interpretation: Relentless/Paused/Skip/Early
Combined interpretation: Relentless/Paused/Skip/Early
Color Coding:
Structure Row:
White = Sequential (smooth trend)
Orange = Skip (choppy/reversal)
Previous Candle Row:
Red = Eliminated (relentless trend continuing)
Blue = Survived (trend paused)
Pattern Row:
Red = Relentless (previous eliminated + sequential = strong trend)
Blue = Paused (previous survived + sequential = trend pause)
Orange = Skip/Chop (skip pattern = reversal likely)
Gray = Early (0-1 eliminations, too early to tell)
Probability Section:
Prob Already In: Percentage chance that HOD/LOD has already been set
Color coding:
Green (>75%) = High confidence extreme is in, FADE
Yellow (45-75%) = Moderate confidence
Red (<45%) = Low confidence extreme is in, CONTINUATION likely
Sample Size: Shows how many historical occurrences match this exact state (n=XXX)
Larger samples = higher confidence
Most common states have n=500-2,000+
Current: Which candle currently holds HOD/LOD
Pattern Guide Section:
Appears when you have 2+ eliminations. Provides interpretation:
📈 Paused: Trend has paused, 2pm more likely to set extreme
📈 Relentless: Breaking higher/lower, continuation expected
📈 Skip/Chop: Choppy pattern, next session likely
Same for lows with 📉 symbol.
PRACTICAL TRADING EXAMPLES
Example 1: High Conviction Fade Setup
State at 10AM Checkpoint:
Eliminations: 0 (both HOD/LOD)
Structure: None (no eliminations yet)
Prev Candle: Survived
Table shows:
HOD Prob Already In: 68.9% (n=582)
LOD Prob Already In: 73.6% (n=785)
Interpretation: Range is likely complete. Fade extremes. With 0 eliminations and 70%+ probability, this is a high-conviction mean reversion signal.
Example 2: Strong Continuation Signal
State at 10AM Checkpoint:
Eliminations: 3 (both HOD/LOD)
Structure: Sequential
Prev Candle: Eliminated (relentless)
Table shows:
HOD Prob Already In: 29.8% (n=1,758)
LOD Prob Already In: 34.6% (n=1,451)
Pattern: 📈 Relentless / 📉 Relentless
Interpretation: Strong trend day. Only 30-35% chance range is complete. Look for breakouts in direction of trend. 10AM and 2PM likely to extend range.
Example 3: Pattern Structure Edge
State at 10AM Checkpoint:
Eliminations: 2 (HOD)
Structure: Skip (orange background)
Prev Candle: Eliminated vs Alternative State:
Eliminations: 2 (HOD)
Structure: Sequential
Prev Candle: Survived
Result: Skip pattern shows 64% chance 10AM participates vs 36% for sequential+survived. Skip pattern = 2X more likely to see 10AM high. This structural edge is unique to this indicator.
Example 4: Different HOD vs LOD Patterns
State at 10AM Checkpoint:
HOD: 2 eliminations, Sequential, Previous Eliminated (Relentless) = 46.7% in
LOD: 2 eliminations, Skip, Previous Eliminated (Choppy) = 48.4% in
Interpretation: Highs show relentless uptrend but lows show choppy behavior. This divergence suggests potential for upside continuation but with volatility. Not a clean trend day.
KEY CHECKPOINT STATISTICS (DERIVED FROM 10-YEAR DATASET)
10PM Checkpoint (After 6PM):
Very early in day
13.5% HOD in, 21.3% LOD in
Most likely outcome: Range extends into 6AM/10AM
2AM Checkpoint (After 10PM):
Still early
With 0 elims: 22-31% in (balanced)
With 1 elim: 8-12% in (strong trend signal)
6AM Checkpoint (After 2AM) - Critical Decision Point:
With 0 elims: 40-47% in (balanced, could go either way)
With 2 elims: 18-22% in (strong trend into 6AM/10AM)
Most likely outcome: 10AM sets extremes (~38-40%)
10AM Checkpoint (After 6AM) - Highest Conviction:
With 0 elims: 69-74% in → FADE (high confidence)
With 3 elims: 30-35% in → BUY/SELL continuation
This is THE money checkpoint for high-probability setups
2PM Checkpoint (After 10AM) - Maximum Fade Conviction:
With 0-3 elims: 67-95% in → FADE strongly
With 4 elims: 49-61% in (monster trend, weaker fade)
2PM is primarily a mean reversion session
UNDERSTANDING THE UNDERLYING DATA
All probabilities are derived from analysis of:
Instrument: NQ Futures (E-mini NASDAQ-100)
Timeframe: 1-minute bars
Period: January 2013 - December 2025
Sample: 3,136+ complete trading days
Methodology: Real-time checkpoint analysis with zero forward-looking bias
Why NQ-Specific?
Each futures contract has unique:
Session characteristics (6AM in NQ shows 60-64% curve behavior, other sessions differ)
Timing patterns (NQ's 10AM session has 67-74% immediate takeouts)
Volatility profiles (NQ 2PM shows 56% bullish bias vs ES shows different bias)
Using this indicator on ES, RTY, or other instruments will produce inaccurate results because the probability tables are NQ-specific.
ORIGINALITY & INNOVATION
What Makes This Indicator Unique:
Zero Forward-Looking Bias: State locks at checkpoint moments. Traditional indicators recalculate continuously, introducing bias. This indicator freezes probabilities at the exact moment a 4H candle closes.
Three-Factor State System: Combines elimination count, structure pattern, and previous candle status. Most indicators only track one dimension. This multi-factor approach provides 2X+ probability differentials.
Separate HOD/LOD Tracking: Highs and lows can have different patterns simultaneously (relentless high with choppy low). This indicator tracks them separately for precision.
Pattern Structure Analysis: Distinguishes between sequential and skip patterns, a concept not found in standard indicators. Skip patterns show mean reversion while sequential shows continuation.
10+ Year Statistical Foundation: Every probability is backed by hundreds to thousands of historical occurrences (sample sizes shown in table). Not based on theories or assumptions.
Checkpoint-Specific Probabilities: Different checkpoints have different probability profiles. 10AM checkpoint with 0 eliminations = 70%+ fade. 6AM checkpoint with same state = 40%+ fade. Context matters.
HOW TO USE THIS INDICATOR
Step 1: Wait for Checkpoint
The table will show "⏳ PRE-CHECKPOINT" until a 4H candle closes. Probabilities are only valid at checkpoint moments.
Step 2: Read the State
Check the three factors:
How many eliminations?
Sequential or skip?
Previous candle eliminated or survived?
Step 3: Check Probability
Look at "Prob Already In" percentage:
>75% (Green) = High confidence extreme is set, fade
45-75% (Yellow) = Moderate confidence, use other confirmation
<45% (Red) = Low confidence extreme is set, continuation likely
Step 4: Check Sample Size
Larger sample (n=1,000+) = higher confidence
Smaller sample (n=50-200) = use caution, edge is real but less robust
Step 5: Consider Pattern
Read the pattern guide:
Relentless = trend continuing
Paused = trend stalled, mean reversion
Skip/Chop = reversal/range likely
Step 6: Compare HOD vs LOD
If both show similar patterns = cleaner signal
If divergent patterns = complex day, be cautious
BEST PRACTICES
Focus on 10AM and 2PM checkpoints - These have the highest conviction signals
Combine with price action - Don't fade blindly at 90% probability if price is breaking out strongly
Larger samples = better edges - Prioritize setups with n=500+
Watch for pattern divergence - When HOD and LOD show different patterns, expect complexity
Remember session characteristics:
6AM = THE CURVE SESSION (60-64% mean reversion when Q2 breaks Q1)
10AM = THE MONEY SESSION (67-74% immediate takeouts, highest conviction)
2PM = THE FADE SESSION (67-95% extremes already in)
SETTINGS
Show 4H Candle Boxes - Display colored boxes for each 4H candle
Show HOD/LOD Lines - Display horizontal lines at current extremes
Show Checkpoint Analysis - Display probability table
Table Position - Choose where to place the checkpoint table
Table Size - Tiny/Small/Normal
Colors - Customize box colors for each session
LIMITATIONS & DISCLAIMERS
NQ FUTURES ONLY - Do not use on other instruments
Not a standalone system - Use as confluence with your strategy
Historical data - Past performance doesn't guarantee future results
Sample size variance - Some states have smaller samples, use judgment
Requires understanding - Read this guide fully before trading with this tool
FINAL NOTES
This indicator represents 10+ years of NQ futures data distilled into actionable, real-time probabilities. The checkpoint methodology ensures zero forward-looking bias, while the three-factor state system provides granular edge that traditional indicators miss.
Remember: This tool provides probabilities, not certainties. Trade with proper risk management, and use this as one input in your decision-making process.
deKoder | VWAP | Volume Weighted Average PriceAn advanced, open-source Volume Weighted Average Price indicator with multi-period anchoring, standard deviation bands, previous period value area extension, comprehensive alerts, and enhanced visual context.
This script is a significant upgrade over standard VWAP implementations (including TradingView's built-in VWAP (the basis for this script) and typical community versions). It is designed for experienced intraday, swing, and positional traders who require precise, context-aware mean reference levels with minimal chart clutter.
Key Features & Trading Value
1 | Previous Period Value Area Extension
Automatically extends the prior anchor period's VWAP and ±1σ bands into the current period as reference lines.
Optional translucent fill between the previous ±1σ bands creates a clear "previous value area" zone.
Why it matters : The edges of the prior period's value area often act as dynamic support/resistance or mean reversion zones. This visual persistence eliminates manual drawing and provides immediate context for reactions at prior fair value zones. These are especially powerful on intraday charts when using Daily/Weekly/Quarterly anchors.
2 | Comprehensive Approach Alerts
Configurable proximity-based alerts trigger when price approaches (from either side) any plotted level: current VWAP, all six deviation bands (±1σ, ±2σ, ±3σ), and previous period VWAP/±1σ value area.
Adjustable trigger percentage and minimum bar cooldown prevent alert spam during consolidation.
Why it matters : Enables hands-off monitoring of potential mean reversion setups, deviation extremes, or breakout/rejection candidates without constant screen watching.
3 | Additional Professional-Grade Enhancements
Flexible Anchor Periods : Daily, Weekly, Monthly, Quarterly (default), Yearly, Decade, Century, plus event-based resets (Earnings, Dividends, Splits).
Intelligent Visibility Controls :
Hide entire indicator on selected higher timeframes (1H and above).
Dynamic distance filter removes off-screen levels (based on % from price).
Limit plotting to last X bars for performance and clarity.
Real-Time Info Table :
Displays current anchor, timeframe, and rounded live values for VWAP and all bands, enabling fast access to precise level values for order placement.
Fully customisable position, text size, font (monospace option), and price level decimal rounding.
Right-Side Labels with Tooltips :
Clean, minimal labels at current levels with hover tooltips allow you to quickly identify the level without cluttering the chart.
Customizable Styling :
Independently adjustable colours for VWAP and each deviation band pair.
Offset support for forward/backward shifting.
Recommended Use Cases
Intraday Scalping/Mean Reversion : 5m–15m charts with Daily anchor + previous value area as primary reference.
Swing Entries : Higher timeframes (1H–4H) using Weekly or Quarterly VWAP for bias, with previous quarter's value area as major confluence.
Deviation Trading : Watch for price interaction with ±2σ/±3σ bands combined with approach alerts for potential exhaustion.
Institutional Benchmarking : Quarterly/Yearly anchors approximate common institutional VWAP reset periods.
Additional Notes
Source fixed to hlc3 (industry standard for VWAP).
Enjoy cleaner, more contextual VWAP analysis.
| | deKoder | |
Released December 2025 | Open Source
// IF THIS FREE(!) VWAP SCRIPT — OR ANY OF ITS FRIENDS — HAS HELPED YOU BANK SOME COINS...
// A COFFEE, LUNCH, OR A FEW SATS GOES A LONG WAY TOWARDS KEEPING THE LIGHTS ON
// COFFEE KEEPS THE PINE FLOWING 😉❤️ | FR33FA11
// SOL: 2N8HWPAHSC7Z8SLyneMrZp234UAP9HCtQX7wNXw7LKQC
// ETH: 0xE770D254DC579d1db7bA2fe74376b7009527356B
// BTC: bc1qd8j3awht5yrjtnvt5dagxldzhaesc83sftype3
// POLYGON: 0xE770D254DC579d1db7bA2fe74376b7009527356B
// HYPE: 0xE770D254DC579d1db7bA2fe74376b7009527356B
AlgoDesk SENSEX Option Buyer v1.4//@version=6
indicator("AlgoDesk SENSEX Option Buyer v1.4", overlay=true) // timeframe removed
//---------------------- Inputs --------------------------
rsiLength = input.int(14,"RSI Length")
macdFast = input.int(12,"MACD Fast")
macdSlow = input.int(26,"MACD Slow")
macdSig = input.int(9,"MACD Signal")
bbLength = input.int(20,"Bollinger Length")
bbMult = input.float(2.0,"BB Multiplier")
//---------------------- Indicator Calculations ----------
rsi = ta.rsi(close, rsiLength)
macd = ta.ema(close, macdFast) - ta.ema(close, macdSlow)
signal = ta.ema(macd, macdSig)
basis = ta.sma(close, bbLength)
dev = bbMult * ta.stdev(close, bbLength)
upperBand = basis + dev
lowerBand = basis - dev
vwap = ta.vwap(close)
//---------------------- Conditions ----------------------
bullish_rsi = rsi > 60
bearish_rsi = rsi < 40
macd_bull = ta.crossover(macd, signal)
macd_bear = ta.crossunder(macd, signal)
above_vwap = close > vwap
below_vwap = close < vwap
bb_up = close > upperBand
bb_dn = close < lowerBand
//---------------------- Signal Logic --------------------
callSignal = bullish_rsi and macd_bull and above_vwap and bb_up
putSignal = bearish_rsi and macd_bear and below_vwap and bb_dn
//---------------------- ATM Strike Detect ---------------
atm = math.round(close/100) * 100
//---------------------- Plot Signals --------------------
plotshape(callSignal,
title="CALL BUY",
style=shape.labelup,
location=location.belowbar,
color=color.new(color.green,0),
size=size.large,
text="CALL")
plotshape(putSignal,
title="PUT BUY",
style=shape.labeldown,
location=location.abovebar,
color=color.new(color.red,0),
size=size.large,
text="PUT")
plotshape(not callSignal and not putSignal,
title="NO TRADE",
style=shape.circle,
location=location.bottom,
color=color.new(color.gray,70),
size=size.tiny,
text="NT")
//---------------------- Display BB + VWAP ----------------
plot(upperBand,"Upper BB",color=color.green)
plot(lowerBand,"Lower BB",color=color.red)
plot(vwap,"VWAP",color=color.yellow)
//---------------------- Webhook JSON --------------------
alertMessageCall = str.format(
'{"sensex":"{0}","rsi":"{1}","signal":"CALL","strike":"{2}"}',
close, rsi, atm)
alertMessagePut = str.format(
'{"sensex":"{0}","rsi":"{1}","signal":"PUT","strike":"{2}"}',
close, rsi, atm)
// Alerts fire on signal confirmation
if callSignal
alert(alertMessageCall, alert.freq_once_per_bar_close)
if putSignal
alert(alertMessagePut, alert.freq_once_per_bar_close)
AlgoDesk SENSEX Option Buyer v1.4//@version=6
indicator("AlgoDesk SENSEX Option Buyer v1.4", overlay=true) // timeframe removed
//---------------------- Inputs --------------------------
rsiLength = input.int(14,"RSI Length")
macdFast = input.int(12,"MACD Fast")
macdSlow = input.int(26,"MACD Slow")
macdSig = input.int(9,"MACD Signal")
bbLength = input.int(20,"Bollinger Length")
bbMult = input.float(2.0,"BB Multiplier")
//---------------------- Indicator Calculations ----------
rsi = ta.rsi(close, rsiLength)
macd = ta.ema(close, macdFast) - ta.ema(close, macdSlow)
signal = ta.ema(macd, macdSig)
basis = ta.sma(close, bbLength)
dev = bbMult * ta.stdev(close, bbLength)
upperBand = basis + dev
lowerBand = basis - dev
vwap = ta.vwap(close)
//---------------------- Conditions ----------------------
bullish_rsi = rsi > 60
bearish_rsi = rsi < 40
macd_bull = ta.crossover(macd, signal)
macd_bear = ta.crossunder(macd, signal)
above_vwap = close > vwap
below_vwap = close < vwap
bb_up = close > upperBand
bb_dn = close < lowerBand
//---------------------- Signal Logic --------------------
callSignal = bullish_rsi and macd_bull and above_vwap and bb_up
putSignal = bearish_rsi and macd_bear and below_vwap and bb_dn
//---------------------- ATM Strike Detect ---------------
atm = math.round(close/100) * 100
//---------------------- Plot Signals --------------------
plotshape(callSignal,
title="CALL BUY",
style=shape.labelup,
location=location.belowbar,
color=color.new(color.green,0),
size=size.large,
text="CALL")
plotshape(putSignal,
title="PUT BUY",
style=shape.labeldown,
location=location.abovebar,
color=color.new(color.red,0),
size=size.large,
text="PUT")
plotshape(not callSignal and not putSignal,
title="NO TRADE",
style=shape.circle,
location=location.bottom,
color=color.new(color.gray,70),
size=size.tiny,
text="NT")
//---------------------- Display BB + VWAP ----------------
plot(upperBand,"Upper BB",color=color.green)
plot(lowerBand,"Lower BB",color=color.red)
plot(vwap,"VWAP",color=color.yellow)
//---------------------- Webhook JSON --------------------
alertMessageCall = str.format(
'{"sensex":"{0}","rsi":"{1}","signal":"CALL","strike":"{2}"}',
close, rsi, atm)
alertMessagePut = str.format(
'{"sensex":"{0}","rsi":"{1}","signal":"PUT","strike":"{2}"}',
close, rsi, atm)
// Alerts fire on signal confirmation
if callSignal
alert(alertMessageCall, alert.freq_once_per_bar_close)
if putSignal
alert(alertMessagePut, alert.freq_once_per_bar_close)


















