Trading robot · MT5

AIEA Trader

by johanjumahat

AIEA Trader is an autonomous MQL5 Expert Advisor that executes trades based on multi-indicator confidence scores from RSI, EMA crossover, Bollinger Bands, MACD, and Stochastic.

GitHub stars1
Forks0
Last update3 days ago23 Oct 2026
LicenceNone stated

Overview

AIEA Trader exits trades according to learned patterns and optimizations from completed trade analysis. Risk controls include percentage risk per trade, maximum daily loss, maximum drawdown, limited open positions, profit lock stop loss, and news-based protection filters. It operates on MetaTrader 5 with self-learning capabilities but the provided documentation is minimal and notes that the project has been deprecated and moved to another repository.

Details

Author

johanjumahat on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Indicator crossover, AI / machine learning, News

Markets

Any symbol

Timeframes

M15-H1

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 AIEA_Trader.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpTimeframeENUM_TIMEFRAMESPERIOD_H1Trading timeframe
InpSymbolstringSymbol (empty = chart symbol)
InpMagicNumberint20260802Magic number
InpSlippageint10Max slippage in points
InpRiskPercentdouble1.0Risk per trade (%)
InpMaxDailyLossdouble5.0Max daily loss (%)
InpMaxDrawdowndouble20.0Max drawdown (%)
InpMaxPositionsint3Max open positions
InpMinEvidenceTradesint10Min trades for optimization
InpAutoApproveChangesboolfalseAuto-approve parameter changes
InpEnableLearningbooltrueEnable learning engine
InpEnableOptimizationbooltrueEnable optimization engine
Show all 35 inputs
NameTypeDefaultDescription
InpEnableReportsbooltrueGenerate reports
InpEnableDashboardbooltrueEnable on-chart dashboard
InpReportIntervalMinutesint60Report update interval
InpOptimizeIntervalMinutesint120Optimization interval
InpTradeAllHoursbooltrueTrade 24 hours (ignore hour filter)
InpVerbosebooltrueVerbose logging to Experts tab
InpHeartbeatSecondsint30Heartbeat interval (seconds)
InpMinConfidenceOverridedouble0.0Override min confidence (0=use profile)
InpMaxSpreadOverridedouble0.0Max spread in points (0=use profile, -1=AUTO detect per symbol)
InpEnableNewsFilterbooltrueEnable economic news filter
InpNewsWarningHoursint2Hours before high-impact news to warn
InpNewsBlockMinutesint15Block trades N min before/after high-impact news
InpNewsRefreshMinutesint30How often to refresh news calendar (minutes)
InpNewsImportanceENUM_NEWS_IMPORTANCE_FILTERNEWS_IMPORTANCE_MEDIUM_UPWhich impact levels to show/track
InpNewsCountryFilterstringALLCountry/currency filter: ALL or e.g. "US,EU,GB"
InpEnableProfitLockboolfalseEnable profit-lock SL (move SL to lock $ profit)
InpProfitLockTriggerdouble2.0Trigger: when net profit (incl. swap) exceeds this ($)
InpProfitLockTargetdouble1.0Lock: move SL to secure this much net profit ($)
InpProfitLockStopLevelint0Min stop level in points (0 = auto from broker)
InpNewsProtectTradesbooltrueProtect open trades before high-impact news
InpNewsProtectMinutesint60Start protecting N min before news
InpNewsReleaseMinutesint60Release protection N min after news
InpNewsSLBufferPointsint10SL buffer in points above/below breakeven

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone johanjumahat/AIEA-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, and any .mqh files into the Include folder the code expects.
  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

EA31337

by EA31337
1.3k stars

EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat

MT5 Trading robot Multi-strategyNewsTrend following
Updated 6 months ago GPL-3.0 GitHub repository of EA31337

AI Enhanced HFT

by Marco210210
20 stars

This MetaTrader 5 expert advisor combines technical indicators with machine learning forecasts to trade the Forex market. It uses a trend-following approach based on Exponential Moving Average crossovers, filtered by the Average Directional Index and volume confirmations. A unique feature is its integration with extern

MT5 Trading robot Trend followingIndicator crossoverAI / machine learning High risk
Updated 1 year ago None stated GitHub repository of AI Enhanced HFT
12 stars

This MetaTrader 5 expert advisor implements a machine learning approach using a Decision Tree model to execute trades. It functions as a bridge between MetaTrader and a local Python-based server using sockets. The system utilizes MACD, RSI, and Exponential Moving Average indicators as primary data features for the neur

MT5 Trading robot AI / machine learningIndicator crossover
6 stars

This MetaTrader 5 expert advisor provides a versatile framework for trading based on Heiken Ashi price action. It allows users to toggle between numerous built-in strategies, including trend following, moving average crossovers, Fibonacci levels, and various oscillators like RSI and MACD. The system includes an option

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of Heiken Ashi Complete Strats

Xau Ai Pro

by apolopanda500
3 stars

This expert advisor for MetaTrader 5 is a sophisticated trading system specifically optimized for gold. It operates as part of a hybrid ecosystem, utilizing a Python-based desktop interface for local machine learning model training and market analysis while executing trades via the MQL5 robot. The EA employs a multi-la

MT5 Trading robot AI / machine learningTrend followingNews
Updated 5 days ago None stated GitHub repository of Xau Ai Pro

Nafi Deep RL

by neoricalex
3 stars

Nafi is a MetaTrader 5 expert advisor framework designed for deep reinforcement learning in forex trading. It bridges Python-based training environments, such as OpenAI Gym and PyTorch, with MetaTrader to facilitate automated trade execution. The system features standard risk management controls including fixed lot siz

MT5 Trading robot AI / machine learningTrend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Nafi Deep RL

More trading robots

Need a Broker for MT5?

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

Compare brokers