AI-Powered Expert Advisor (AI EA) for MetaTrader 5 (MT5)
ARIA now trades on its own, and you can test it.
Version 6 adds the Core Engines: rule-based breakout engines for gold that place and manage every trade with their own stop-loss and take-profit. They run the same way in live trading and in the MetaTrader 5 Strategy Tester, so you can backtest ARIA on your own broker's data and see exactly how it trades before you run it live.
The AI did not go away. It moved to the job it is really good at: reading the session, watching the calendar and telling you, in plain language, what just happened and what to watch next. And it runs on free API keys.
CORE ENGINES: NEW IN THIS AI EA FOR MT5
- Session breakout engines for the Asian range and the New York open, on by default
- Four more engines included and switchable: London open, M5 momentum, M1 impulse and M30 volume surge
- Every trade has a real stop-loss and take-profit. No grid, no martingale, no averaging
- Breakeven plus progressive profit lock: once a trade is ahead, the stop follows the move and keeps part of the gain
- Range filter: the session is skipped when the range is too wide or too narrow to break out cleanly
- Volatility filter: the engines only arm when gold is really moving (ATR M15 of at least 4 USD by default)
- Broker GMT offset detected automatically, London and New York daylight saving included
- Built for XAUUSD (gold). In live trading the engines stay off on other symbols
- Pending orders expire on their own, one side cancels the other, and the day's state survives a terminal restart
THE AI LAYER, NOW FREE TO RUN
- A short note when a trade opens and when it closes: what happened, where the stop and the target are, and what is coming on the calendar
- One market briefing per day: session structure, volatility and scheduled news
- Works with free API keys: Groq, Cerebras, Google Gemini free tier and the free models on OpenRouter
- Calls are queued, spaced and capped per day, so a free key is enough and your terminal never waits on the network
- The AI never decides a trade. The engine does, and the AI explains it
FULL TRANSPARENCY
- ARIA tells you why it is not trading at every decision point: waiting for its session, range out of bounds, low volatility, news window, cooldown, spread, daily limit, prop firm rule or broker rejection
- The panel shows the engines, today's result, the running total and the last AI note
- Reloading the EA in the middle of a session no longer repeats a trade that was already taken
- News shield on the MetaTrader calendar: NFP, CPI and FOMC windows
FIXED IN 6.00
- The risk-reward ratio is enforced in code: 1:2 means 1:2
- Percentage trailing stop works again
- Stop-loss and take-profit respect the broker's minimum distance, so no more rejected orders
- Updated model names for the Groq, Cerebras and Gemini free tiers
- AI answers decoded as UTF-8, no more garbled characters
- A failed AI request waits for the next scheduled query instead of retrying in a loop
SEE IT WORK IN THE STRATEGY TESTER
- Open the Strategy Tester in MetaTrader 5 and pick ARIA CONNECTOR EA
- Choose XAUUSD, M5, "Every tick based on real ticks" and the last 12 months
- Press Start and read the report
No API key is needed for this: the engines do not call any AI in the tester. The key is only for the notes and the daily briefing in live trading, and a free one is enough.
QUICK START (LIVE)
- Attach ARIA to an XAUUSD M5 chart. The default inputs already have the engines on
- Start with a small lot (0.01) or on a demo account
- Optional: get a free API key at console.groq.com, paste it in MQL5/Files/keys.txt as groq:YOUR_KEY and allow https://api.groq.com in Tools > Options > Expert Advisors > WebRequest
- Enable Algo Trading
REQUIREMENTS
- MetaTrader 5
- A VPS or a computer that stays on, so the engines cover every session
- An API key only if you want the AI notes (free options available)
WHAT YOU GET
- ARIA CONNECTOR EA 6.00 (.ex5 file for MetaTrader 5)
- ARIA CONNECTOR EA 6.00 User Guide (PDF)
- Installation Guide with every version 5 feature (PDF)
ALREADY OWN ARIA?
The update to 6.00 is free. Log in, go to My Account > Downloads and download ARIA again. The Core Engines are on by default. If you prefer to trade the way version 5 did, set "Core Engines ON" to false and "AI Auto Trading Mode" to true. Questions? Write to us in the chat on this site.
EVERYTHING FROM VERSION 5 IS STILL HERE
All the version 5 tools are still inside ARIA 6. The AI trading modes below work when you switch on AI Auto Trading Mode. With the Core Engines on, the AI explains the trades instead of deciding them.
12 AI PROVIDERS, 75+ MODELS
Global Providers:
- OpenRouter (5 independent slots, 24+ free models, 75+ paid models)
- OpenAI (GPT-4 Turbo, GPT-5 series)
- Claude by Anthropic (Sonnet 4, advanced reasoning)
- Google Gemini (Gemini 2.5 Pro)
- Meta Llama (405B, 70B models)
- DeepSeek (V3, R1, excellent quality, very low cost)
- Mistral AI (Large 2.1, fast and efficient)
- Grok by xAI (real-time X/Twitter sentiment)
China-Accessible Providers (no VPN required):
- Qwen by Alibaba (Max, Plus, Turbo, Long)
- Zhipu GLM (GLM-4-Plus, GLM-4-Flash is FREE)
- Moonshot / Kimi (8K, 32K, 128K context windows)
- Baichuan (Baichuan 4, specialized in Chinese language)
You can start with free models and then upgrade anytime. For example, OpenRouter gives you access to 24+ free AI models with a one-time $10 deposit. Moreover, Zhipu GLM-4-Flash is completely free with no deposit at all.

