Skip to main content

Can I Share or Sell My EA? Ownership, IP & Account Number Lock

Learn who owns your EA, what EX5 and MQ5 files mean, how account number lock protects your bot, and how to safely share, sell, or use your EA with a prop firm account.

Summary

Yes. You own the trading strategy, project logic, and intellectual property you create in the Builder.

If you want to share, sell, or distribute an EA, the safest way is to share a protected .EX5 file with an encrypted trading account number.

This lets the receiver run the EA only on the MT5 account number you selected, while helping you keep control over your project logic.

Also known as: share my EA, sell my bot, protect my EA, account number lock, EX5 file, MQ5 file, prop firm EA, source-code access, trading bot IP.


Do I own the EA I build?

Yes. You own the strategy logic and intellectual property of the project you create.

That includes your:

  • Entry rules

  • Exit rules

  • Risk settings

  • Trade management logic

  • Variables, inputs, and formulas

  • Overall strategy structure

The Builder is the tool used to create the EA. It does not take ownership of your trading idea or strategy logic.


What is account number lock?

Account number lock lets you protect your EA from uncontrolled distribution.

You can encrypt a receiver’s MT5 trading account number into the exported .EX5 file.

This means the specific .EX5 file will only run on the MetaTrader 5 terminal that is logged into the matching trading account.

The account number check applies to:

  • Backtesting

  • Demo trading

  • Live trading

If the MT5 account number does not match the encrypted account number:

  • The EA is removed from the chart

  • The EA cannot run

  • The backtest stops immediately


Why should I protect my EA?

Use account number lock when you want to share, sell, or distribute an EA without losing control over where it can run.

This is useful if you want to:

  • Sell an EA to one specific user

  • Share an EA with a community member

  • Give an EA to a prop firm trader

  • Build a private EA store or marketplace

  • Protect your project from unwanted redistribution

If someone receives a locked .EX5, they can only run it on the trading account number you encrypted.


What file should I share?

Share the .EX5 file.

Do not share the .MQ5 file or project share link if your goal is to protect your IP.

.EX5

This is the compiled EA file.

Use this when you want someone to run the bot in MT5 without giving them access to the source logic.

Best for:

  • Selling an EA

  • Sharing with one user

  • Sharing with a prop firm account

  • Protecting your logic

.MQ5

This is the source-code file.

Do not share this unless you intentionally want the receiver to access and modify the source code.

Project share link

Do not use the project share link when sharing a protected EA.

The receiver could access your project logic through the share link. If your goal is IP protection, keep the Project Link field empty before exporting.


Can I share my EA with a prop firm account?

Yes, if the prop firm allows EAs.

Use the same protection process:

  1. Ask for the MT5 trading account number

  2. Add that account number in Project Properties

  3. Download the protected .EX5

  4. Share only the .EX5 file

Important: Prop firms have their own rules. Account number lock protects where the EA can run, but it does not guarantee that the prop firm allows your EA or strategy type.

Always check the prop firm’s EA rules before using or sharing a bot.


How to protect your EA

  1. Open the project you want to share, sell, or distribute.

  2. Go to Project Properties in the bottom-left of the Builder.

  3. Find the Trading account number field.

  4. Enter the receiver’s MT5 trading account number.

  5. Make sure the Project Link field is empty.

  6. Download the project.

  7. Share the downloaded .EX5 file with the receiver.

Do not use the link share option when protecting your EA.


What happens if the account number field is empty?

By default, the Trading account number field is empty.

If the field is empty, the EA can run on all trading accounts without account-number limits.

Use an empty field when you are exporting for yourself or do not need account-level protection.

Use a filled account number when you want one exported .EX5 file to work only on one specific account.


Can I lock one export to multiple accounts?

No. One export can only encrypt one trading account number.

If you need the EA to work on two different accounts, export two separate .EX5 files:

Export 1 → Account number A Export 2 → Account number B

Each file is locked to its own account number.


Best practice after exporting

After downloading a protected .EX5, clear the Trading account number field again.

This prevents you from accidentally exporting your next version with the wrong account number still filled in.

Simple workflow:

Add account number → Download .EX5 → Clear account number field → Continue working

Important boundaries

Account number lock protects the .EX5

The protection works when sharing the downloaded .EX5 file.

It does not protect the .MQ5

If you share the .MQ5, you are sharing the source code.

It does not protect a project share link

If you share the project link, the receiver may access your project logic.

It does not replace prop firm rules

A prop firm may still restrict EAs, copying, automation, or specific strategy types. Always check their rules.


Quick overview

Item

What it means

Share it if you want IP protection?

.EX5

Compiled EA file

Yes

Locked .EX5

Compiled EA locked to one MT5 account

Best option

.MQ5

Source-code file

No

Project share link

Access to project logic

No

Empty account number field

EA runs on all accounts

Only for unrestricted use

Filled account number field

EA runs only on that MT5 account

Yes, for protected sharing


Conclusion

You own the strategy logic and intellectual property you create.

If you want to share, sell, or distribute your EA safely, use account number lock and share only the protected .EX5 file.

Do not share the .MQ5 file or project share link unless you intentionally want the receiver to access your source logic.

Did this answer your question?