License Security

Account Binding

Restrict EA or indicator execution to specific MetaTrader account numbers—ideal for paid distribution and trial access.

What this feature does

Account Binding embeds a check against AccountNumber() so the program only runs on whitelisted trading accounts. Add one or many account numbers before processing.

Source output lets you review injected code; Compiled output delivers ready-to-run binaries for clients.

Account Binding tool with account chips

1 Enter client account numbers and click +

2 Upload .mq4 or .mq5 file to bind

3 Account Bind — Source or Compiled

Step-by-step usage

  1. Open /pages/code-enhancements/add-account-binding.
  2. Enter each client account number and click + to add chips.
  3. Upload .mq4 or .mq5 source file.
  4. Set output filename.
  5. Click Account Bind - Source or Account Bind - Compiled.
  6. Send output to client; it will not run on unlisted accounts.
  • Tip: Collect account numbers from client MT4/MT5: Tools → Options → Server tab shows login.
  • Tip: Re-bind when clients change brokers if account numbers change.
  • Tip: Stack with Expiry Date for time- and account-limited licenses.