/ DOCUMENTATION

Integration guide

Protect your Expert Advisors in minutes. Add your EA in the dashboard, configure licensing rules, and integrate our library — full documentation is available after you sign up.

Overview

MQLShield protects your MetaTrader Expert Advisors with remote licence verification. When your EA starts, it securely checks the user's licence against our verification nodes — no valid licence, no execution. The entire process takes milliseconds and is completely transparent to your end users.

01
Add your EA
Register your Expert Advisor in the dashboard and configure its licensing rules.
02
Integrate the library
Drop our lightweight library into your EA — just a few lines of code. Full integration guide provided after signup.
03
Issue licences
Create and manage licences from the dashboard or automate via our REST API.

Quick setup

Getting started takes under 5 minutes:

1
Create an account — sign up for free with a 14-day trial, no card required.
2
Add your EA — register your Expert Advisor in the dashboard with platform, version and licensing rules.
3
Download the library — get the MQLShield library file from your dashboard and place it in your MQL Libraries folder.
4
Add verification — follow the step-by-step integration guide in your dashboard to add licence checking to your EA.
5
Allow WebRequest — enable WebRequest to our verification server in MetaTrader's Expert Advisors settings.
📋 Full integration guide with code examples is available inside your dashboard after you sign up. We provide ready-to-use code snippets for MT4 and MT5.

Protection options

Configure how your licences are enforced — all controlled from the dashboard or via API:

Account lockBind the licence to the first trading account it activates on.
Broker lockRestrict the licence to a specific broker server.
Demo controlAllow or block demo accounts per licence.
HeartbeatPeriodic re-verification while the EA is running.
Grace periodAllow offline operation for a set duration before blocking.
Remote kill switchInstantly revoke any licence from the dashboard.

REST API

Automate licence management from your own store, website or backend. Our REST API lets you create, update, revoke and query licences programmatically. Authenticate with your secret API key from the dashboard.

Create
Issue new licences with product, account and expiry settings.
Query
List and filter licences by product, status or customer.
Revoke
Instantly disable any licence remotely via a single call.
🔑 API reference with endpoints, authentication and examples is available in your dashboard after signup. Pro and Enterprise plans include full API access.

Webhooks

Get real-time notifications when licence events happen. Configure webhook URLs in the dashboard to receive instant callbacks for:

Activation Expiry Revocation Verification failure

Use webhooks to sync with your payment system, send notifications to customers, or trigger custom workflows.

Need help?

Dashboard guide
Complete integration docs, code examples and API reference available after you sign up.
Contact support
Have questions? Reach out — we typically respond within a few hours.