P
PipsGrowth
متابعة الاتجاهمفتوح المصدر - مجاني

Pipsgrowth EX16108 Trend — إكسبرت أدفايزر متابعة اتجاه

إكسبرت أدفايزر MT5 مفتوح المصدر · XAUUSD · M5، H1

Pipsgrowth EX16108 Trend — Expert Advisor that trades using four Hull indicators with simple hull exit, breakout confirmation and multi-layer risk . إكسبرت أدفايزر MT5 مفتوح المصدر.

نظرة عامة

Pipsgrowth EX16108 هو مستشار خبير لقياس الاتجاه مبني على محرك تصويت من أربع مؤشرات هول، مع طبقة خروج ثانية مميزة: مجموعة «هول البسيطة» الممتدة عبر خمس أطر زمنية تعمل بشكل مستقل عن تصويت الدخول. يصرّح الكود المصدري (.mq5، الإصدار 2.00، الرقم السحري 22216108) عن 414 مُدخلاً قابلاً للضبط موزعة على 46 مجموعة، لكن جوهر الاستراتيجية هو سلّم حسابي محكم من أربع متوسطات هول المتحركة على جانب الدخول ومصفوفة هول بسيطة من خمس خطوات عبر الأطر الزمنية على جانب الخروج. النتيجة هي مستشار خبير يسمح لإطار المؤشر نفسه (هول) بالتحدث مرتين: مرة لاكتشاف الاتجاه، ومرة لتأكيد لحظة انتهائه.

تمتد أعمدة هول الأربعة على فترات 55 و110 و180 و280 باستخدام طريقة LWMA-إغلاق. السلّم قصير-إلى-طويل ومتباعد جيداً — هول 1 عند 55 بحساسية تسطح 14 شمعة ونظرة خلفية زخم 3 شموع يصوّت على الإطار الزمني M1، وهول 2 عند 110 بحساسية تسطح 4.5 وزخم 15 شمعة على M5، وهول 3 عند 180 بحساسية 3.5 وزخم 25 شمعة على M15، وهول 4 عند 280 بحساسية 2.5 وزخم 35 شمعة على M30. يمكن تعطيل أيٍّ منها أو إعادة ضبطه بشكل مستقل، لكن الإعدادات الافتراضية تُكوّن فاصل فترات 1:5 (من 55 إلى 280) مع مرشح ADX مُرفق بهول 1 (عتبة 30) وهول 2 (عتبة 22). يعمل هول 3 وهول 4 دون مرشح. يُحسب التصويت بواسطة HullConsensusAtShift(): الدخول الطويل يتطلب أن يطبع InpMinIndicatorsAgreeForInitialTrades (افتراضي 2) من الأربعة إشارة صاعدة مع صفر هابطة، والعكس صحيح للدخول القصير. ينخفض InpMinIndicatorsAgreeForAdditonalTrades إلى 1 بمجرد فتح صفقة، وهي الطريقة التي يكدّس بها المستشار الخبير الصفقات في الاتجاه نفسه. InpSignalBarShift ثابت عند 1 (شمعة مغلقة) وInpRequireStableSignal صحيح مع InpStableBarsRequired = 2، لذا يجب أن يستمر الإجماع عبر شمعتين مغلقتين قبل تفعيل الدخول.

خروج هول البسيط هو ما يميّز EX16108 عن بقية حزمة EX16xxx. تنتج خمس متوسطات هول بسيطة — SimpleHull1 (فترة 20، M1، LWMA، قاسم 2.0)، وSimpleHull2 (فترة 30، M30 فعلياً، EMA، قاسم 2.5)، وSimpleHull3 (فترة 50، H1، EMA، قاسم 3.0)، وSimpleHull4 (فترة 80، H4، LWMA، قاسم 3.5)، وSimpleHull5 (فترة 120، D1، SMA، قاسم 4.0) — تصويتاً منفصلاً يعمل بالتوازي. عند تفعيل InpEnableSimpleHullExit = true، تُغلق أي صفقة مفتوحة عندما ينعكس 3 من أصل 5 (InpSimpleHullMinIndicatorsAgreeCloseProfit = 3) ويكون الربح 80 نقطة على الأقل. إذا فعّل المستخدم InpSimpleHullCloseOnOppositeEvenIfInLose، ترتفع العتبة إلى 4 من 5 وتُغلق الصفقة بصرف النظر عن الربح/الخسارة. يعني امتداد الأطر الخمسة أن الخروج يتفاعل مع انعكاس D1 البطيء بنفس سرعة انعكاس البنية الدقيقة في M1. في الإعداد الافتراضي المُسلَّم يكون المفتاح الرئيسي مُعطّلاً، ويكون انعكاس هول الأربعة للدخول (InpCloseOnOpposite = true مع InpMinIndicatorsAgreeCloseProfit = 3 وInpMinIndicatorsAgreeCloseLoss = 4) هو آلية الانعكاس الفعّالة.

معاملات المخاطر قوية على محور وقف الخسارة/جني الأرباح لكنها محصّنة بشدة في أماكن أخرى. وقف الخسارة الابتدائي 200 نقطة، وجني الأرباح الابتدائي 2000 نقطة — نسبة مخاطرة إلى عائد 1:10 تعتمد على آلية الجَرّ لالتقاط الحركة فعلاً. InpEnableTrailingStop = true يتفعّل عند 550 نقطة ربح ويُحرّك الستوب بخطوات 20 نقطة. InpEnableBreakEven = true ينقل الستوب إلى سعر الدخول + 35 نقطة بمجرد وصول السعر إلى +288. InpEnableProfitLock = false افتراضياً؛ إذا تم تفعيله، تتقدم أقفال الربح بزيادات 500 نقطة وتتبع السعر الحالي بفارق 20 نقطة. InpRiskPerTradePercent افتراضياً 5.5% لكل دخول (مرتفع) في وضع MM_MODE_PERCENT_RISK، مع InpLotRoundingMode = LOT_ROUND_NEAREST. يُقيَّد حجم الصفقة بعد ذلك بحدود الرمز عبر ClampVolumeToSymbol() وApplyLotRounding(). InpEnableProfitGate = true يتطلب أن تكون الصفقات القائمة رابحة بـ 10 نقاط على الأقل قبل إضافة دخول جديد في الاتجاه نفسه، وهي الطريقة التي يتجنب بها المستشار الخبير مضاعفة الخسارة الطازجة.

