The system transmits market data to the server, which performs multi-indicator analysis and sentiment processing before returning trade recommendations. It features multi-timeframe trend filtering across M5, H1, and H4 charts, supply and demand zone detection, and news sentiment integration. Risk controls include an equity drawdown guard, maximum position limits, session filters, and dynamic lot sizing.
Read from V1.6.4_新闻.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Lots
double
0.01
MagicNumber
int
8896
Timeout
int
5000
MaxSlippage
int
5
MaxSpread
int
2000
MaxPositions
int
2
InterOrderDelayMs
int
200
MinSecondsBetweenBatches
int
60
Entry cooldown (seconds)
EnableDrawdownGuard
bool
true
MaxDrawdownPercent
double
8.0
DrawdownPauseSeconds
int
600
DrawdownAlertCooldownSeconds
int
60
Show all 40 inputs
Name
Type
Default
Description
PersistRuntimeState
bool
true
EnableDynamicLotSizing
bool
true
MinLotMultiplier
double
0.5
MaxLotMultiplier
double
1.5
ServerURL
string
http://127.0.0.1:5000
AuthToken
string
MySecretToken123
EnableWinInetFallback
bool
true
AutoDisableWebRequestOn5200
bool
true
AdvisoryPollSeconds
int
5
AdvisoryHistoryBars
int
120
AdvisoryUsePost
bool
true
AdvisoryHTFTimeframe
int
PERIOD_H1
AdvisoryHTFHistoryBars
int
120
EnableLocalRuleTrading
bool
true
EnableBackendAdvisoryTrading
bool
false
EnableAIAutoTrading
bool
false
AutoTradeMinConfidence
double
0.70
EntryTimeframe
int
PERIOD_M5
M5 entry
ConfirmTimeframe
int
PERIOD_H1
H1 confirmation
TrendTimeframe
int
PERIOD_H4
H4 trend filter
EnableSessionFilter
bool
false
SessionStartHour
int
0
SessionEndHour
int
24
AvoidAsianSession
bool
false
AsianSessionStart
int
0
AsianSessionEnd
int
0
EnableSupplyDemand
bool
true
SDLookback
int
20
Bars to detect S/D zones
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone 160037lk/mt4-ai-trading from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts.
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 repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management
This repository provides a collection of MetaTrader 4 expert advisors, centered around the OverLord robot which utilizes logistic regression models. OverLord determines entries by calculating price directionality over various tick counts and analyzing moving average slopes against hardcoded coefficients. In addition to
MT4CollectionAI / machine learningIndicator crossoverTrend following
This repository contains a collection of MetaTrader 4 expert advisors focusing on technical analysis and pattern recognition. The included tools range from robots utilizing Volume Spread Analysis (VSA) and fractal-based trend detection to indicators like NeuroMACD and ACD patterns. The primary EA uses ZigZag and fracta
AE Expert Curious is a collection of MetaTrader 4 expert advisors based on the Raghee Horner trend-following methodology. It utilizes specific Exponential Moving Average crossovers, including the 13, 21, 34, and 55-period lines, to determine market direction and momentum. The strategy incorporates several technical fil
This MetaTrader 4 repository contains a collection of experts and tools focused on technical indicators and machine learning. It features an implementation of Alexander Elder's Triple Screen strategy using Exponential Moving Averages and MACD to filter trends and entries. Additionally, the collection includes a machine
This collection of MetaTrader 4 expert advisors provides several distinct trading strategies including candlestick pattern recognition, moving average trends, and currency strength analysis. The repository contains a dedicated martingale algorithm alongside robots focused on engulfing and morning star patterns. The pri