P
PipsGrowth

SMC Structure (BOS/CHoCH + OB + FVG + Liquidity)

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

The SMC Structure indicator is a comprehensive Smart Money Concepts tool focused on market structure. It detects swing highs/lows with configurable strength, tracks HH/HL/LH/LL sequences, identifies Break of Structure (BOS) and Change of Character (CHoCH), marks Order Blocks with mitigation tracking, detects Fair Value Gaps with fill tracking, and identifies liquidity sweep patterns. All SMC events are visualized on chart with clear markers.

كيف يعمل

Swing detection using N-bar fractal strength. Structure tracked as HH/HL/LH/LL sequence. BOS: price closes beyond last swing high (bullish) or low (bearish). CHoCH: structure sequence reverses. Order Blocks: last opposite-color candle before a structural break, tracked with mitigation (invalidated when price returns). FVG: price gap between bar i-2 and bar i, tracked with fill. Liquidity sweeps: wick beyond swing point that closes back inside.

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

  • Bullish: BOS confirmed + price returns to bullish OB + liquidity sweep below swing low
  • Bearish: BOS confirmed + price returns to bearish OB + liquidity sweep above swing high
  • CHoCH to bullish/bearish can substitute for BOS
  • No-Trade: No structure break, price in middle of range

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

  • TP: Price reaches entry ± (TP_ATR_Mult × ATR)
  • Reversal: Opposite CHoCH detected
  • OB Mitigated: Price closes through OB zone → signal invalidated
  • Expiry: Signal_Expiry_Bars passed

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

  • Structure Required: No BOS/CHoCH → no trade
  • OB Mitigation: Price has not returned to OB → no trade
  • Spread: Spread > Max_Spread_Points → no signal
  • Cooldown: Last signal < Cooldown_Bars ago → no signal
  • Session: Outside session hours → no signal

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

أول 50 سطر من 1212
PG_14_SMC_Structure.mq5
MQL5
//+------------------------------------------------------------------+
//| PipsGrowth_SMC_Structure_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 18
#property indicator_plots 6
#property indicator_label1 "BUY Entry"
#property indicator_type1 DRAW_COLOR_ARROW
#property indicator_color1 clrLime
#property indicator_width1 2
#property indicator_label2 "SELL Entry"
#property indicator_type2 DRAW_COLOR_ARROW
#property indicator_color2 clrRed
#property indicator_width2 2
#property indicator_label3 "Exit"
#property indicator_type3 DRAW_COLOR_ARROW
#property indicator_color3 clrAqua,clrOrange,clrGray
#property indicator_width3 2
#property indicator_label4 "Swing High"
#property indicator_type4 DRAW_ARROW
#property indicator_color4 clrDodgerBlue
#property indicator_width4 1
#property indicator_label5 "Swing Low"
#property indicator_type5 DRAW_ARROW
#property indicator_color5 clrFireBrick
#property indicator_width5 1
#property indicator_label6 "BOS/CHoCH"
#property indicator_type6 DRAW_COLOR_ARROW
#property indicator_color6 clrDodgerBlue,clrMagenta
#property indicator_width6 2
//--- Inputs
input group "Swing Detection"
input int Swing_Strength = 3; // N-bar fractal strength
input group "Structure"
input bool Detect_BOS = true; // Detect Break of Structure
input bool Detect_CHoCH = true; // Detect Change of Character
input bool Detect_Liquidity_Sweeps = true; // Detect liquidity sweep patterns

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

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

Swing point detection with configurable strength
BOS and CHoCH detection with markers
Order Block tracking with mitigation
FVG detection with fill tracking
Liquidity sweep pattern detection
Visual swing high/low arrows on chart
BOS/CHoCH color-coded markers

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

Swing_Strength
الافتراضي: 3
N-bar fractal strength
Detect_BOS
الافتراضي: true
Detect Break of Structure
Detect_CHoCH
الافتراضي: true
Detect Change of Character
Detect_Liquidity_Sweeps
الافتراضي: true
Detect liquidity sweep patterns
Max_OB_Count
الافتراضي: 5
Max active OBs to track
OB_Mitigation
الافتراضي: true
Invalidate OB when price touches
Max_FVG_Count
الافتراضي: 5
Max active FVGs to track
FVG_Mitigation
الافتراضي: true
Invalidate FVG when filled

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

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

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

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

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

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

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

PG-04 requires 2 of 3 conditions to align before firing. إذا أظهر PG-14 BOS جميل و OB، لكن لا يوجد مسح للسيولة، PG-04 will correctly suppress the signal until all conditions are met. PG-14 هي أداة تصور — تُظهر كل ما يحدث. PG-04 هي أداة تأكيد — لا تُطلق إلا عندما يكون التقارب مرتفعًا فعلاً. الفجوة بين ما يُظهره PG-14 وما يُطلقه PG-04 هي معلومة مفيدة فعليًا: تُخبرك بأي شروط لا تزال مفقودة.
آخر تحديث: ١١ يوليو ٢٠٢٦

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

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

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

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

المواصفات

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

الأفضل لـ

SMC tradersStructure-based tradingM15-H1 timeframesXAUUSD and forex majors
SMC Structure (BOS/CHoCH + OB + FVG + Liquidity) | مؤشر MT5 مجاني