طبقة رأس المال والتأكيد هي مصدر بطء EX16108 النسبي. InpEnableMarginGuard = true يحظر الدخول عندما ينخفض AccountInfoDouble(ACCOUNT_MARGIN_LEVEL) تحت 240%. InpMaxOpenPositions = 0 يعني غير محدود. إلى جانب تصويت الأربعة هول، يُشغّل المستشار الخبير SpreadAllowsEntry() (حد 20 نقطة، الوضع التكيليفي مُعطّل)، وBarRangeAllowsEntry() (نظرة 5 شموع، مدى أدنى 50 نقطة)، وVolumeAllowsEntry() (حجم التيك على M15، عتبة 0، متوسط 10 شموع عند 0.65×)، وIsMarketChoppy() الذي يجمع أربع طبقات لكشف التذبذب — مؤشر Choppiness (فترة 134، عتبة 52.5ADX < 18 (فترة 5)، نسبة ضغط المدى 0.75، وقياس تكيليفي اختياري قائم على ATR. تراقب CorrelationMonitorAllowsEntry() زوجي USDJPY وUSDCHF على الإطار الزمني المكوَّن بنظرة 35 شمعة وعتبة دنيا 3.975، مع إلحاق اللاحقة «m» برمز الوسيط. يتم تصفية يوم الجمعة الأول من الشهر (NFP) بنافذة 30 دقيقة قبل و30 دقيقة بعد بشكل افتراضي.

يُسلَّم EX16108 مع خمس قواطع دفاعية إضافية، جميعها مُعطّلة افتراضياً. DailyDrawdownAllowsEntry() يتفعّل عند خسارة يومية 5% مع إجراء قابل للتكوين (إيقاف-جديد، إغلاق-الكل، إغلاق-الخاسرة). ConsecutiveLossAllowsEntry() يحظر الدخول بعد 3 خسائر متتالية لمدة 4 ساعات. TimeOfDayAllowsEntry() يمكنه حظر ساعات الخادم 00-02 و11-13، إضافة إلى الجمعة بعد 18:00. EquityCurveAllowsEntry() يوقف لمدة 24 ساعة إذا تجاوز الانخفاض من القمة 15%. WinRateAllowsEntry() ينظر في آخر 20 صفقة ويطلب 35% فوز على الأقل. لا يعمل أيٌّ منها في الإعداد الافتراضي، لكنها دوال من الدرجة الأولى في الكود المصدري — يُتوقَّع من المستخدم تفعيلها عند التشغيل على حساب حقيقي.

مدير الخروج هو الجزء الأكثر تطبقاً في المستشار الخبير. إلى جانب انعكاس الأربعة هول وانعكاس الخمسة هول بسيط، يُشغّل CheckAllExits() أيضاً: CheckBreakEvenAndLock، وCheckVolatilitySpikeExit (ارتفاع ATR عند 2.5× متوسط 50 شمعة، وضع الربح-فقط مُعطّل افتراضياً)، وCheckStochasticExit (فترة 47/27/23، عتبة ذروة 512/110 — لاحظ السقف غير المعتاد 512 الذي يتفعّل فقط عند الإرهاق الشديد، مع حد أدنى 26 نقطة ربح وانتظار التقاطع)، وCheckMTFExit (متوسط 50 أسي على H1)، وCheckSARExit (بارابوليك SAR بخطوة 0.02/0.2)، وCheckMACDSlopeExit (12/26/9، ميل شمعتين، عتبة 0.0001)، وCheckSwingExit (3/2 يسار/يمين، حجم أدنى 20 نقطة، عمر أقصى 3 شموع، إغلاق جزئي مُفعّل)، وCheckCCIExit (فترة 28، ذروة 211/-124، تباعد 12 شمعة، وضع الربح-فقط افتراضياً)، وCheckROCExit (فترة 12، عتبة 0.5، شمعتان ضعيفتان)، وCheckMomentumExit (RSI 14 عند 70/30 + ADX 14 < 20)، وCheckRegimeExit (مصنّف قائم على ADX/ATR مع InpRegimeConfirmBars = 3 وInpRegimeAdapt = true)، وCheckReversalExit (تصويت معاكس من 3 هول). تُدار الصفقات عبر ManageTrailingStops() للترقية النشطة للستوب وApplyProfitLock() لسلم القفل الاختياري. تُعرَّف TryClose_EX16108 وTryClosePartial_EX16108 وTryModify_EX16108 كقوالب ثلاثية إعادة المحاولة/200 مللي ثانية التي تلفّ كل عملية أمر، مع OnTradeTransaction وSetTypeFillingBySymbol لمعالجة التعبئة.

نافذة الجلسة في الإعداد الافتراضي غير معتادة: الجلسة الآسيوية مُفعّلة من 04:20 إلى 19:40 (نافذة 15 ساعة و20 دقيقة تغطي طوكيو وجزءاً كبيراً من صباح لندن)، والجلسة الأمريكية مُفعّلة من 00:00 إلى 10:00 (نافذة 10 ساعات تمتد فعلياً عبر فترة ما قبل السوق في نيويورك وجلسة الصباح)، والأوروبية مُعطّلة، ونافذة مخصصة 22:00-23:59 مُعطّلة. النافذة الافتراضية المجمعة هي إذن 25 ساعة و20 دقيقة من كل 24 ساعة، مع 40 دقيقة من التوقف الهيكلي — وهو عملياً بوابة دخول 24/5 مع فجوة يومية صغيرة. يعني InpEndOfDayClose = false افتراضي أن المستشار الخبير لا يُسطّح الصفقات في نهاية الجلسة، لكن InpEndOfDayBlockNewTrades = true يحظر الدخول الجديد بعد 23:45. يُحسب وقت الجلسة من UTC بإزاحة InpSessionUtcOffsetHours (0 افتراضياً) مضافاً إليها إزاحة يدوية بالدقائق للتوقيت الصيفي.

تتطابق بنية الـ12 طبقة المسماة في رأس الكود المصدري (REGIME، SIGNAL، ENTRY، CONFIRM، NO-TRADE، CAPITAL CAP، RISK، SIZING، MANAGE، EXIT، SCALING، OnTester) بشكل نظيف مع الكود: REGIME هو مصنّف ADX/ATR، وSIGNAL هو تصويت الأربعة هول، وENTRY هو عتبة 2 من 4 وفحص الاستقرار لشمعتين، وCONFIRM هي مكدس الانتشار/الحجم/المدى/التذبذب/الارتباط، وNO-TRADE هو حارس الهامش + بوابة الربح + غطاء أقصى للصفقات، وCAPITAL CAP هي نسبة المخاطرة على مستوى الحساب، وRISK هو وقف الخسارة/جني الأرباح لكل صفقة، وSIZING هو حساب اللوت من الرصيد، وMANAGE هي آلية التريلنج/التعادل/القفل، وEXIT هو مدير الخروج ذو الـ12 مساراً، وSCALING هو خفض عتبة الإجماع للدخول الإضافي داخل الصفقة، وOnTester هي دالة اللياقة متعددة الأهداف. تكون المرئيات مُعطّلة افتراضياً — InpAttachHullIndicators وInpShowRsiIndicator وInpShowAdxIndicator وInpShowAtrIndicator كلها خطأ — لذا تبقى الشارت نظيفة. يُسجّل OnInit سطر suppressedVisuals يسرد اللوحات وتكون لوحة المعلومات مخفية (InpShowDashboard = false).

تفاصيل الاستراتيجية

يُشغّل EX16108 سلّم تصويت من 4 مؤشرات هول (فترات 55/110/180/280) حيث يمكن تعطيل كل هول وإعادة ضبطه وإعطائه مرشح ADX الخاص به، ثم يُرسل الدخول عندما يتفق 2 من 4 على الشمعة المغلقة (الإزاحة=1) ويستمر الإجماع لمدة شمعتين. طبقة المخاطر قوية — 5.5% لكل صفقة في وضع MM_MODE_PERCENT_RISK، و1:10 وقف خسارة/جني أرباح ثابت — لكن خط أنابيب التأكيد كثيف: حد الانتشار، ومرشح نظام ATR، وحجم التيك، وضغط المدى، والتذبذب (4 طبقات)، والارتباط مقابل USDJPY وUSDCHF مع لاحقة الوسيط «m»، وحجب يوم الجمعة الأول من الشهر (NFP). تعمل مصفوفة ثانية متوازية من 5 هول عبر M1/M30/H1/H4/D1 اختيارياً على إغلاق الصفقات بإجماع متعدد الأطر الزمنية، منفصل عن تصويت الدخول. تتعامل اثنا عشر مسار خروج مع كل أنواع فشل الاتجاه.

إشارة الدخول

الدخول الطويل عندما يتفق 2 من 4 مؤشرات هول (فترات 55/110/180/280) على الصعود مع صفر هبوط عند الشمعة المغلقة (الإزاحة=1)، مع تأكيد الاستقرار لشمعتين؛ والعكس للدخول القصير. عتبة الاتفاق الابتدائية 2، وتنخفض إلى 1 للإدخالات الإضافية في الاتجاه نفسه بمجرد فتح صفقة.

إشارة الخروج

الخروج الأساسي على تصويت معاكس من 4 هول (3 عند الربح، 4 عند الخسارة، مع بوابة 80 نقطة كحد أدنى من الربح). يستطلع خروج هول البسيط الاختياري مصفوفة منفصلة من 5 هول عبر M1/M30/H1/H4/D1 لتوافق 3 من 5 (عند الربح) أو 4 من 5 (عند الخسارة). تتضمن اثنا عشر مسار خروج إضافي ارتفاع ATR، وإرهاق الاستوكاستك، وانعكاس السوينج، وتباعد CCI، وميل MACD، وضعف ROC، وتغير النظام، وانعكاس Parabolic SAR.

وقف الخسارة

وقف خسارة ابتدائي ثابت 200 نقطة لكل دخول (السعر ± InpStopLossPoints × g_point). بعد ذلك، التعادل عند +288 ربح ينقل الستوب إلى سعر الدخول + 35؛ ويبدأ التريلنج عند +550 ربح بخطوة كل 20 نقطة. يعمل حارس الهامش عند 240% من AccountInfoDouble(ACCOUNT_MARGIN_LEVEL) كقاطع دائرة قبل تفعيل أي دخول جديد.

جني الأرباح

جني الأرباح الابتدائي 2000 نقطة (نسبة عائد إلى مخاطرة 1:10). آلية التريلنج هي مسار جني الأرباح الأساسي: تفعيل عند 550 نقطة، ترقية بخطوات 20 نقطة. يتقدم سلّم ProfitLock (مُعطّل افتراضياً) بقفل ربح 500 نقطة ويتتبع السعر بفارق 20 نقطة عند التفعيل.

الأنسب لـ

يُنشر بشكل أفضل على XAUUSD عند الإطار الزمني M5 أو H1 مع حد أدنى للرصيد 100$ على وسيط ECN بسبريد منخفض، نظراً لحد الانتشار 20 نقطة وحجم 5.5% لكل صفقة. نافذة الجلسة الافتراضية هي الآسيوية (04:20-19:40) بالإضافة إلى الأمريكية (00:00-10:00) — وهي فعلياً 24/5 مع فجوة يومية 40 دقيقة — وهو ما يناسب نشاط الذهب على مدار الساعة. يخفي ملف المخاطر MEDIUM نسبة 1:10 عائد إلى مخاطرة لكل صفقة إضافة إلى 5.5% مخاطرة على الرصيد، لذا فإن انضباط حجم الصفقة ضروري؛ فعّل قواطع الدائرة الدفاعية الخمسة (DailyDrawdown، ConsecutiveLoss، TimeOfDay، EquityCurve، WinRate) قبل التشغيل الحي.

منطق الاستراتيجية

Pipsgrowth EX16108 Trend — تحليل منطق الاستراتيجية (من كود .mq5)

العائلة: Trend الماجيك: 22216108 الإصدار: 2.00

الوصف: Expert Advisor that trades using four Hull indicators with simple hull exit, breakout confirmation and multi-layer risk management. v6.6 with simple hull exit working good. 12 layers: REGIME, SIGNAL, ENTRY, CONFIRM, NO-TRADE, CAPITAL CAP, RISK, SIZING, MANAGE, EXIT, SCALING, OnTester

المؤشرات:

  • مؤشرات قياسية

الدوال الرئيسية:

  • PrepareTradeComment()
  • EvaluateHighLowBreakout()
  • EvaluateSRBreakout()
  • UpdateSRLevels()
  • AddOrUpdateSRLevel()
  • EvaluateAtrBreakout()
  • DashboardFormatTimeframe()
  • DashboardDirectionString()
  • DashboardFilterStatusText()
  • DashboardDeleteObjects()
الرمز الزائف (Pseudocode)
// Pipsgrowth EX16108 Trend — Execution Flow (from source analysis)
// Family: Trend
// Expert Advisor that trades using four Hull indicators with simple hull exit, breakout confirmation and multi-layer risk management. v6.6 with simple hull exit working good. 12 layers: REGIME, SIGNAL, ENTRY, CONFIRM, NO-TRADE, CAPITAL CAP, RISK, SIZING, MANAGE, EXIT, SCALING, OnTester

ON_INIT:
    Create indicator handles: standard set
    Initialize state variables
    Detect broker GMT offset

ON_TICK:
    1. Refresh indicator buffers (closed-bar shift=1)
    2. Manage existing positions:
       - Break-even check
       - ATR trailing stop
       - Profit lock ratchet
       - Time-based exit
       - Opposite-signal exit
    3. If new bar:
       a. ClassifyRegime() — ADX/ATR/BB regime detection
       b. NoTradeGate() checks:
          - Market open + session filter
          - Spread limit
          - Cooldown after loss
          - Consecutive loss limit
          - Kill switch
          - Max drawdown
          - Max concurrent positions
          - Daily/weekly loss limits
       c. GenerateSignal() — strategy-specific entry logic
       d. CheckConfirm() — HTF alignment + R:R + ADX minimum
       e. Calculate position size from risk %
       f. Execute with retry logic
       g. Mark bar to prevent duplicates

ON_TESTER:
    Custom fitness = weighted(RecoveryFactor, ROI, ProfitFactor, TradeCount, Sharpe, Drawdown)

ملف التحسين

الوسطاء المُحسّنون:
ExnessIC Markets
الرموز المُحسّنة:
XAUUSD
الأطر الزمنية المُحسّنة:
M5H1

كيفية تثبيت الإكسبرت على MT5

  1. 1حمّل ملف .mq5 بالضغط على زر التحميل أعلاه
  2. 2افتح برنامج MetaTrader 5 على حاسوبك
  3. 3من القائمة العلوية اختر File → Open Data Folder
  4. 4انتقل إلى مجلد MQL5 → Experts والصق الملف هناك
  5. 5في MT5، انقر بالزر الأيمن على Expert Advisors في لوحة Navigator → Refresh
  6. 6اسحب الإكسبرت على رسم H4 أو اليومي للحصول على أفضل النتائج
  7. 7حدد فترات EMA وعتبة ADX وحجم اللوت في نافذة الإعدادات
  8. 8فعّل Allow Algo Trading واضغط OK

معاملات الإكسبرت

المعاملالافتراضيالوصف
InpLots1.0Fixed lot size (0.01,0.01,50.0)
InpMagicNumber22216108Magic number (1,1,99999999)
InpTradeComment"Psgrowth.com Expert_16108"Trade comment for new positions
InpMoneyManagementModeMM_MODE_PERCENT_RISKMoney management mode
InpRiskPerTradePercent5.5Risk per trade (% of balance) (0.1,0.1,10.0)
InpLotRoundingModeLOT_ROUND_NEARESTLot rounding mode
InpSlippagePoints20Max slippage (points) (0,1,100)
InpEnableSpreadFiltertrueBlock trades during wide spreads
InpMaxSpreadPoints20.0Maximum allowed spread (points) (1.0,1.0,200.0)
InpAdaptiveSpreadFilterfalseEnable adaptive spread filter
InpMaxSpreadMultiplier2.0Max spread vs average (1.0,0.1,5.0)
InpSpreadAverageBars100Bars to calculate average spread (10,1,500)
InpStopLossPoints200.0Initial stop loss (points) (10.0,1.0,5000.0)
InpTakeProfitPoints2000.0Initial take profit (points) (10.0,1.0,10000.0)
InpEnableMarginGuardtrueEnforce minimum margin level before new trades
InpMinMarginLevelPerc240.0Minimum margin level (%) (100.0,1.0,1000.0)
InpEnableTrailingStoptrueMaster toggle for trailing stop management
InpTrailingTriggerPts550.0Trailing stop trigger (points) (5.0,1.0,500.0)
InpTrailingStepPts20.0Trailing stop step (points) (10.0,1.0,2000.0)
InpEnableBreakEventrueMove SL to break-even
InpBreakEvenTrigger288.0Profit trigger (points) (5.0,1.0,500.0)
InpBreakEvenOffset35.0Offset from entry (points) (0.0,1.0,100.0)
InpEnableProfitLockfalseLock profits
InpProfitLockIncrement500.0Lock every X points (10.0,1.0,500.0)
InpProfitLockStep20.0Distance from current price (1.0,1.0,200.0)
InpEnableProfitGatetrueRequire existing trades be in profit
InpProfitGatePoints10.0Minimum profit (points) per trade (1.0,1.0,500.0)
InpMaxOpenPositions0Maximum open positions (0=unlimited) (0,1,100)
InpSignalBarShift1Signal bar shift (0=current,1=closed)
InpMinIndicatorsAgreeForInitialTrades2Minimum Hulls agreeing for initial entries (1,1,4)
InpMinIndicatorsAgreeForAdditonalTrades1Minimum Hulls agreeing for additional entries (1,1,4)
InpRequireStableSignaltrueRequire consensus to persist
InpStableBarsRequired2Consecutive bars with same consensus (1,1,10)
Hull1_EnabledtrueEnable Hull 1
Hull1_Period55Hull Period (J:55,X:65,G:50,E:60) - OPTIMIZE
Hull1_Divisor14.0Hull Divisor (J:14.0,X:16.5,G:12.0,E:15.0) - OPTIMIZE
Hull1_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Price (Uni:CLOSE) - STANDARD
Hull1_MethodMODE_LWMAMethod (Uni:LWMA) - STANDARD
Hull1_Timeframe1Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe (Uni:M1) - STANDARD
Hull1_FlatSensitivity7.0Flat Sensitivity (J:7.0,X:9.0,G:6.0,E:8.0) - OPTIMIZE
Hull1_FlatBars3Flat Bars (Uni:3) - OPTIONAL
Hull1_MomentumLookback3Momentum Lookback (J:3,X:1,G:5,E:3) - OPTIONAL
Hull1_MomentumPoints8.0Momentum Points (J:8.0,X:5.0,G:3.0,E:4.0) - OPTIMIZE
Hull1_UseAdxFiltertrueADX Filter (J:true,X:true,G:false,E:true) - STANDARD
Hull1_AdxTimeframe1Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // ADX Timeframe (Uni:M1) - STANDARD
Hull1_AdxPeriod14ADX Period (Uni:14) - STANDARD
Hull1_AdxThreshold30.0ADX Threshold (J:30.0,X:25.0,G:20.0,E:25.0) - OPTIMIZE
Hull2_EnabledtrueEnable Hull 2
Hull2_Period110Hull Period (J:110,X:120,G:100,E:115) - OPTIMIZE
Hull2_Divisor12.0Hull Divisor (J:12.0,X:10.0,G:9.0,E:11.0) - OPTIMIZE
Hull2_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Price (Uni:CLOSE) - STANDARD
Hull2_MethodMODE_LWMAMethod (Uni:LWMA) - STANDARD
Hull2_Timeframe4Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe (Uni:M5) - STANDARD
Hull2_FlatSensitivity4.5Flat Sensitivity (J:4.5,X:3.5,G:3.0,E:4.0) - OPTIMIZE
Hull2_FlatBars2Flat Bars (Uni:2) - OPTIONAL
Hull2_MomentumLookback15Momentum Lookback (J:15,X:10,G:12,E:10) - OPTIONAL
Hull2_MomentumPoints20.0Momentum Points (J:20.0,X:15.0,G:8.0,E:12.0) - OPTIMIZE
Hull2_UseAdxFilterfalseADX Filter (Uni:false) - STANDARD
Hull2_AdxTimeframe4Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // ADX Timeframe (Uni:M5) - STANDARD
Hull2_AdxPeriod14ADX Period (Uni:14) - STANDARD
Hull2_AdxThreshold22.0ADX Threshold (Uni:22.0) - OPTIMIZE
Hull3_EnabledtrueEnable Hull 3
Hull3_Period180Hull Period (J:180,X:200,G:160,E:190) - OPTIMIZE
Hull3_Divisor7.0Hull Divisor (J:7.0,X:6.0,G:5.0,E:6.5) - OPTIMIZE
Hull3_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Price (Uni:CLOSE) - STANDARD
Hull3_MethodMODE_LWMAMethod (Uni:LWMA) - STANDARD
Hull3_Timeframe6Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe (J:M15,X:M15,G:M10,E:M15) - STANDARD
Hull3_FlatSensitivity3.5Flat Sensitivity (J:3.5,X:2.5,G:2.0,E:3.0) - OPTIMIZE
Hull3_FlatBars2Flat Bars (Uni:2) - OPTIONAL
Hull3_MomentumLookback25Momentum Lookback (J:25,X:20,G:18,E:20) - OPTIONAL
Hull3_MomentumPoints35.0Momentum Points (J:35.0,X:25.0,G:15.0,E:20.0) - OPTIMIZE
Hull3_UseAdxFilterfalseADX Filter (Uni:false) - STANDARD
Hull3_AdxTimeframe6Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // ADX Timeframe (Uni:M15) - STANDARD
Hull3_AdxPeriod14ADX Period (Uni:14) - STANDARD
Hull3_AdxThreshold20.0ADX Threshold (Uni:20.0) - OPTIMIZE
Hull4_EnabledtrueEnable Hull 4
Hull4_Period280Hull Period (J:280,X:320,G:250,E:300) - OPTIMIZE
Hull4_Divisor5.0Hull Divisor (J:5.0,X:4.0,G:3.5,E:4.5) - OPTIMIZE
Hull4_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Price (Uni:CLOSE) - STANDARD
Hull4_MethodMODE_LWMAMethod (Uni:LWMA) - STANDARD
Hull4_Timeframe7Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe (Uni:M30) - STANDARD
Hull4_FlatSensitivity2.5Flat Sensitivity (J:2.5,X:2.0,G:1.5,E:2.0) - OPTIMIZE
Hull4_FlatBars1Flat Bars (Uni:1) - OPTIONAL
Hull4_MomentumLookback35Momentum Lookback (J:35,X:30,G:25,E:30) - OPTIONAL
Hull4_MomentumPoints50.0Momentum Points (J:50.0,X:40.0,G:25.0,E:35.0) - OPTIMIZE
Hull4_UseAdxFilterfalseADX Filter (Uni:false) - STANDARD
Hull4_AdxTimeframe7Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // ADX Timeframe (Uni:M30) - STANDARD
Hull4_AdxPeriod14ADX Period (Uni:14) - STANDARD
Hull4_AdxThreshold18.0ADX Threshold (Uni:18.0) - OPTIMIZE
InpEnableHighLowBreakoutfalseEnable High/Low breakout filter
InpHLBreakoutLookback20Lookback bars (J:20,X:15,G:25,E:20) - OPTIMIZE
InpHLBreakoutMinPips5.0Min breakout distance pips (J:5.0,X:8.0,G:3.0,E:4.0) - OPTIMIZE
InpHLRequireCloseBreaktrueRequire candle close beyond level (Uni:true) - STANDARD
InpHLRequireRetestfalseRequire pullback after break (Uni:false) - OPTIONAL
InpHLRetestBars3Max bars for retest (Uni:3) - OPTIONAL
InpEnableSRBreakoutfalseEnable S/R breakout filter
InpSRTouchPoints3Min touches to form S/R (J:3,X:3,G:4,E:3) - OPTIMIZE
InpSRProximityPips10.0Pips to consider same level (J:10.0,X:15.0,G:8.0,E:10.0) - OPTIMIZE
InpSRLookback100Bars to find S/R zones (Uni:100) - OPTIMIZE
InpSRBreakoutPips5.0Pips beyond S/R (J:5.0,X:10.0,G:4.0,E:5.0) - OPTIMIZE
InpSRRequireCloseBreaktrueRequire close beyond S/R (Uni:true) - STANDARD
InpSRMinBarsBetweenTouches3Min bars between touches (Uni:3) - OPTIONAL
InpEnableAtrBreakoutfalseEnable ATR-based breakout filter
InpAtrBreakoutMultiple1.5Price move = X * ATR (J:1.5,X:1.8,G:1.3,E:1.5) - OPTIMIZE
InpAtrBreakoutPeriod14ATR period (Uni:14) - STANDARD
InpAtrBreakoutTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // ATR timeframe (Uni:CURRENT) - STANDARD
InpAtrBreakoutLookback10Lookback for range (J:10,X:8,G:12,E:10) - OPTIONAL
InpAtrBreakoutRequireClosetrueRequire close confirmation (Uni:true) - STANDARD
InpBreakoutRequireAllfalseRequire ALL enabled breakouts (Uni:false) - STANDARD
InpEnableSessionFilterstrueEnable session-based trading
InpSessionUtcOffsetHours0.0Session timezone offset from UTC (-14.0,0.25,14.0)
InpSessionAdditionalOffsetMinutes0Extra manual offset minutes for DST (-180,1,180)
InpAsianSessionEnabledtrueEnable trading during Asian session
InpAsianSessionStartHour4Asian session start hour (0,1,23)
InpAsianSessionStartMinute20Asian session start minute (0,1,59)
InpAsianSessionEndHour19Asian session end hour (0,1,23)
InpAsianSessionEndMinute40Asian session end minute (0,1,59)
InpEuropeanSessionEnabledfalseEnable trading during European session
InpEuropeanSessionStartHour4European session start hour (0,1,23)
InpEuropeanSessionStartMinute0European session start minute (0,1,59)
InpEuropeanSessionEndHour17European session end hour (0,1,23)
InpEuropeanSessionEndMinute0European session end minute (0,1,59)
InpUSSessionEnabledtrueEnable trading during US session
InpUSSessionStartHour0US session start hour (0,1,23)
InpUSSessionStartMinute0US session start minute (0,1,59)
InpUSSessionEndHour10US session end hour (0,1,23)
InpUSSessionEndMinute0US session end minute (0,1,59)
InpCustomSessionEnabledfalseEnable trading during custom session
InpCustomSessionStartHour22Custom session start hour (0,1,23)
InpCustomSessionStartMinute0Custom session start minute (0,1,59)
InpCustomSessionEndHour23Custom session end hour (0,1,23)
InpCustomSessionEndMinute59Custom session end minute (0,1,59)
InpEnableEndOfDayClosefalseClose all trades at specific time
InpEndOfDayCloseHour23Close hour (0,1,23)
InpEndOfDayCloseMinute45Close minute (0,1,59)
InpEndOfDayProfitOnlyfalseOnly close profitable positions
InpEndOfDayBlockNewTradestrueBlock new trades after close time
InpEnableWeekendProtectionfalseEnable weekend protection
InpWeekendAction0Action: 0=Close All, 1=Reduce 50%, 2=Do Nothing
InpWeekendCloseHoursFriday4Hours before Friday close (1,1,12)
InpWeekendCloseProfitOnlyfalseClose only profitable positions
InpEnableNFPFiltertrueBlock trading on first Friday (NFP)
InpNFPStartHour8NFP release hour (broker time) (0,1,23)
InpNFPStartMinute30NFP release minute (0,1,59)
InpNFPAvoidMinutesBefore30Stop trading X min before NFP (5,1,120)
InpNFPAvoidMinutesAfter30Resume trading X min after NFP (5,1,120)
InpNFPClosePositionsfalseClose positions before NFP
InpNFPCloseMinutesBefore10Close X min before NFP (1,1,60)
InpNFPCloseProfitOnlytrueOnly close profitable positions
InpEnableMaxHoldingTimefalseEnable position time limits
InpMaxHoldingHours24Maximum holding time (hours) (1,1,240)
InpCloseProfitableOnlytrueClose only profitable positions
InpMinProfitThreshold0.0Profit threshold (points) (0.0,1.0,500.0)
InpEnableRsiConfirmationtrueRequire RSI confirmation for entries
InpRsiTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
InpRsiPeriod41RSI Period (5,1,30)
InpRsiPrice1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted)
InpRsiBuyMin36.0RSI Buy Min (0.0,1.0,50.0)
InpRsiBuyMax70.0RSI Buy Max (50.0,1.0,80.0)
InpRsiSellMin40.0RSI Sell Min (20.0,1.0,50.0)
InpRsiSellMax53.0RSI Sell Max (70.0,1.0,100.0)
InpEnableCorrelationMonitortrueEnable correlation monitoring
InpCorrelationBlockEntriestrueBlock new entries on correlation breakdown
InpCorrelationClosePositionsfalseClose positions when correlation breaks down
InpCorrelationTimeframe8Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Correlation timeframe
InpCorrelationLookback35Bars to evaluate correlation (10,1,500)
InpCorrelationMinThreshold3.975Minimum absolute correlation allowed (0.1,0.01,0.99)
InpCorrelationDivergenceTrigger0.25Minimum change to flag breakdown (0.05,0.01,1.0)
InpCorrelationConfirmBars1Consecutive bars required to confirm breakdown (1,1,10)
InpCorrelationSymbolSuffix"m"Broker symbol suffix (auto-appended)
InpCorrWatch_EURUSDfalseMonitor EURUSD correlation
InpCorrWatch_GBPUSDfalseMonitor GBPUSD correlation
InpCorrWatch_AUDUSDfalseMonitor AUDUSD correlation
InpCorrWatch_NZDUSDfalseMonitor NZDUSD correlation
InpCorrWatch_USDJPYtrueMonitor USDJPY correlation
InpCorrWatch_USDCADfalseMonitor USDCAD correlation
InpCorrWatch_USDCHFtrueMonitor USDCHF correlation
InpCorrWatch_XAUUSDfalseMonitor XAUUSD correlation
InpEnableBarRangeFilterfalseRequire minimum average bar range
InpBarRangeLookback5Number of bars to average (2,1,50)
InpMinBarRangePoints50.0Minimum average range (points) (1.0,1.0,1000.0)
InpEnableAtrFiltertrueRequire minimum ATR
InpAtrTimeframe5Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
InpAtrPeriod60ATR period (5,1,50)
InpAtrAveragePeriod185ATR average period (10,1,200)
InpAtrMultiplierMin0.69ATR must be >= average*multiplier (0.5,0.1,5.0)
InpEnableVolumeFiltertrueEnable volume filter for entries
InpVolumeTypeVOLUME_TICKVolume type to analyze
InpVolumeTimeframe6Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Volume data timeframe
InpVolumeThreshold0Minimum volume threshold (0=disabled)
InpUseVolumeAveragetrueCompare to average volume
InpVolumeAvgPeriod10Volume average period (5,1,100)
InpVolumeMultiplier0.65Volume must be >= average*multiplier (0.1,0.1,5.0)
InpAdaptiveVolatilityFilterfalseEnable adaptive volatility filter
InpVolatilityPercentileMin10.0Minimum volatility percentile allowed (0.0,1.0,50.0)
InpVolatilityPercentileMax90.0Maximum volatility percentile allowed (50.0,1.0,100.0)
InpVolatilityLookbackBars50Lookback bars for volatility range (10,1,200)
InpAdaptiveStopLossfalseEnable adaptive SL/TP adjustment
InpVolatilityStopMultiplier1.0SL multiplier for volatility (0.5,0.1,3.0)
InpVolatilityTakeMultiplier1.0TP multiplier for volatility (0.5,0.1,3.0)
InpTrendQualityFilterfalseEnable trend quality filter
InpMinTrendQuality25.0Minimum trend quality score (0-100) (0.0,1.0,100.0)
InpTrendQualityTimeframes"CURRENT,H1,H4"Timeframes to check (comma-separated)
InpTrendQualityAdxPeriod14ADX period for trend quality (5,1,50)
InpMarketNoiseFilterfalseEnable market noise filter
InpMinEfficiencyRatio0.3Minimum efficiency ratio (0.0-1.0) (0.0,0.05,1.0)
InpEfficiencyLookbackBars20Lookback bars for efficiency calculation (5,1,100)
InpPriceActionQualityFilterfalseEnable price action quality filter
InpMaxWickRatio0.7Max wick/body ratio (0.1,0.05,2.0)
InpPriceActionLookbackBars3Bars to check for quality (1,1,10)
InpMTFConfirmationfalseEnable multi-timeframe confirmation
InpMTFTimeframes"CURRENT,H1,H4"Timeframes to confirm (comma-separated)
InpMTFMinAgree2Minimum timeframes that must agree (1,1,5)
InpMTFHullPeriod20Hull period for MTF (5,1,100)
InpMTFHullDivisor2.0Hull divisor for MTF (1.0,0.1,10.0)
InpMomentumQualityFilterfalseEnable momentum quality filter
InpMinMomentumStrength0.5Minimum momentum strength (0.0,0.1,2.0)
InpMomentumLookbackBars10Lookback bars for momentum (3,1,50)
InpEnableDailyDrawdownLimitfalseEnable daily drawdown limit
InpMaxDailyDrawdownPercent5.0Max daily loss (% of balance) (1.0,0.5,20.0)
InpDailyDrawdownAction0Action: 0=Stop New, 1=Close All, 2=Close Losers
InpEnableConsecutiveLossLimitfalseEnable consecutive loss limiter
InpMaxConsecutiveLosses3Max consecutive losses (2,1,10)
InpLossLimitPauseHours4Pause trading hours after limit (1,1,24)
InpEnableTimeOfDayFilterfalseEnable time-of-day filter
InpBlockHour1Start0Block window 1 start hour (0,1,23)
InpBlockHour1End2Block window 1 end hour (0,1,23)
InpBlockHour2Start11Block window 2 start hour (0,1,23)
InpBlockHour2End13Block window 2 end hour (0,1,23)
InpBlockFridaytrueBlock Friday late trading
InpBlockFridayAfterHour18Block Friday after hour (0,1,23)
InpEnableEquityCurveFilterfalseEnable equity curve filter
InpMaxDrawdownFromPeak15.0Max drawdown from peak (%) (5.0,1.0,50.0)
InpDrawdownPauseHours24Pause hours after drawdown (1,1,168)
InpEnableWinRateFilterfalseEnable win rate filter
InpMinWinRate35.0Minimum win rate (%) (10.0,5.0,80.0)
InpWinRateLookbackTrades20Lookback trades for win rate (5,1,100)
InpEnableChoppinessFiltertrueEnable choppiness detection and filtering
InpChopBlockEntriestrueBlock new entries during choppy markets
InpChopClosePositionsfalseClose positions when choppiness detected
InpChopCloseProfitOnlytrueOnly close profitable positions on choppiness
InpChopMinProfitPoints10.0Minimum profit (points) to close on chop (0.0,1.0,500.0)
InpChopRequireLayers1Layers required to confirm choppiness (1,1,4)
InpChopUseChopIndexfalseEnable Choppiness Index layer
InpChopIndexTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // CHOP indicator timeframe
InpChopIndexPeriod134CHOP calculation period (10,1,50)
InpChopIndexThreshold52.5Choppy when CHOP > threshold (50.0,1.0,80.0)
InpChopUseAdxtrueEnable ADX trend strength layer
InpChopAdxTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // ADX timeframe
InpChopAdxPeriod5ADX period (7,1,50)
InpChopAdxMinTrend18.0Choppy when ADX < threshold (15.0,1.0,40.0)
InpChopUseRangeCompressiontrueEnable range compression detection
InpChopRangeTimeframe7Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Range compression timeframe
InpChopRangeLookback18Bars to compare range compression (3,1,20)
InpChopRangeAtrPeriod28ATR period for range comparison (10,1,50)
InpChopRangeCompressionRatio0.75Choppy when range < ATR*ratio (0.2,0.1,1.0)
InpChopUseAdaptiveThresholdsfalseDynamically adjust thresholds based on volatility
InpChopAdaptiveAtrPeriod50ATR period for adaptive scaling (20,1,100)
InpChopAdaptiveMultiplier1.5Volatility multiplier for adaptive mode (0.5,0.1,3.0)
InpCloseOnOppositetrueClose trades on opposite agreement if in profit
InpMinIndicatorsAgreeCloseProfit3Minimum Hulls to close in profit (1,1,4)
InpCloseProfitPoints80.0Minimum profit (points) to close on opposite (0.0,1.0,200.0)
InpCloseOnOppositeEvenIfInLosetrueClose trades on opposite agreement even if losing
InpMinIndicatorsAgreeCloseLoss4Minimum Hulls to close even if losing (1,1,4)
InpCloseOnFullyValidatedOppositetrueClose on fully validated opposite signal (Uni:true) - STANDARD
InpEnableReversalExitfalseEnable reversal exit
InpReversalHullsRequired3Hulls required for reversal (2,1,4)
InpReversalExitProfitOnlyfalseExit only if in profit
InpEnableSimpleHullExitfalseEnable Simple Hull Exit
InpSimpleHullCloseOnOppositeOnlyIfInProfittrueClose trades on opposite SimpleHull agreement only if in profit
InpSimpleHullMinIndicatorsAgreeCloseProfit3Minimum SimpleHull to close in profit (1,1,5)
InpSimpleHullCloseProfitPoints80.0Minimum profit (points) to close on opposite (0.0,1.0,200.0)
InpSimpleHullCloseOnOppositeEvenIfInLosetrueClose trades on opposite SimpleHull agreement even if losing
InpSimpleHullMinIndicatorsAgreeCloseLoss4Minimum SimpleHull to close even if losing (1,1,5)
SimpleHull1_EnabledtrueEnable Simple Hull 1
SimpleHull1_Period20Hull Period (5,1,200)
SimpleHull1_Divisor2.0Hull Divisor (1.0,0.1,10.0)
SimpleHull1_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Applied Price
SimpleHull1_MethodMODE_LWMAMA Method
SimpleHull1_Timeframe1Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe
SimpleHull2_EnabledtrueEnable Simple Hull 2
SimpleHull2_Period30Hull Period (5,1,200)
SimpleHull2_Divisor2.5Hull Divisor (1.0,0.1,10.0)
SimpleHull2_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Applied Price
SimpleHull2_MethodMODE_EMAMA Method
SimpleHull2_Timeframe4Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe
SimpleHull3_EnabledtrueEnable Simple Hull 3
SimpleHull3_Period50Hull Period (5,1,200)
SimpleHull3_Divisor3.0Hull Divisor (1.0,0.1,10.0)
SimpleHull3_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Applied Price
SimpleHull3_MethodMODE_EMAMA Method
SimpleHull3_Timeframe6Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe
SimpleHull4_EnabledtrueEnable Simple Hull 4
SimpleHull4_Period80Hull Period (5,1,200)
SimpleHull4_Divisor3.5Hull Divisor (1.0,0.1,10.0)
SimpleHull4_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Applied Price
SimpleHull4_MethodMODE_LWMAMA Method
SimpleHull4_Timeframe8Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe
SimpleHull5_EnabledtrueEnable Simple Hull 5
SimpleHull5_Period120Hull Period (5,1,200)
SimpleHull5_Divisor4.0Hull Divisor (1.0,0.1,10.0)
SimpleHull5_Price1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // Applied Price
SimpleHull5_MethodMODE_SMAMA Method
SimpleHull5_Timeframe9Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Timeframe
InpEnableMomentumExitfalseExit on momentum loss
InpMomTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
InpMomRsiPeriod14RSI period for momentum exit (5,1,30)
InpMomRsiOverbought70.0RSI exit for buys (60.0,1.0,100.0)
InpMomRsiOversold30.0RSI exit for sells (0.0,1.0,40.0)
InpMomAdxPeriod14ADX period for exit (7,1,30)
InpMomAdxWeakThreshold20.0Exit when ADX drops below (5.0,1.0,40.0)
InpEnableVolatilityExittrueExit on ATR spike
InpVolExitAtrTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1)
InpVolExitAtrPeriod14ATR period (5,1,50)
InpVolExitAtrAvgPeriod50ATR average period (10,1,200)
InpVolSpikeMultiplier2.5ATR spike threshold vs avg (1.0,0.1,10.0)
InpVolExitProfitOnlyfalseRequire profit before ATR spike exit
InpRegimeDetectiontrueEnable Regime Detection
InpRegimeAdxPeriod14ADX Period (5,1,50)
InpRegimeAtrPeriod14ATR Period (5,1,50)
InpRegimeAtrAvgPeriod20ATR Average Period (10,1,100)
InpRegimeTrendADX25.0Trending: Min ADX (10.0,1.0,50.0)
InpRegimeVolatileATR1.5Volatile: Min ATR Multiplier (1.0,0.1,5.0)
InpRegimeQuietATR0.7Quiet: Max ATR Multiplier (0.1,0.1,2.0)
InpRegimeAdapttrueAuto-Adjust Strategies per Regime
InpRegimeConfirmBars3Bars to confirm regime change (1,1,10)
InpRegimeExitProfitOnlytrueOnly exit profitable positions
InpRegimeExitMinAge5Min position age in bars before exit (0,0,100)
InpEnableCCIExitfalseEnable CCI exhaustion exit
InpCCITimeframe5Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // CCI timeframe
InpCCIPeriod28CCI period (10,1,50)
InpCCIPrice7Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // CCI applied price
InpCCIOverbought211.0Overbought level (100.0,10.0,300.0)
InpCCIOversold-124.0Oversold level (-300.0,10.0,-100.0)
InpCCIUseDivergencetrueDetect divergence
InpCCIDivergenceBars12Divergence lookback bars (3,1,20)
InpCCICloseProfittrueClose profitable positions
InpCCICloseLossfalseClose losing positions too
InpCCIMinProfitPoints100.0Min profit to close (0.0,1.0,100.0)
InpEnableMACDSlopeExitfalseEnable MACD slope exit
InpMACDTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // MACD timeframe
InpMACDFastEMA12Fast EMA (5,1,50)
InpMACDSlowEMA26Slow EMA (10,1,100)
InpMACDSignal9Signal line (5,1,20)
InpMACDPrice1Applied price (1=close,2=open,3=high,4=low,5=median,6=typical,7=weighted) // MACD applied price
InpMACDWatchHistogramtrueMonitor histogram slope
InpMACDSlopeBars2Bars for slope calculation (1,1,5)
InpMACDWaitZeroCrossfalseWait for zero line cross
InpMACDCloseProfittrueClose profitable positions
InpMACDCloseLossfalseClose losing positions too
InpMACDMinProfitPoints5.0Min profit to close (0.0,1.0,100.0)
InpMACDMinSlopeThreshold0.0001Min histogram change (0.0,0.00001,0.001)
InpEnableSwingExitfalseEnable swing reversal exit
InpSwingLeftBars3Left bars for swing (2,1,10)
InpSwingRightBars2Right bars for swing (1,1,10)
InpSwingMinSize20.0Min swing size points (5.0,1.0,100.0)
InpSwingPartialClosetrueClose half positions first
InpSwingCloseProfittrueClose profitable positions
InpSwingCloseLossfalseClose losing positions too
InpSwingMinProfitPoints15.0Min profit to close (0.0,1.0,100.0)
InpSwingMaxAge3Max bars ago for swing (1,1,10)
InpEnableStochExittrueEnable stochastic exit
InpStochTimeframe5Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Stochastic timeframe
InpStochKPeriod47%K period (5,1,50)
InpStochDPeriod27%D period (2,1,20)
InpStochSlowing23Slowing (1,1,10)
InpStochOverbought512.0Overbought (70.0,5.0,100.0)
InpStochOversold110.0Oversold (0.0,5.0,30.0)
InpStochWaitCrosstrueWait for %K/%D crossover
InpStochCloseProfitfalseClose profitable positions
InpStochCloseLosstrueClose losing positions too
InpStochMinProfitPoints26.0Min profit to close (0.0,1.0,100.0)
InpEnableROCExitfalseEnable ROC momentum exit
InpROCTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // ROC timeframe
InpROCPeriod12ROC lookback period (5,1,50)
InpROCThreshold0.5Min ROC to stay in (0.0,0.1,5.0)
InpROCWeakBars2Consecutive weak bars (1,1,5)
InpROCCloseNewestfalseClose newest positions first
InpROCCloseProfittrueClose profitable positions
InpROCCloseLossfalseClose losing positions too
InpROCMinProfitPoints0.0Min profit to close (0.0,1.0,100.0)
InpEnableMTFExitfalseEnable MTF trend exit
InpMTFTimeframe8Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // Higher timeframe to monitor
InpMTFMAPeriod50MA period for trend (20,1,200)
InpMTFMAMethodMODE_EMAMA method
InpMTFCloseOnCrosstrueClose when price crosses MA
InpMTFPartialExittrueClose oldest 50% first
InpMTFCloseProfittrueClose profitable positions
InpMTFCloseLossfalseClose losing positions too
InpMTFMinProfitPoints20.0Min profit to close (0.0,1.0,100.0)
InpEnableSARExitfalseEnable SAR flip exit
InpSARTimeframe0Timeframe (1=M1,2=M5,3=M15,4=M30,5=H1,6=H4,7=D1) // SAR timeframe
InpSARStep0.02SAR step (0.01,0.001,0.1)
InpSARMaximum0.2SAR maximum (0.1,0.01,0.5)
InpSARCloseAlltrueClose all positions on flip
InpSARCloseProfittrueClose profitable positions
InpSARCloseLossfalseClose losing positions too
InpSARMinProfitPoints0.0Min profit to close (0.0,1.0,100.0)
InpShowDashboardfalseDisplay on-chart dashboard
InpDashboardX8Dashboard X position (pixels)
InpDashboardY28Dashboard Y position (pixels)
InpDashboardWidth360Dashboard width (pixels)
InpDashboardBgColorC'4,5,8'Dashboard background color
InpDashboardBgOpacity245Dashboard fill opacity (0 transparent, 255 solid) (0,1,255)
InpDashboardTextColorclrWhiteDashboard text color
InpDashboardAccentColorclrDodgerBlueDashboard header/accent color
InpAttachHullIndicatorsfalseShow Hull indicator overlays on chart
InpHullIndicatorSubwindow1Subwindow index for Hull overlays (0=main chart, 1+=subwindows)
InpShowRsiIndicatorfalseDisplay RSI indicator visualization
InpRsiIndicatorSubwindow2Subwindow index for RSI visualization (1+=subwindows)
InpShowAdxIndicatorfalseDisplay ADX indicator visualization
InpAdxIndicatorSubwindow3Subwindow index for ADX visualization (1+=subwindows)
InpShowAtrIndicatorfalseDisplay ATR indicator visualization
InpAtrIndicatorSubwindow4Subwindow index for ATR visualization (1+=subwindows)
كود المصدر (.mq5)Open Source
Pipsgrowth_com_EX16108.mq5
#property copyright "Pipsgrowth.com"
#property link      "https://pipsgrowth.com"
#property version   "2.00"
#property strict
#property description "Pipsgrowth.com EX16108 Hull2EA — four Hull indicator trend EA with simple hull exit, full 12-layer stack."

