# xm ai scalping bot

> AI-powered MetaTrader 5 scalping engine with ONNX neural inference and institutional drawdown protection.

xm ai scalping bot is a paid AI agent skill on Agensi by Abdulla Thaslim, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14.99 (one-time purchase)
- Creator: [Abdulla Thaslim](https://www.agensi.io/creators/mt-abdulla-it)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/xm-ai-scalping-bot
- Tags: trading, metatrader-5, python, onnx, algorithmic-trading

## About this skill

Trading in volatile markets often leads to emotional over-leveraging and blown accounts. This skill delivers an institutional-grade scalping engine that combines neural network inference with strict quantitative risk management.

### What it does
- **AI Signal Inference** evaluates market telemetry via an ONNX Random Forest classifier across nine dimensions like RSI Momentum and Velocity.
- **Drawdown Protection** enforces a hard-coded 3.0% daily circuit breaker and 4.0% relative drawdown cap.
- **Volatility Filtering** uses the Kaufman Efficiency Ratio and KAMA to isolate high-probability entries.
- **Multi-Asset Support** provides pre-calibrated profiles for Forex, Gold, Equity Indices, and Crypto.
- **Automated Execution** bridges Python intelligence with MetaTrader 5 via MQL5 Expert Advisor integration.

### How it works
1. **Signal Analysis** uses `predict_signal.py` to evaluate tick data or candle telemetry against the neural model.
2. **Configuration** involves selecting a risk preset from the `presets/` directory tailored to your account type.
3. **Deployment** requires compiling the `XM_AI_ScalpingBot.mq5` file within MetaTrader 5 and placing the `ai_brain.onnx` model in the Files folder.

### Frameworks & tools
Built for MetaTrader 5 (MQL5) and Python 3.8+. It utilizes `onnxruntime` for neural acceleration and `numpy` for quantitative calculations.

### Why this beats prompting it yourself
Generic LLM prompts cannot process live tick data at millisecond speeds or run ONNX models locally. This skill provides a compiled neural brain and native MQL5 execution code that an LLM alone cannot sustain in a live execution environment.

### Use cases
- **Prop Firm Evaluations** passing challenges on FTMO or FundedNext with built-in drawdown shields.
- **High-Frequency Scalping** executing automated M1 trades on EURUSD or XAUUSD.
- **Signal Validation** manually verifying trade setups using the Python CLI before entry.

### Known limitations
Requires an active MetaTrader 5 terminal for automated execution. Neural model retraining is not included in this package.

## Requires

- Python

## Known limitations

Requires MetaTrader 5 for live execution. Neural model is pre-trained (ONNX) and requires external retraining tools if modification is desired. Windows or Wine/Docker environment needed for MT5.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the xm ai scalping bot skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does the AI specifically improve scalping compared to traditional technical indicators?

The bot uses an ONNX-based Random Forest classifier to analyze nine market dimensions simultaneously, filtering out noise and emotional bias that often lead to account liquidation in manual scalping.

### What exactly is included in the download package?

The purchase includes the MQL5 Expert Advisor source code, the pre-trained 'ai_brain.onnx' neural model, a Python integration script, and a library of risk-calibrated presets for various asset classes.

### Can I use this bot for Prop Firm challenges?

Yes, it features institutional-grade risk management including a 3.0% daily circuit breaker and a 4.0% relative drawdown cap, making it ideal for passing strict prop firm evaluations like FTMO.

### What software and technical environment are required to run this skill?

You will need a MetaTrader 5 terminal, Python 3.8 or higher, and the 'onnxruntime' library to facilitate communication between the neural model and your trading account.

### Can I customize the risk levels or is the AI model fixed?

While the core neural model is pre-calibrated for stability, you can customize your strategy by selecting different risk presets and adjusting the Kaufman Efficiency Ratio settings within the MQ5 file.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
