Trading robot · MT5

Ali Trader EA

by ali452158

Ali Trader EA is an automated MetaTrader 5 trading robot designed primarily for XAUUSD (gold).

GitHub stars1
Forks0
Last update2 weeks ago10 Oct 2026
LicenceNone stated

Overview

Ali Trader EA integrates Smart Money Concepts elements such as market structure breaks, order blocks, fair value gaps, and liquidity sweeps alongside technical indicators like RSI divergence, ADX, moving averages, and DXY correlation. The expert advisor supports flexible lot sizing using fixed volumes or account risk percentage. Order management features include customizable stop loss and take profit settings, break-even adjustments, trailing stops, partial profit taking, max spread filtering, and position caps.

Details

Author

ali452158 on GitHub

Type

Trading robot

Markets

Gold

Timeframes

M1-M5, M15-H1, H4 and above

Risk Profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input Parameters

Read from Ali_Trader_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpMagiclong452158الرقم السحري (تمييز صفقات البوت)
InpSourceENUM_EA_SOURCEEA_SRC_ALIمصدر الإشارة
InpTradeCommentstringAli EAتعليق الصفقات
InpLotsdouble0.01حجم اللوت الثابت
InpRiskPctdouble0.0المخاطرة % من الرصيد (0 = لوت ثابت)
InpMaxPosint1أقصى عدد صفقات مفتوحة
InpOnePerBarbooltrueصفقة واحدة فقط لكل شمعة
InpCloseOppbooltrueإغلاق الصفقة عند إشارة معاكسة
InpMaxDayTradesint0أقصى صفقات في اليوم (0 = بلا حد)
InpMaxSpreaddouble350أقصى سبريد مسموح (نقاط - 0 = بلا حد)
InpSLModeENUM_EA_SLEA_SL_INDمصدر الستوب
InpFixedSLPtsdouble1000ستوب ثابت (نقاط) للوضع الثابت أو احتياطي
Show all 40 inputs
NameTypeDefaultDescription
InpMinSLPtsdouble150أقل مسافة ستوب مسموحة (نقاط)
InpMaxSLPtsdouble6000أكبر مسافة ستوب مسموحة (نقاط)
InpTPModeENUM_EA_TPEA_TP_IND1مصدر الهدف
InpFixedTPPtsdouble2000هدف ثابت (نقاط) للوضع الثابت أو احتياطي
InpUseBEbooltrueنقل الستوب للتعادل
InpBEAtRdouble1.0التعادل بعد ربح = (أضعاف مسافة الستوب)
InpBEOffsetPtsint30نقاط ربح فوق سعر الدخول عند التعادل
InpUseTrailboolfalseتريلينج ستوب
InpTrailStartdouble800يبدأ التريلينج بعد ربح (نقاط)
InpTrailDistdouble500مسافة التريلينج خلف السعر (نقاط)
InpPartialboolfalseإغلاق جزئي عند بلوغ الربح المحدد
InpPartialPctdouble50.0نسبة الإغلاق الجزئي %
InpPartialAtRdouble1.0الإغلاق الجزئي عند ربح = (أضعاف مسافة الستوب)
InpNotifyOpenbooltrueإشعار موبايل عند فتح صفقة
InpNotifyClosebooltrueإشعار موبايل عند إغلاق صفقة
InpPopupboolfalseتنبيه منبثق على الشاشة
InpShowInfobooltrueلوحة حالة على الشارت
InpTrendTFENUM_TIMEFRAMESPERIOD_CURRENTفريم الاتجاه (تلقائي لو Current)
InpMaxBarsint1500أقصى عدد شموع للحساب
InpSwingLenint3قوة السوينج (شموع كل جهة)
InpStructLookint150نطاق البحث عن الهيكل (شموع)
InpStructFreshint40أقصى عمر لكسر الهيكل (شموع)
InpUseOBbooltrueتفعيل أوردرك بلوكس
InpUseFVGbooltrueتفعيل فجوات FVG
InpUseSweepbooltrueتفعيل سحب السيولة
InpFVGMinPtsint30أقل حجم للفجوة (نقاط)
InpOBValidBarsint200أقصى عمر للمنطقة (شموع)
InpMTFZonesbooltrueمكافأة مناطق فريم أعلى (+1)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone ali452158/Ali-Trader from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar Expert Advisors

Price Action Master

by fikribuoy-droid
1 stars

This MetaTrader 5 expert advisor automates several price action strategies, including pin bar reversals at support and resistance levels, trendline bounces, and break-and-retest patterns. The robot employs multi-timeframe analysis to align entries with higher timeframe trends. Risk controls include percentage-based pos

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago None stated GitHub repository of Price Action Master

Gold Rush 25

by kevoking
1 stars

Gold Rush 25 is a multi-strategy day trading robot for MetaTrader 5. It integrates several trading styles including trend continuation, support/resistance bounces, and session breakouts. The system employs multi-timeframe analysis to coordinate entries across various chart periods. It features institutional-grade risk

MT5 Trading robot Trend followingBreakoutSMC / ICT / price action
Updated 12 months ago None stated GitHub repository of Gold Rush 25

Smart Trader 7CAS

by andersonclement
1 stars

Smart Trader 7CAS is an automated trading robot for MetaTrader 5 designed specifically for commodities including Gold, Silver, and Oil. It implements seven distinct trading modules or scenarios covering trend following, scalping, range trading, breakouts, Smart Money Concepts, reversals, and Fibonacci levels. The syste

MT5 Trading robot Multi-strategySMC / ICT / price actionTrend following High risk
Updated 2 months ago None stated GitHub repository of Smart Trader 7CAS

Aa Ea

by Psychitechts
1 stars

This MetaTrader 5 expert advisor implements a multi-strategy approach based on price action and market structure concepts. It utilizes higher timeframe trend identification via a 200-period Simple Moving Average and seeks entry points on lower timeframes using a 50-period SMA and support or resistance levels. The logic

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 1 year ago None stated GitHub repository of Aa Ea

Exness ICT Gold EA

by jonathanmentor62-web
1 stars

The Exness ICT Gold EA is a multi-strategy expert advisor for MetaTrader 5. It trades gold using confluence signals from ICT/SMC, liquidity, FVG, order blocks, retests, trend, breakout and volatility analysis across H4, H1, M15 and M5 timeframes. The EA opens and closes trades based on strategy signals and applies risk

MT5 Trading robot SMC / ICT / price actionTrend followingBreakout
Updated 3 weeks ago None stated GitHub repository of Exness ICT Gold EA

Gold Trader EA

by mehdi-jahani
146 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA

More gold EAs

Related on ForexR

Need a Broker for MT5?

Compare regulated brokers that support MT5, with spreads, minimum deposits and leverage side by side.

Compare MT5 brokers