P
PipsGrowth

Multi-Timeframe Confluence Scoring Engine

#05 · Confluence / Multi-Filter غير معاد الرسم EA Readable لوحة تنبيهات

The Confluence Scoring Engine is the ultimate trade filter. It evaluates 7 independent market conditions (EMA trend, RSI momentum, MACD trigger, ADX strength, volume surge, HTF bias, and Supertrend) on every closed bar, assigns weighted scores, and only generates a signal when the total meets your threshold. The scoring engine IS the filter — low score means no trade. Includes an adaptive threshold that raises requirements during high volatility and lowers them during calm periods.

كيف يعمل

Each condition is evaluated independently: EMA Trend (close > EMA50), RSI Momentum (>55 bull, <45 bear), MACD Trigger (line vs signal), ADX Strength (>20), Volume Surge (>1.5× volume MA), HTF Bias (HTF EMA alignment, weight ×2), Supertrend direction. Total score max = 10 with HTF. Signal fires when score ≥ Min_Score. Grades: A+ (8+), A (6.5+), B (5+), C (<5).

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

  • Compute all 7 conditions on closed bar
  • Sum weighted scores (max 10 with HTF)
  • Determine direction (majority of directional conditions)
  • Signal fires when score ≥ Min_Score AND direction is clear
  • Grade filter can require A+ (8+) or A (6.5+) only

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

  • TP: ATR-based TP reached
  • Reversal: Opposite signal fires (score ≥ Min_Score in opposite direction)
  • Expiry: Signal_Expiry_Bars passed
  • Score Collapse: Score drops below Min_Score - 2

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

  • Score Threshold: Below Min_Score → no signal (primary filter)
  • Grade Filter: Below selected grade → no signal
  • Session: Outside session hours → no signal
  • Spread: Spread > Max_Spread_Points → no signal
  • Cooldown: Last signal < Cooldown_Bars ago → no signal

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

أول 50 سطر من 984
PG_05_Confluence_Scoring.mq5
MQL5
//+------------------------------------------------------------------+
//| PipsGrowth_Confluence_Scoring_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 11
#property indicator_plots 3
// 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
//--- Input Parameters
input group "Core"
input int EMA_Period = 50; // Trend EMA period
input int RSI_Period = 14; // RSI period
input int RSI_Bull_Level = 55; // RSI above = bullish
input int RSI_Bear_Level = 45; // RSI below = bearish
input int MACD_Fast = 12; // MACD fast period
input int MACD_Slow = 26; // MACD slow period
input int MACD_Signal = 9; // MACD signal period
input int ADX_Period = 14; // ADX period
input int ADX_Threshold = 20; // Min ADX for trend strength
input int Volume_MA_Period = 20; // Volume MA period
input double Volume_Surge_Mult = 1.5; // Volume surge multiplier
input group "HTF"
input ENUM_TIMEFRAMES HTF_Timeframe = PERIOD_H1; // Higher timeframe
input int HTF_EMA_Period = 50; // HTF EMA period
input group "Supertrend"
input bool Use_Supertrend = true; // Include Supertrend condition

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

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

7 independent condition evaluators
Weighted scoring with HTF bias (×2 weight)
Adaptive threshold adjusts to volatility
Grade system: A+, A, B, C
Per-condition dashboard with checkmarks
Score histogram visualization
Direction determined by majority vote

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

EMA_Period
الافتراضي: 50
Trend EMA period
RSI_Period
الافتراضي: 14
RSI period
MACD_Fast
الافتراضي: 12
MACD fast period
MACD_Slow
الافتراضي: 26
MACD slow period
ADX_Period
الافتراضي: 14
ADX period
ADX_Threshold
الافتراضي: 20
Min ADX for trend strength
HTF_Timeframe
الافتراضي: PERIOD_H1
Higher timeframe for bias
Min_Score
الافتراضي: 5
Minimum score to fire signal
Grade_Filter
الافتراضي: All
All, A_and_A_plus, A_plus_only

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

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

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

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

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

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

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

يعتمد على استراتيجيتك. إشارات الدرجة B صالحة تقنيًا لكنها تقع عند حافة العتبة. إذا كانت لاستراتيجيتك توقع إيجابي عند الدرجة B (معدل ربح مختبَر × R:R)، خذها لكن قلّل الحجم إلى 50-75% من مخاطرك العادية. إذا أظهرت الاختبارات الخلفية أن الدرجات B تخسر أكثر مما تربح، تجاوزها. فلتر الدرجة للمؤشر هو "All" افتراضيًا لعرض كل شيء — اضبطه على "A_and_A_plus" للتداول التقديري إذا كانت درجات B غير مريحة.
آخر تحديث: ١١ يوليو ٢٠٢٦

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

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

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

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

المواصفات

الفئةConfluence / Multi-Filter
الصعوبةAdvanced
الإصدارv1.0
الإطاراتM5, M15, M30
إعادة الرسملا
EAقابل

الأفضل لـ

Multi-confirmation entriesReducing false signalsM5 with H1 HTF biasSystematic trading
Multi-Timeframe Confluence Scoring Engine | مؤشر MT5 مجاني