OPEN-SOURCE SCRIPT
更新済

Order Block Finder | Gold | ProjectSyndicate

23 422
🥇 ProjectSyndicate Gold Order Block Finder
📌 Institutional Order Blocks for XAUUSD Built for Gold’s Volatility


The ProjectSyndicate Gold Order Block Finder is a professional-grade TradingView indicator engineered specifically for XAUUSD / Gold traders who want clean, high-probability institutional supply & demand zones on their chart.

Gold moves fast, sweeps liquidity often, and loves sharp displacement. This tool is tuned to match that behavior—so you can quickly spot the zones where smart money likely stepped in, and plan entries, targets, and invalidations with confidence. ✅

🚀 Why Gold Traders Like It

✅ Made for XAUUSD: Detection is tuned for Gold’s unique volatility and impulse structure
🏦 Institutional Zone Detection: Finds the last opposing candle before a true displacement + structure break
🧹 Auto-Cleanup (Mitigation): Zones automatically disappear when invalidated (no clutter)
📦 Clean Visualization: Professional OB boxes that extend into live price action
⚡ Pine Script v6: Built on the latest TradingView engine for stability and speed

🧠 Detection Logic Simple, Effective, Battle-Tested

📈 Bullish Order Block (Demand):
The last bearish candle before a strong bullish displacement that breaks market structure (BOS)

📉 Bearish Order Block (Supply):
The last bullish candle before a strong bearish displacement that breaks market structure (BOS)

💥 Displacement Filter Power Move Confirmation:
Zones are validated only when the impulse move meets a minimum strength threshold (default: 1.3× candle range)—helping filter out weak noise and low-quality blocks.

🛠 Recommended Gold Settings (XAUUSD)

Use these presets to match Gold’s typical behavior across higher-impact timeframes:
Timeframe | Swing Length | Displacement

M5 | 5–7 | 1.2 – 1.4
M10 | 5–7 | 1.2 – 1.4
M30 | 5–7 | 1.2 – 1.4
H1 | 7–9 | 1.3 – 1.6
H4 | 8–10 | 1.5 – 2.0

💡 Tip: If you want more signals, reduce Swing Length.
If you want higher quality only, increase Displacement.

✅ Best Use-Cases on Gold

🎯 Mark premium supply/demand zones without manual drawing
🧲 Wait for price to return to the OB for cleaner entries
🛡️ Use OB boundaries for clear invalidation + stop placement
📊 Combine with trend bias / liquidity sweeps / session levels for extra confirmation
リリースノート
📌 Order Block Finder v2.0 — Repainting Fix

The original Order Block Finder had repainting problems—order blocks could show up and later disappear as new candles formed.

v2.0 fixes this by adding strong anti-repainting logic, so once an order block is drawn, it stays stable and won’t change after being displayed.

🔍 Why the Original Version Repainted
1) Real-Time Bar Processing

The script ran on every tick, even while the current candle was still forming (incomplete data). This caused:

Order blocks detected from temporary price moves
Blocks vanishing when the candle closed differently
Mismatch between live and historical results

2) Pivot Point Confirmation Lag

ta.pivothigh() / ta.pivotlow() need swing_length bars on both sides to confirm a pivot. The original code didn’t fully respect this delay, leading to:

Pivot points shifting as new bars arrived
Order blocks placed at wrong historical locations
Blocks created too early (before pivots were truly confirmed)
3) Mitigation Check Timing

The “mitigation” check (whether price broke an order block) also ran on every tick, including during live candle formation. That caused:

Blocks removed prematurely mid-candle

Live behavior that didn’t match backtesting/history
リリースノート
updated chart based on TradingView requirements
リリースノート
18/01/2026 - new version update. Track Sessions and Order Block Age.
Disabled by default. To enable - Show Session Info ang Age ON.


スナップショット

🌍 Why Session and Age Tracking Matters for Order Block Trading (XAUUSD + Forex)

🕒 Session context = understanding who is moving the market
Session identification matters because institutional order flow changes a lot across the trading day. London and New York sessions typically bring the highest liquidity and volatility for XAUUSD and most major Forex pairs, because that’s when big banks, funds, and macro players are most active. Order blocks formed during these sessions often reflect real institutional positioning and tend to react more cleanly when price revisits them.

🇦🇸 Asian session order blocks can be “lighter weight” (but not useless)
During the Asian session, volume is often thinner—especially for Gold (XAUUSD) and many GBP / EUR crosses—so order blocks created there can be easier to invalidate and sometimes form from smaller liquidity runs. That said, Asian session blocks can be very relevant for pairs tied to that region (like JPY, AUD, NZD, and some Asia-led flows), but they usually need extra confirmation to match the reliability of London/NY blocks. 🌙

💧 Liquidity differences affect how order blocks form and hold
Higher-liquidity sessions tend to create cleaner displacement moves, clearer breaks of structure, and more “defended” zones—because there’s real participation behind them. Lower-liquidity conditions can create choppier swings and weaker footprints, so session tracking helps you prioritize the order blocks that are more likely to represent meaningful supply/demand. 📈

🧠 Order block age = relevance and strength over time
Order block age acts like a “freshness score.” Newer order blocks (low age count) often matter more because they reflect recent institutional intent and potentially unfilled orders that price may return to. As an order block gets older without producing meaningful reactions—or as structure shifts—it may lose relevance as new supply/demand zones replace it. ⏳

🎯 The first retest is often the highest-probability opportunity
A fresh, untouched (“pristine”) order block commonly delivers the cleanest reaction on the first return, because it’s more likely that resting liquidity is still sitting there. Once a zone has been tapped, partially filled, or repeatedly retested, its edge can decrease—especially if it stops producing strong displacement afterward. ✅

🧩 Forex-specific note: session relevance depends on the pair
Not all Forex pairs behave the same across sessions.
🌐 EURUSD/GBPUSD often show strong setups during London → NY overlap.
🇯🇵 JPY pairs can show key moves during Asia, but also react heavily when London opens.
🇦🇺 AUD/NZD pairs may respect Asia session blocks more than EUR/GBP pairs do.
Session tagging helps you match order block “quality” to the pair’s natural liquidity cycle.

🏗️ Together, session + age create a repeatable filtering hierarchy
When you track both metrics, you can build an objective ranking system:
🔥 Prioritize London/NY order blocks with low age counts for primary entries.
🧷 Use older blocks as secondary confluence (targets, reaction zones, structure reference).
⚠️ Treat Asian session blocks with more caution unless supported by structure, displacement, HTF bias, or liquidity confirmation.

📊 This turns zone selection from “subjective” to “systematic”
Instead of picking order blocks based on feel, you’re applying consistent rules: who created it (session) and how current it is (age). That makes your strategy easier to backtest, optimize, and execute with confidence.

To enhance your chart layout you can also overlay Liquidity Zones and FVGs
and look for confluence setups in Gold and Forex Pairs.


Liquidity Zones | NRP | ProjectSyndicate
https://www.tradingview.com/script/1COxutBl-Liquidity-Zones-NRP-ProjectSyndicate/
Liquidity Zones | NRP | ProjectSyndicate


FVG Finder | NRP | ProjectSyndicate
https://www.tradingview.com/script/GGo1s64a-FVG-Finder-NRP-ProjectSyndicate/
FVG Finder | NRP | ProjectSyndicate

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。