Skip to content

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 like ENUM_ORDER_TYPE_TF

📚 Main Sections

Account


Market Info


Order Operations ⚠️


Streaming


  • 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.