Skip to content
All library documents

Connecting MetaTrader Trading Robots to QUIK for Russian Stocks

Article MQL5 articles

Summary

The article explains how to connect a MetaTrader-based trading robot to the QUIK terminal, which Russian brokers use to send orders. The external program writes transaction records to a structured request file; QUIK processes them and records outcomes in a response file. Unique transaction identifiers help track orders and prevent previously processed requests from being resent. The article describes common order fields, including instrument, action, direction, quantity, price, and stop settings.

It compares MetaStock, TradeStation, Wealth-Lab, and MetaTrader as environments for developing strategies, arguing that MetaTrader offers accessible MQL4 programming and stable operation while relying on an external market data source. Example routines show how an EA can write deal, stop, and cancellation requests, including handling multiple client accounts. These examples explain order integration rather than a trading strategy. The author says price differences between data sources are small for strategies that do not depend on very short-term moves, but warns that missing or delayed data can occur, especially around holidays. The claims about platform stability and data quality are personal assessments, not comparative test results.

Key ideas

  • QUIK can process orders generated by an external program through structured request and response files.
  • Unique transaction identifiers let the external program match order outcomes and avoid duplicate processing.
  • Order records carry fields for instrument, action, side, quantity, price, and optional stop-order details.
  • MetaTrader can supply the robot logic while a separate data source provides market prices.
  • The described setup is an integration pattern, not a strategy or performance evaluation.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.