#include <Trade/Trade.mqh>
#include <Trade/PositionInfo.mqh>


enum ENUM_MM_MODE
{
	MM_MODE_FIXED_LOTS = 0,
	MM_MODE_PERCENT_RISK = 1
};

enum ENUM_LOT_ROUNDING
{
	LOT_ROUND_DOWN = 0,
	LOT_ROUND_NEAREST = 1,
	LOT_ROUND_UP = 2
};

enum ENUM_DRAWDOWN_ACTION
{
	DD_ACTION_STOP_NEW = 0,
	DD_ACTION_CLOSE_ALL = 1,
	DD_ACTION_CLOSE_LOSERS = 2
};

enum ENUM_WEEKEND_ACTION
{
	WEEKEND_CLOSE_ALL = 0,
	WEEKEND_REDUCE_50 = 1,
	WEEKEND_DO_NOTHING = 2
};


//+------------------------------------------------------------------+
//|                          INPUT PARAMETERS                         |
//|                      Organized by Category                        |
//+------------------------------------------------------------------+

//----------------------
ENUM_TIMEFRAMES MapTimeframeInt(int tf)
{
   switch(tf)
   {
      case 1: return PERIOD_M1;
      case 2: return PERIOD_M5;
      case 3: return PERIOD_M15;
      case 4: return PERIOD_M30;
      case 5: return PERIOD_H1;
      case 6: return PERIOD_H4;
      case 7: return PERIOD_D1;
      default: return PERIOD_H1;
   }
}

ENUM_APPLIED_PRICE MapAppliedPriceInt(int ap)

الكود المصدري الكامل متاح عند التحميل

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

الوسوم:ex16108trendpipsgrowthfreemt5xauusd

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

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

وسطاء موصى بهم لهذا الإكسبرت

هذه الروبوتات تعمل على MT5 — استخدم وسيطاً موثوقاً بتنفيذ سريع وسبريد منخفض

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

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

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

اسم الملفPipsgrowth_com_EX16108.mq5
حجم الملف472.6 KB
الإصدارv2.00
PlatformMetaTrader 5
نوع الملف.mq5 Source
الاستراتيجيةمتابعة الاتجاه
المخاطرةمخاطرة متوسطة
الأطر الزمنية
M5H1
أزواج العملات
XAUUSD
الحد الأدنى للإيداع$100