MULTI-AI VOTING SYSTEM
- Why rely on one AI when you can consult several? ARIA's Multi-AI Consultation system queries multiple AIs simultaneously and combines their analysis using one of three decision modes:
- Majority: more than half must agree
- Custom Majority: exactly N AIs must agree
- Unanimous: all must agree, otherwise no trade
Example: run 3 different free OpenRouter models, and only trade when at least 2 out of 3 agree. As a result, you get diversified AI analysis at zero cost.
4 TRADING MODES IN THIS AI EA FOR MT5
- Time-Based: queries the AI at regular intervals (configurable)
- Breakout: only queries when a price range breakout is detected
- Trend Follow: only queries when indicators confirm a trend
- Pullback: only queries when price retraces within a confirmed trend
COMPREHENSIVE RISK MANAGEMENT
- Risk Sentinel: a 4-level circuit breaker system that monitors your account in real time:
- GREEN: normal trading
- YELLOW: warning alert
- ORANGE: lot size automatically reduced by 50%
- RED: all trading halted immediately
It also includes max positions per symbol, currency exposure control, trailing drawdown (FTMO-style), equity curve trading, daily/weekly loss limits, and max open risk percentage.
PROP FIRM READY AI EA FOR MT5
- Built-in Prop Firm Protection module with pre-configured rules for FTMO, MyForexFunds, The Funded Trader, and others:
- Maximum daily loss % (default 5% for FTMO)
- Maximum total drawdown % (default 10%)
- Close before weekend option
- Hedging blocker
- Minimum trading days tracking
- Consistency rule (max single trade % of total profit)
- Maximum trades per day
SELF-LEARNING & OPTIMIZATION
Trade Memory System: First, it records every trade result per symbol and timeframe. Then it automatically blocks underperforming hours and directions, reduces lot size after consecutive losses, and builds a performance database over time.
Learning System: Adaptive SL/TP that adjusts based on historical volatility. It analyzes 500 bars of ATR data to create dynamic stop levels, so they are tighter in calm markets and wider in volatile ones.
Session Optimizer: Grades each trading hour and session (Asian, London, New York, Overlap) from A to F based on your actual results. Then it automatically reduces lot on D-grade hours and blocks F-grade hours.
Config Auto-Optimizer: Analyzes 18 aspects of your trading history and then suggests (or auto-applies) parameter improvements. It also includes automatic rollback if changes worsen performance. Finally, choose from 4 trader profiles: Balanced, Aggressive, Conservative, or Prop Firm.

BUILT-IN STRATEGY TESTER
- Instead of the AI, indicator-based scoring runs your strategies on historical data:
- Walk-Forward Analysis (70/30 in-sample/out-of-sample split)
- Monte Carlo Simulation (1000 iterations, P95/P99 drawdown)
- Prop Firm Compliance Check
- Advanced metrics: Sharpe, Sortino, Calmar ratio, recovery factor
- CSV report export for Excel analysis

TELEGRAM BOT INTEGRATION
Also, monitor and control ARIA from your phone:
- Real-time notifications: trade opened, trade closed, risk alerts
- Daily summary report (P/L, win rate, trade count)
- Remote commands: /status, /positions, /risk, /pause, /resume, /report
- 4 notification levels: All, Trades Only, Alerts Only, Critical Only
- Full security: the bot accepts commands only when they come from your Chat ID
SMART TRADE MANAGEMENT IN THE AI EA FOR MT5
- 5 SL/TP modes: AI Recommendation, Fixed Pips, Swing ATR, Learning System, Disabled
- Risk-Reward Ratio override (force 1:2, 1:3, etc. on AI recommendations)
- 3 lot modes: Fixed, Percentage of balance, Dynamic (exact % risk per trade)
- Trailing Stop: Classic pips or Percentage-based
- Breakeven: auto-move SL to entry after X points profit
- Hidden Virtual SL/TP: invisible to the broker, because the EA manages it internally
- Cooldown System: configurable wait time between trades
- TP-to-Breakeven: moves TP to entry if trade goes against you
- Overtrade Protection: min time and min pip distance between entries

ADVANCED FILTERS
- Economic News Filter: auto-pause around high-impact events (NFP, FOMC, CPI)
- Fractal Multi-Timeframe Filter: only trade when M5/M15/M30/H1/H4/D1 agree
- Support/Resistance Filter: blocks trades near unconfirmed S/R zones
- Spread Filter: blocks entries when spread exceeds your threshold
- Sideways Market Filter: ADX-based detection of ranging conditions
- Volatility Classification: LOW/NORMAL/HIGH sent to AI as context
- Trading Hours Control: per-day schedule with overnight window support
13 TECHNICAL INDICATORS FOR THE AI EA ON MT5
All of them feed the AI, so it makes smarter decisions:
- Basic: RSI, ATR, MA 200, MA 50, MACD, Stochastic, Bollinger Bands, Fibonacci, Support/Resistance
- Advanced V5: Ichimoku Cloud, CCI, Heiken Ashi, EMA Slope
Optionally, you can also send up to 200 bars of OHLCV candle history for deep pattern analysis.

ADDITIONAL FEATURES
- Custom Prompt: write your own AI instructions in a text file
- 6 Response Languages: English, Spanish, French, Italian, Portuguese, German
- Per-day Trading Hours with overnight support
- Magic Numbers for manual vs. automatic trade separation
- Professional dark blue chart theme (fully customizable)
- Automatic API key backup system
- Multi-chart support (different magic numbers per instance)
- The AI trading mode works on any symbol and any timeframe (M1 to MN1). The Core Engines are built for gold







Version 5 feature reference: https://binaryforexea.com/ariaconnector.html
The 6.00 User Guide comes with the download.
Looking for other trading robots? Then browse all our Expert Advisors. Also, to learn how the models behind ARIA work, read about large language models.
Trading leveraged products carries a high level of risk to your capital. Past results do not guarantee future results. You trade at your own risk.













Binary Forex EA