ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 2/5

Mt5 Trading Assistant

Skill by canvascn00-crypto

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/canvascn00-crypto/mt5-trading-assistant
Or

What This Skill Does

The MT5 Trading Assistant is a robust automation framework designed for professional and algorithmic traders using the MetaTrader 5 platform. It bridges the gap between OpenClaw AI and the MT5 desktop environment, allowing users to execute complex trading operations, monitor account metrics, and retrieve market data via natural language commands. The skill supports market order execution, stop-loss and take-profit configuration, and granular position management, making it an essential tool for those looking to semi-automate their forex, crypto, or commodity trading strategies.

Installation

To begin, ensure you have the MT5 desktop client installed and authenticated. First, use the command 'clawhub install openclaw/skills/skills/canvascn00-crypto/mt5-trading-assistant' to download the codebase. Once installed, navigate to the directory and ensure the Python environment has the MetaTrader5 library by running 'pip install MetaTrader5'. Before running any scripts, you must open the configuration files in the 'scripts/' folder to input your specific MT5 credentials (login, password, and server). Ensure that 'AutoTrading' is enabled within your MetaTrader 5 platform settings to allow the API to communicate with your account.

Use Cases

  • Automated Execution: Rapidly place market buy or sell orders based on external signals without manual clicking.
  • Risk Management: Programmatically set strict stop-loss and take-profit levels for every order placed.
  • Account Auditing: Query real-time account equity, margin levels, and current open positions to maintain portfolio health.
  • Data Analysis: Extract historical K-line data for custom technical analysis and trend identification.

Example Prompts

  1. "Check my current MT5 account balance and tell me if I have any open positions on XAUUSD."
  2. "Execute a market buy order for 0.05 lots of EURUSD and set a take profit at 1.0850."
  3. "Close all currently open positions for GBPUSD to mitigate risk for the day."

Tips & Limitations

This skill requires the MT5 desktop application to be running at all times on the host machine. It is critical to note that the provided scripts contain placeholders for credentials; never commit or share files containing your real trading account password. Because this skill interacts with live financial markets, always test your logic using a demo account before moving to real capital. Limit automation frequency to avoid rate-limiting by your broker and always verify execution logs after significant automated trades.

Metadata

Stars4072
Views0
Updated2026-04-13
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-canvascn00-crypto-mt5-trading-assistant": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#trading#forex#mt5#automation#finance
Safety Score: 2/5

Flags: file-read, file-write, external-api, code-execution