MT 5
MetaTrader 5 MQL Connector The MetaTrader 5 MQL connector links StockSharp to a MetaTrader 5 terminal through the packaged MQL expert and local native/FIX bridge. It normalizes terminal market data, a...
Install-Package StockSharp.MT5 -Version 5.0.165
MetaTrader 5 MQL Connector
The MetaTrader 5 MQL connector links StockSharp to a MetaTrader 5 terminal through the packaged MQL expert and local native/FIX bridge. It normalizes terminal market data, account state, and trading commands.
Key capabilities
- Symbol discovery and detailed contract properties from the connected terminal.
- Real-time Level 1 quotes, tick trades, market depth, and time-frame candles.
- Historical tick and candle requests supported by MetaTrader 5.
- Account, balance, margin, position, order, and deal updates.
- Market, limit, stop, and stop-limit order submission with cancellation and terminal-supported protective parameters.
- Separate local market-data and transaction sessions between StockSharp and the terminal bridge.
Typical use
Use this connector for live FX/CFD strategies, MQL-based MetaTrader 5 integration, terminal automation, charting, and account monitoring.
Available symbols, history, market depth, order types, and trading permissions depend on the MetaTrader 5 terminal, broker, account mode, and connected account.