SMC OrderBlocks AIO MT4
- Indicatori
- Catur Cipto Nugroho
- Versione: 3.10
- Attivazioni: 10
📊 Order Blocks All-in-One — SMC Indicator for MT4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🚀 The only Order Block indicator you'll ever need.
Track the complete lifecycle of every Order Block — from formation to mitigation to breakout — all in one single, powerful indicator.
Built on Smart Money Concepts (SMC) originally introduced by the ICT community, this tool brings institutional-level market structure analysis directly to your MetaTrader 4 chart.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Order Blocks function similarly to traditional support and resistance levels, but with a deeper understanding of where institutional orders are placed. They form at swing highs and swing lows — the exact points where smart money enters the market.
Traders expect price to either bounce from these zones 📈 or, if broken, to retest and continue in the breakout direction 📉.
While the concept originates from classic forex principles, this indicator delivers it with modern precision, automation, and visual clarity that manual analysis simply cannot match.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔗 Why "All-in-One"?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
During development, we realized that the three common types of Order Blocks are simply different states of one single Order Block as price interacts with it over time.
Instead of cluttering your chart with three separate indicators, we built one unified tool that intelligently tracks each zone through its entire lifecycle:
🔵 Unmitigated
🛡️ A fresh zone that price has not yet touched.
These are the highest-probability reaction zones.
▸ Displayed as a bright colored rectangle.
⚪ Mitigated
⚡ Price has entered the zone (wick touched) but has not fully closed through it.
The zone has been partially consumed.
▸ Displayed as a dimmed rectangle.
🟠 Breaker
💥 Price has completely closed through the zone.
The OB has failed and now acts as a breaker block — potential role reversal zone.
▸ Displayed as an orange rectangle (frozen in time).
💡 Key Insight:
Unmitigated zones are where the highest-probability trades occur. Mitigated zones still have residual significance. Breaker blocks signal potential role reversal — a broken support becomes resistance, and vice versa.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features and Strengths
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Precision Detection
Uses ZigZag swing point analysis combined with a 3-step validation process to identify only structurally significant Order Blocks — no noise, no false signals.
🔄 Real-Time State Tracking
Every OB is monitored tick-by-tick. The moment price interacts with a zone, the state updates instantly — colors change, labels update, alerts fire.
🎨 4 Color Presets + Full Custom
Choose from Default, Dark, Light themes or go fully custom with 10 individually configurable colors — separate colors for Bull/Bear × each state.
📐 3 Validation Modes
Strict (body + impulse + FVG gap), Moderate (body + impulse), or Relaxed (impulse only).
Fine-tune sensitivity to match your trading style.
⏰ Smart Expiration System
OBs automatically expire after a configurable number of ZigZag swings.
Keeps your chart clean and focused on relevant, active zones only.
🏷️ Clear Zone Labels
Every zone is labeled with its type and state — "Bull OB", "Bear Mitigated", "Bull Breaker" — so you never have to guess.
🕯️ OB Candle Highlighting
The exact candle that formed each Order Block is highlighted with a distinct color, making it easy to identify the origin of every zone.
📡 ZigZag Visualization
Optional ZigZag lines and peak/valley markers with customizable width, style, size, and color — see the market structure at a glance.
🔔 Instant Alerts
Popup and sound alerts when a new OB forms, gets mitigated, or breaks.
Never miss a key structural event.
🧹 Self-Cleaning Memory
Built-in automatic cleanup of old and expired zones.
Maintains optimal performance even on charts with thousands of bars.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 How Order Blocks Are Identified
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator follows a rigorous 3-step process to determine valid Order Block candles.
The high of the OB candle becomes the upper zone boundary, and the low becomes the lower boundary.
Step 1 — Swing Point Detection 🔎
The ZigZag indicator identifies significant swing highs and swing lows.
The candlestick at each swing point is considered a potential OB candle, subject to further validation.
Step 2 — Impulse Candle Comparison 📊
The next candle after the OB candle (the impulse candle) must have a larger body than the OB candle, confirming strong momentum away from the zone.
This ensures the zone was created by a genuine institutional move.
Step 3 — Shadow / Gap Confirmation 🕳️
The third candle's shadow (after the impulse) must not overlap with the OB candle's shadow.
This creates a Fair Value Gap (FVG) — a powerful confirmation that the move was impulsive and one-directional.
💡 Pro Tip:
Enable the "Filter OB Candle Direction" option for stricter validation — it ensures that bullish OBs form on bearish candles (last sellers before the move up) and bearish OBs form on bullish candles (last buyers before the move down).
This aligns perfectly with the original ICT methodology.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 Order Block Lifecycle
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Each Order Block transitions through states based on how price interacts with the zone:
🔵 Unmitigated → ⚪ Mitigated
▸ Condition: Price wick enters the zone but close stays within or beyond
▸ Meaning: Zone has been tested — still valid but weakened
🔵 Unmitigated → 🟠 Breaker
▸ Condition: Price closes fully through the entire zone
▸ Meaning: Zone has failed — becomes a potential reversal zone
⚪ Mitigated → 🟠 Breaker
▸ Condition: Price closes fully through the zone after mitigation
▸ Meaning: Previously tested zone now completely invalidated
When an OB becomes a Breaker, its rectangle is frozen in time — it stops extending, visually marking the exact moment the zone was broken. 🧊
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Complete Settings Reference
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 ORDER BLOCK SETTINGS
─────────────────────────────
▸ OB Validation Mode ⭐ Key Setting
Controls how strictly OBs are validated.
• Strict: All 3 steps required (body + impulse + FVG gap). Fewest but highest-quality OBs.
• Moderate: Body comparison + impulse break. Recommended for most traders. ⭐
• Relaxed: Impulse break only. Most OBs detected — best for higher timeframes.
▸ Filter OB Candle Direction
When enabled, only bearish candles qualify as bullish OBs and only bullish candles qualify as bearish OBs.
Aligns with classic ICT methodology.
▸ OB Expiry (ZZ swings)
Order Blocks expire after this many ZigZag swings. Set to 0 for unlimited.
Keeps your chart focused on fresh, relevant zones.
▸ Show Unmitigated / Mitigated / Breaker
Toggle visibility for each OB state independently.
Show only what matters to your strategy.
▸ Extend Zone by N Candles
Set to 0 to extend zones to the current time.
Set a specific number to limit zone extension.
Controls visual clutter.
▸ Zone Label Font Size / Show Zone Labels
Adjust or hide the text labels displayed inside each zone.
📐 ZIGZAG SETTINGS
─────────────────────────────
▸ Depth / Deviation / Backstep
Standard ZigZag parameters.
Higher Depth = fewer but more significant swing points.
Default: 12 / 5 / 3 — works well across most timeframes and instruments.
▸ Mark Peaks and Valleys / Marker Size
Displays ▽ at swing highs and △ at swing lows.
Visualize the market structure skeleton.
▸ Show ZigZag Line / Line Width / Line Style
Draw the ZigZag connecting line between swing points.
Choose from Solid, Dash, Dot, or Dash-Dot styles.
🎨 COLOR SETTINGS
─────────────────────────────
▸ Color Preset
Quick-select from 4 schemes:
• Default — Classic Blue/Red theme
• Dark — Optimized for dark chart backgrounds 🌙
• Light — Clean look for light backgrounds ☀️
• Custom — Unlocks all 10 individual color controls 🎨
▸ Custom Colors (active when Preset = Custom)
Individually set colors for:
Bearish/Bullish OB Candle Highlight,
Bearish/Bullish Unmitigated Zone,
Bearish/Bullish Mitigated Zone,
Bearish/Bullish Breaker Zone,
Text Color, and ZigZag Color.
🔔 ALERT SETTINGS
─────────────────────────────
▸ Enable Popup Alert / Enable Sound Alert
Get notified when a new OB is detected, mitigated, or broken.
Alerts are suppressed during initial chart loading to prevent spam. 🤫
▸ Alert Sound File
Specify a custom .wav file from your MT4 Sounds folder.
▸ Max Order Blocks to Track
Limits memory usage. Old/expired OBs are automatically cleaned up.
Default: 300. Ensures smooth performance on any hardware.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏎️ Performance and Optimization
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is engineered for maximum efficiency:
✅ New-bar-only scanning — OB detection runs once per bar, not on every tick. Zero CPU waste.
✅ Tick-level state updates — Mitigation and breaker detection runs on every tick for real-time accuracy.
✅ Automatic memory management — Old and expired OBs are periodically purged. No memory leaks, ever.
✅ Unique object naming — Uses type-prefixed timestamp UIDs. No object conflicts, no visual glitches.
✅ Smart alert throttling — Maximum one alert per bar per event. No alert storms during volatile markets.
✅ Suppressed first-load alerts — Historical OBs don't trigger alerts. Only new, real-time events notify you.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Who Is This For?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏦 SMC / ICT Traders
The core tool for Smart Money Concept analysis.
Identify where institutions placed their orders and trade alongside them.
📈 Supply and Demand Traders
Order Blocks are supply and demand zones — but detected with algorithmic precision instead of subjective drawing.
⏱️ Scalpers and Day Traders
Use Relaxed mode on lower timeframes for more zones, or Strict mode for only the highest-conviction setups.
📅 Swing and Position Traders
Higher timeframe OBs with Moderate/Strict validation produce exceptionally reliable reversal and continuation zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌍 Compatibility
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Works on all currency pairs — Majors, Minors, Exotics
✅ Works on all instruments — Forex, Gold, Indices, Crypto, Commodities
✅ Works on all timeframes — M1 to MN
✅ Requires only the standard ZigZag indicator (included with every MT4 installation)
✅ No DLL imports — clean, safe, standalone indicator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 Stop Drawing Zones Manually.
Let the algorithm detect, track, and update every Order Block for you — in real time.
One indicator. Three states. Complete market structure clarity.
📊 Order Blocks All-in-One — Precision meets simplicity.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Important Note:
This indicator is a technical analysis tool designed to assist your trading decisions. It does not provide buy/sell signals on its own. Always combine with proper risk management, confluence factors, and your overall trading plan. Past performance does not guarantee future results.
📬 Support:
If you have questions, feature requests, or need assistance with settings, feel free to reach out through the Comments section or send a private message.
I'm happy to help! 🤝
