AI bot. Human discipline. Zero emotion.
MetaTrader 5 compatible Expert Advisor for XAUUSD and EURUSD. Built with trend filters, volatility guards, session gates, and strict risk protocols.
How the bot
thinks before it trades.
The FXH AI Bot is not a black box. It is a rule-based MetaTrader 5 Expert Advisor that evaluates multiple filters before every order. No martingale. No grid averaging. No emotional overrides.
function evaluateTrade() {
if (!trendAligned) return "Skip — trend mismatch";
if (volatility > maxThreshold) return "Skip — volatility spike";
if (!inSessionWindow) return "Skip — outside session";
if (spread > maxSpread) return "Skip — spread too wide";
if (riskPerTrade > 2%) return "Skip — risk gate blocked";
return "Execute — all filters passed";
}
Trend Filter
Multi-timeframe trend alignment check. The bot will not trade against the dominant directional bias.
Volatility Guard
ATR-based volatility check. High-volatility periods (news, gaps) trigger automatic trade suspension.
Session Gate
Configurable session windows (London, New York, Asian). Avoid low-liquidity periods automatically.
Risk Gate
Hard-coded maximum risk per trade, daily loss limit, and equity drawdown circuit breaker.
Built for
serious operators.
MetaTrader 5
Native MQL5 codebase. No third-party bridges. Direct broker integration via MT5 terminal.
XAUUSD & EURUSD
Optimized for gold and euro-dollar. Correlation awareness when running both pairs together.
VPS-Ready
Designed to run 24/5 on low-latency VPS. No local machine dependency. Sleep while it works.
Auto SL / TP
Every trade carries a stop-loss and take-profit. No naked positions. Ever.
Trade Journal
Automatic logging of every decision, filter result, and outcome. Reviewable CSV export.
Spread Check
Real-time spread monitoring. Trades are blocked if spread exceeds your defined threshold.
Demo first.
Always.
We do not recommend running any automated strategy on a live account without at least 30 days of demo verification. The FXH bot includes a demo-mode flag that logs every trade decision without sending orders to your broker.
No martingale promise. The bot does not double down on losers. It does not add to losing positions. It cuts losses and waits for the next valid setup.
No guaranteed profit. Markets change. Bots adapt to rules, not to unpredictable macro events. You must monitor, review journals, and intervene when market structure shifts.
[ ] Backtest on 12 months of data
[ ] Forward-test on demo for 30 days
[ ] Verify spread compatibility with broker
[ ] Confirm VPS latency < 50ms
[ ] Set max daily loss limit
[ ] Review journal weekly
[ ] Only then — deploy micro-live
// Risk is yours. Discipline is everything.