P
PipsGrowth

SMC Order Blocks + BOS/CHoCH + FVG + Liquidity

#04 · SMC / Institutional / Reversal غير معاد الرسم EA Readable لوحة تنبيهات

This is a comprehensive Smart Money Concepts (SMC) indicator that detects institutional order flow patterns: Order Blocks (zones where institutions placed large orders), Break of Structure (BOS) confirming trend continuation, Change of Character (CHoCH) signaling trend reversal, Fair Value Gaps (FVG) showing imbalance, and liquidity sweeps (stop hunts). It requires at least 2 of 3 SMC conditions to align before generating a signal.

كيف يعمل

Swing highs/lows are detected using a configurable lookback. The indicator tracks HH/HL/LH/LL structure sequences. BOS fires when price closes beyond the last swing high (bullish) or low (bearish). CHoCH fires when the structure sequence reverses. Bullish Order Blocks are the last down-candle before a strong up-move that breaks structure. FVGs are price gaps between bar i-2 and bar i. Liquidity sweeps are wicks beyond swing points that close back inside.

إشارات الدخول

  • Bullish: BOS confirmed OR CHoCH to bullish + Price returns to bullish OB + Sweep below swing low → BUY (2+ of 3)
  • Bearish: BOS confirmed OR CHoCH to bearish + Price returns to bearish OB + Sweep above swing high → SELL (2+ of 3)
  • No-Trade: Price in middle of range, no structure break, no OB retest

إشارات الخروج

  • TP: ATR-based TP or opposite OB zone reached
  • Reversal: Opposite CHoCH forms → close and reverse
  • Expiry: Signal_Expiry_Bars passed without TP

مرشحات التداول

  • Structure Required: No BOS/CHoCH → no trade
  • OB Retest Required: Price not at OB → no trade
  • Spread: Spread > Max_Spread_Points → no signal
  • Cooldown: Last signal < Cooldown_Bars ago → no signal
  • Confluence: BOS + OB + Sweep → higher confidence (all 3 = 90+)

معاينة الكود المصدري

أول 50 سطر من 1095
PG_04_SMC_OrderBlocks.mq5
MQL5
//+------------------------------------------------------------------+
//| PipsGrowth_SMC_OrderBlocks_Indicator_v1.mq5 |
//| Copyright 2025, Pipsgrowth.com |
//| https://www.pipsgrowth.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2025, Pipsgrowth.com"
#property link "https://www.pipsgrowth.com"
#property version "1.00"
#property indicator_chart_window
#property indicator_buffers 13
#property indicator_plots 6
// Plot 0: BUY Entry (up triangle, green)
#property indicator_label1 "BUY Entry"
#property indicator_type1 DRAW_COLOR_ARROW
#property indicator_color1 clrLime
#property indicator_width1 2
// Plot 1: SELL Entry (down triangle, red)
#property indicator_label2 "SELL Entry"
#property indicator_type2 DRAW_COLOR_ARROW
#property indicator_color2 clrRed
#property indicator_width2 2
// Plot 2: Exit Signal (color arrow: aqua=TP, orange=reversal, gray=expired)
#property indicator_label3 "Exit"
#property indicator_type3 DRAW_COLOR_ARROW
#property indicator_color3 clrAqua,clrOrange,clrGray
#property indicator_width3 2
// Plot 3: BOS Marker
#property indicator_label4 "BOS"
#property indicator_type4 DRAW_ARROW
#property indicator_color4 clrDeepSkyBlue
#property indicator_width4 1
// Plot 4: CHoCH Marker
#property indicator_label5 "CHoCH"
#property indicator_type5 DRAW_ARROW
#property indicator_color5 clrMagenta
#property indicator_width5 1
// Plot 5: Liquidity Sweep
#property indicator_label6 "Sweep"
#property indicator_type6 DRAW_ARROW
#property indicator_color6 clrYellow
#property indicator_width6 1
//--- Input Parameters
input group "Core"

