BotTrade ML is primarily designed for trading gold on the H4 timeframe but offers configurable parameters for broader market use. The system supports both mean-reversion and breakout entry modes, utilizing an EMA 200 filter for trend alignment and a session-based time filter. Risk management is handled through fixed or dynamic stop losses, target risk-reward ratios, and optional breakeven or trailing stop functions. It includes specialized tools for VIX mean reversion and external LINE alerts.
Read from Uptrick_ML_Kernel_Trading_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpStrategyMode
ENUM_STRATEGY_MODE
STRAT_MEAN_REVERSION
Strategy Mode (Mean Reversion is recommended!)
InpLotSize
double
0.1
Lot Size
InpTradeDirection
ENUM_TRADE_DIRECTION
TRADE_DIR_BOTH
Trade Direction (Both / Long Only / Short Only)
InpSlMode
ENUM_SL_MODE
SL_MODE_FIXED
Stop Loss Mode
InpFixedSlPoints
int
250
Fixed Stop Loss (points)
InpRiskRewardRatio
double
2.0
Risk-Reward Ratio (e.g. 2.0 = RR 1:2)
InpMagicNumber
ulong
82809420
Magic Number
InpSlippage
ulong
30
Max Slippage (points)
InpEnableBreakeven
bool
false
Enable Breakeven
InpBreakevenTriggerRatio
double
1.0
Breakeven Trigger (R:R Ratio, e.g. 1.0 = 1:1)
InpEnableTrailing
bool
true
Enable Trailing Stop (Opposite Band)
InpUseEmaFilter
bool
true
Use EMA 200 Trend Filter
Show all 27 inputs
Name
Type
Default
Description
InpEmaPeriod
int
200
EMA Trend Filter Period
InpUseTimeFilter
bool
true
Use Time Session Filter
InpHourStart
int
8
Session Start Hour (Server Time, 8 = 13:00 BKK)
InpHourEnd
int
18
Session End Hour (Server Time, 18 = 23:00 BKK)
InpLookback
int
30
Lookback Window
InpBandwidth
double
8.0
Base Bandwidth (h)
InpAdaptive
bool
true
Adaptive Bandwidth (ATR-scaled)
InpAtrLen
int
14
ATR Length (adaptive)
InpSmooth
int
3
MA Output Smoothing
InpBandMult
double
1.0
Band Multiplier (sigma)
InpBandLen
int
24
Band Lookback (sigma)
InpBandSmooth
int
5
Band Smoothing
InpAlertLine
bool
true
Send LINE Alerts
InpLineAccessToken
string
Channel Access Token
InpLineTargetId
string
LINE Target ID (Group ID/User ID, optional)
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone soemsri/BotTrade 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.
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 is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato
This repository features a collection of MetaTrader 5 Expert Advisors developed for strategy and risk-management research. It includes a multi-pair mean reversion grid system, a gold breakout robot using previous day levels, and trend-following strategies based on moving averages. The EAs incorporate extensive risk con
XM Gold AI Trader is an automated expert advisor for MetaTrader 5 that leverages a Python-based backend powered by DeepSeek AI. The system processes market data using indicators such as RSI, MACD, and Bollinger Bands to generate signals, which are transmitted via WebSocket or TCP sockets. It includes robust risk contro
Xau Cloud AI Sniper is an automated trading robot for MetaTrader 5 designed for gold trading. It utilizes a multi-layered entry pipeline involving a pattern engine, breakout detection, and trend alignment, often synchronized with external cloud-based market outlooks. The system features an AI-filter mode to validate tr
This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri
This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an