Expert Advisorv1.03 · MT5 build 2361+

QuantraEA installation guide

Install the Quantra Portal EA on your MetaTrader 5 terminal to transmit live account data to your portal dashboard. Setup takes under 10 minutes.

Setup time~10 min
PlatformMT5 only
Data interval1–60 min
Offline queue50 payloads

Installation steps

Download QuantraEA.mq5 — the MQL5 source file for the Quantra Portal Expert Advisor. You will compile it in MetaEditor to produce the .ex5 binary.

Download QuantraEA.mq5
Requires MetaTrader 5 build 2361 or later. MT4 is not supported.

Frequently asked questions

API key management

How API keys work

Every Quantra Trading member account is permanently linked to a unique EA API key. This key authenticates your Expert Advisor to the platform and is tied to your email address and MT5 account number — you never need to memorise or manually enter it.

For members

1

Key assigned at onboarding

Your account manager generates and links your API key to your email address and MT5 account number before you receive the EA.

2

Automatic injection after login

When you log into your member portal, your API key is automatically retrieved and injected into all EA and MT5 data requests — no copy-paste required.

3

View your key in the portal

Navigate to the Overview tab in your portal to see your key status and linked account number. Go to the EA Setup tab to copy the key for your EA configuration.

4

Key status alerts

If your key is revoked or expired, the portal will display a clear alert. Contact your account manager to have a new key issued.

For administrators

1

Assign a key

In the Admin dashboard → Linked keys tab, click "Assign key". Enter the member's email address and their MT5 account number. Leave the key field blank to auto-generate a cryptographically secure key, or paste an existing key to link it.

2

One active key per account

Each member can have only one active key at a time. Assigning a new key automatically revokes the previous one. The old key is immediately invalidated — the EA will stop authenticating until reconfigured with the new key.

3

Edit account number or expiry

Click the edit icon on any active key to update the linked MT5 account number or set an expiry date. Changes take effect immediately on the next portal login.

4

Revoke a key

Click the revoke icon and optionally enter a reason. The key is immediately invalidated. The member's portal will show a "Key revoked" alert. Issue a new key via the Assign flow.

5

Security

Keys are encrypted at rest using AES-256-GCM. Only the masked version is shown in the list view. Use the reveal button (eye icon) to display the full key for distribution — this action is logged in the audit trail.

Error reference

no_key_assigned

No API key has been linked to your account yet. Contact your account manager.

key_revoked

Your API key has been revoked. Contact your account manager to issue a new one.

key_expired

Your API key has passed its expiry date. Contact your account manager to renew it.

duplicate_key

Admin: this key is already assigned to another account. Each key can only be linked to one account at a time.

key_too_short

Admin: the provided key must be at least 16 characters long.

user_not_found

Admin: no account exists with the provided email address.

Need help with installation?

Our team responds within 24 hours on business days. Include your MT5 terminal build number and the error from the Experts log.

Quantra Trading

Institutional-grade algorithmic trading for metals, indices, and crypto. Precision execution. Transparent profit sharing.

Systems Operational

Risk Disclosure: Trading in financial instruments including metals, indices, and cryptocurrencies involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. The value of investments can go down as well as up. You should carefully consider your investment objectives, level of experience, and risk appetite before subscribing. Quantra Trading provides automated execution services only and does not constitute financial advice. Please ensure you fully understand the risks involved before using our services.

© 2026 Quantra Trading. All rights reserved.

South Africa · Automated Trading Solutions