MT5 Experts AI implements a Council-based execution system that evaluates quality scores, spread fractions, and consensus levels before triggering trades. The system features an AI evolution engine designed to adapt parameters over specific bar intervals, including automated rollback mechanisms based on performance metrics like win rate and consecutive losses. Risk is managed through fixed lot sizing, runtime safety hardening, and emergency liquidation states. The README is minimal.
Read from main_ea.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
FixedLot
double
0.10
Magic
ulong
26059999
EnableCouncilSetupLifecycle
bool
false
CouncilSetupConfirmBars
int
1
EnableCouncilExecutionQualityGate
bool
false
CouncilExecutionQualityMinScore
double
0.55
CouncilMaxSpreadAtrFraction
double
0.12
CouncilMaxChaseAtrFraction
double
0.30
EnableCouncilActivationPressureGate
bool
false
CouncilMinConsensusForWeakCoverage
double
0.62
CouncilMinConsensusForConflictedCoverage
double
0.72
CouncilMinConsensusToAllowCrowdedActivation
double
0.76
Show all 40 inputs
Name
Type
Default
Description
CouncilMaxCrowdingConcentration
double
0.82
EnableCouncilDirtyEnvironmentTightening
bool
false
CouncilDirtyTradabilityFloor
double
0.55
CouncilCompressionTradabilityFloor
double
0.58
CouncilReversalRiskTradabilityFloor
double
0.52
CouncilDirtyMinEnvironmentScore
double
0.74
CouncilTransitionalMinCouncilQuality
double
0.72
EnableCouncilLiveExitArchitecture
bool
false
CouncilExitPremiseDeathM5Bars
int
6
CouncilExitMinProgressToKeep
double
0.18
CouncilExitGivebackTriggerProgress
double
0.55
CouncilExitGivebackRetainedFloor
double
0.20
EnableAIEvolution
bool
true
EvolutionEveryNBars
int
30
EnableAutoApplyPlan
bool
true
EvolutionCooldownBars
int
10
LogEvolutionRawResponse
bool
true
EnableAutoRollback
bool
true
RollbackMinTradesAfterApply
int
6
RollbackMinWinRate
double
35.0
RollbackMaxConsecutiveLosses
int
3
RollbackMinAvgProfitPerTrade
double
-1.0
EnableRuntimeExecution
bool
true
OneTradeAttemptPerBar
bool
true
EnableRuntimeRiskSafetyHardening
bool
true
RuntimeExecutionFailureLockoutCount
int
3
EnableEmergencyFlatOnCriticalSafetyState
bool
false
EnableOpenPositionManagementInBlockedSafeMode
bool
true
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone tahaalhafid/mt5-experts-ai from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
This MetaTrader 5 expert advisor implements a multi-strategy framework based on Smart Money Concepts. It identifies fractal-based liquidity sweeps, order blocks, and Fibonacci zones across multiple timeframes, typically using H4 for trend direction and M15 for execution. The EA includes an optional machine learning fil
Makets GA is a neural network trading system for MetaTrader 5 that utilizes genetic algorithms to optimize weights for multi-layer perceptrons. Instead of standard price prediction, the EA evolves trading strategies by processing price data across several major currency pairs simultaneously. It implements evolutionary
EA MultiStrategy Advanced is an automated trading robot for MetaTrader 5 that integrates technical analysis with machine learning models. It utilizes a combination of RSI, Bollinger Bands, and Moving Average crossovers alongside LSTM-based deep learning signals to identify market patterns. The system features rigorous
PASR Modular is a MetaTrader 5 expert advisor designed for automated trading using a modular framework. It employs technical indicators like ATR for dynamic stop losses and take profits, alongside ADX for trend filtering. The system integrates machine learning components for trade inference and multi-timeframe analysis
This MetaTrader 5 expert advisor utilizes a Naive Bayes probabilistic model integrated with Smart Money Concepts and ICT principles to identify trading opportunities. It primarily targets gold bias and pullbacks but includes logic for universal symbol support. The system uses a machine learning engine that self-retrain
This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage