Trading Terminal Assistant for MetaTrader 5. Use when the user wants to check trading account, view market prices, get candles, place buy/sell orders, manage positions, handle pending orders, view history, close positions, or any MT5 trading operation. Trigger on mentions of trading, forex, stocks, MT5, positions…
Query the MT5 API for account info, terminal status, health checks, symbol data, market data (OHLCV rates, ticks, market depth), open positions, pending orders, trade history, and reconnecting the MT5 terminal with new credentials. Use when the user wants to interact with any mt5api endpoint.
Use when working with MQL4, MQL5, MetaTrader 4/5, Expert Advisors (EAs), custom indicators, or scripts. Covers OrderSend, iMACD, iRSI, CopyBuffer, trade operations, indicator buffers, and MQL4-to-MQL5 migration. Triggers on any .mq4/.mq5/.mqh file or MetaEditor compilation.