Getting Started with MetaTrader 4 in Go¶
Welcome to the MetaRPC MT4 Go Documentation — your guide to integrating with MetaTrader 4 using Go and gRPC.
This documentation will help you:
- 📘 Explore all available account, market, and trading methods
- 💡 Learn from Go usage examples with context and timeout handling
- 🔁 Work with real-time streaming for quotes, orders, and trades
- ⚙️ Understand all input/output types such as
OrderInfo,QuoteData, and enums likeENUM_ORDER_TYPE_TF
📚 Main Sections¶
Account¶
Market Info¶
- Section overview: Market_Info_Overview
- Show Quote
- Show Quotes Many
- Show Quote History
- Show Symbol Params
- Show Symbols
- Show All Symbols
- Show Tick Values
Order Operations ⚠️¶
- Section overview: Order_Operations_Overview
- Show Opened Orders
- Show Opened Order Tickets
- Show Orders History
- Show Order Close Example
- Show Order Close By Example
- Show Order Delete Example
- Show Order Modify Example
Streaming¶
- Section overview: Streaming_Overview
- Stream Opened Order Profits
- Stream Opened Order Tickets
- Stream Quotes
- Stream Trade Updates
- Stream Orders History (Example)
- Stream Quote History (Example)
🧭 Navigation¶
- Sections above link directly to the markdown files in your repo.
- Methods are organized to mirror the MT4 API structure.
- Each Overview file contains explanations, best practices, and usage guidance.