SDK quick start
Get the MQL5 SDK, then clone, compile, and run your first EA or indicator in minutes.
Prerequisites
Before you start, ensure you have:
For local testing, generate a new test license from your Vendor Portal and use its API key with the staging API. Do not use production licenses for development.
For Expert Advisors you also need a magic number (customer-provided). Indicators use the one-argument constructor only and do not use a magic number.
Get the code
Clone the sample library with submodules so the SDK is included. Place the contents in your MetaTrader 5 data folder (or map it as an active project).
The sample EA is in Experts/sample/, and the sample Indicator is in Indicators/sample-in/. The SDK lives in Include/themarketrobo/ (lowercase folder name).
Run your EA or Indicator
Add the API base URLs to MetaTrader's allowed list — add both https://api.themarketrobo.com and https://api.staging.themarketrobo.com. Go to Tools → Options → Expert Advisors → Allow WebRequest for listed URL.
For local testing, use an API key from a test license generated in your Vendor Portal; use the staging API URL above. Compile the sample EA or Indicator in MetaEditor (F7). Attach to a chart, enter your API key (and magic number for EA), and click OK. Check the Experts tab for "SDK session started successfully!"
For a full walkthrough from zero to submission, use the step-by-step guides below.
Next steps
Choose your product type and follow the complete guide:
Both guides cover prerequisites, project setup, implementation, UUID reservation, testing, and submission on the platform.