mt5-mcp-by-leo
JSON →Complete MCP server for MT5: Through the MCP protocol, it allows [Trades, Orders, History, Graphic Objects, Terminal Logs, Compilation, etc.]
Tools · 19
- Open Positions Execute market trades (buy/sell) with immediate or pending orders
- Position Management Modify stops/profits, close positions (full or partial)
- Order Management Create, modify, and cancel pending limit/stop orders
- Trading History Query completed deals with profit/loss analysis
- OHLC Data Retrieve candlestick data (open, high, low, close, volume, spread, etc.)
- Tick Data Retrieve tick data (last, ask, bid, flags, etc.)
- Symbol Information Get symbol properties (digits, spreads, swaps, volumes)
- Market Watch Manage symbol selection and availability
- Draw Objects Create trend lines, rectangles, text labels, arrows
- Object Properties Modify colors, styles, prices, text
- Chart Annotations Add visual markers and indicators to charts
- Chart Operations Open, close, list active charts
- Chart Properties Read chart dimensions, colors, price ranges
- Visual Updates Force chart redraw for real-time updates
- Compilation Compile MQL5 source to EX5 bytecode
- Backtesting Run historical tests with multiple tick modeling
- EA Execution Run Expert Advisors in real-time
- Logging Retrieve EA logs for debugging and monitoring
- Terminal and Account Info Obtain terminal and account info (integer, string, double)
Environment variables
YOUR_TBP_IDYOUR_MT5_ACCOUNT_LOGIN_ID
Links
★ 1 GitHub stars