لأغراض تعليمية فقط. لا تستخدمه بأموال حقيقية. اختبر على حساب تجريبي فقط.

المميزات الرئيسية

Multi-concept SMC detection (OB, BOS, CHoCH, FVG, Liquidity)
Confluence-based entries (2+ of 3 conditions required)
Order Block zones with mitigation tracking
FVG detection with fill tracking
Liquidity sweep detection (stop hunts)
Confidence scoring: BOS(25) + CHoCH(30) + OB(25) + Sweep(20) + FVG(10) + Volume(10)
Visual rectangles for OB and FVG zones

معاملات الإدخال

Swing_Lookback
الافتراضي: 5
Bars left/right to confirm swing point
OB_Max_Age
الافتراضي: 50
Max bars an OB remains valid
FVG_Max_Age
الافتراضي: 30
Max bars an FVG remains valid
Liquidity_Lookback
الافتراضي: 20
Bars to look for liquidity targets
Require_BOS_For_Entry
الافتراضي: true
Only enter after BOS confirmation
Require_OB_Retest
الافتراضي: true
Only enter when price returns to OB
SL_ATR_Mult
الافتراضي: 1.5
Stop loss in ATR multiples
TP_ATR_Mult
الافتراضي: 2.0
TP in ATR multiples

تعليمات التثبيت

1حمّل ملف .mq5 من زر التحميل
2افتح MetaTrader 5 ← File ← Open Data Folder
3اذهب إلى MQL5 ← Indicators
4انسخ ملف .mq5 إلى مجلد Indicators
5افتح MetaEditor (F4) واضغط F5 للترجمة
6المؤشر سيظهر في Navigator تحت Indicators
7اسحب المؤشر إلى الرسم البياني
8اختبر على حساب تجريبي أولاً

تحذير صريح: لأغراض تعليمية فقط

هذا المؤشر مخصص للأغراض التعليمية والاختبارية فقط. لا تستخدمه بأموال حقيقية. اختبره فقط على حساب تجريبي. التداول بأموال حقيقية ينطوي على مخاطر فقدان رأس المال. لا تشكل هذه الأداة نصيحة استثمارية.

مجتمع المستخدمين

سجّل دخولك للمشاركةتسجيل الدخول

الأسئلة الشائعة

التوقيت. التقارب SMC يخبرك أن الإعداد صالح بنيويًا، لكنه لا يضمن أن توقيت الدخول صحيح. إعادة اختبار OB الصعودي التي تتشكل الساعة 3 مساءً يوم الجمعة، أو قبل حدث إخباري كبير مباشرة، هي صحيحة بنيويًا لكنها ستفشل على الأرجح بسبب انهيار السيولة. تحقق أيضًا من نظام ATR — إذا كان السوق في نظام متقلب، حتى إعداد SMC المثالي يمكن أن يتأرجح. المؤشر يحدد الفرصة؛ لا يزال عليك قراءة سياق التوقيت.
آخر تحديث: ١١ يوليو ٢٠٢٦

إخلاء مسؤولية تعليمي

هذا المحتوى للأغراض التعليمية فقط ولا يُعد نصيحة مالية أو استثمارية. التداول ينطوي على مخاطر كبيرة وقد تفقد رأس مالك. استشر مستشارًا ماليًا مرخصًا قبل اتخاذ أي قرارات استثمارية.

سجّل دخولك للتحميل

التحميل متاح للأعضاء المسجلين. سجّل الدخول أو أنشئ حساباً مجانياً للوصول إلى الكود المصدري الكامل.

المواصفات

الفئةSMC / Institutional / Reversal
الصعوبةAdvanced
الإصدارv1.0
الإطاراتM15, M30, H1
إعادة الرسملا
EAقابل

الأفضل لـ

SMC tradersReversal tradingM15-H1 timeframesXAUUSD and forex majors
SMC Order Blocks + BOS/CHoCH + FVG + Liquidity | مؤشر MT5 مجاني