Open Positions
Execute market trades (buy/sell) with immediate or pending orders
Position Management
Modify stops/profits, close positions (full or partial)
Order Management
Create, modify, and cancel pending limit/stop orders
Trading History
Query completed deals with profit/loss analysis
OHLC Data
Retrieve candlestick data (open, high, low, close, volume, spread, etc.)
Tick Data
Retrieve tick data (last, ask, bid, flags, etc.)
Symbol Information
Get symbol properties (digits, spreads, swaps, volumes)
Market Watch
Manage symbol selection and availability
Draw Objects
Create trend lines, rectangles, text labels, arrows
Object Properties
Modify colors, styles, prices, text
Chart Annotations
Add visual markers and indicators to charts
Chart Operations
Open, close, list active charts
Chart Properties
Read chart dimensions, colors, price ranges
Visual Updates
Force chart redraw for real-time updates
Compilation
Compile MQL5 source to EX5 bytecode
Backtesting
Run historical tests with multiple tick modeling
EA Execution
Run Expert Advisors in real-time
Logging
Retrieve EA logs for debugging and monitoring
Terminal and Account Info
Obtain terminal and account info (integer, string, double)